summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-07-12 19:06:13 -0400
committerJason Woodward2019-07-12 19:06:13 -0400
commit96e5a4a08ee116667209ebc8277d2f38f75351ec (patch)
tree5eb9082f0bc3ea2a96f69ea0c2941968cea1b566
parent4d3b1e6b58febe76701902ec2d48ae0bfbfa8d09 (diff)
downloadgslapt-96e5a4a08ee116667209ebc8277d2f38f75351ec.tar.gz
set icon legend window as transient for the main window
-rw-r--r--src/callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index a3d5ad1..c9c4c10 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -2845,6 +2845,7 @@ void open_icon_legend(GObject *object, gpointer *user_data)
gslapt_load_ui(builder, "icon_legend.ui");
icon_legend = GTK_WIDGET(gtk_builder_get_object(builder, "icon_legend"));
gtk_builder_connect_signals(builder, NULL);
+ gtk_window_set_transient_for(GTK_WINDOW(icon_legend), GTK_WINDOW(gslapt));
g_object_unref(G_OBJECT(builder));
gtk_widget_show_all(icon_legend);