diff options
Diffstat (limited to 'libempathy-gtk/gossip-preferences.c')
-rw-r--r-- | libempathy-gtk/gossip-preferences.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-preferences.c b/libempathy-gtk/gossip-preferences.c index 52c4a804c..fd93353df 100644 --- a/libempathy-gtk/gossip-preferences.c +++ b/libempathy-gtk/gossip-preferences.c @@ -914,7 +914,7 @@ preferences_destroy_cb (GtkWidget *widget, } GtkWidget * -gossip_preferences_show (void) +gossip_preferences_show (GtkWindow *parent) { static GossipPreferences *preferences; GladeXML *glade; @@ -973,6 +973,11 @@ gossip_preferences_show (void) gtk_widget_show (page); } + if (parent) { + gtk_window_set_transient_for (GTK_WINDOW (preferences->dialog), + GTK_WINDOW (parent)); + } + gtk_widget_show (preferences->dialog); return preferences->dialog; |