diff options
Diffstat (limited to 'libempathy-gtk/gossip-accounts-dialog.c')
-rw-r--r-- | libempathy-gtk/gossip-accounts-dialog.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-accounts-dialog.c b/libempathy-gtk/gossip-accounts-dialog.c index 6d7934544..2a3a92764 100644 --- a/libempathy-gtk/gossip-accounts-dialog.c +++ b/libempathy-gtk/gossip-accounts-dialog.c @@ -944,7 +944,7 @@ accounts_dialog_destroy_cb (GtkWidget *widget, } GtkWidget * -gossip_accounts_dialog_show (void) +gossip_accounts_dialog_show (GtkWindow *parent) { static GossipAccountsDialog *dialog = NULL; GladeXML *glade; @@ -1026,6 +1026,11 @@ gossip_accounts_dialog_show (void) accounts_dialog_setup (dialog); accounts_dialog_model_select_first (dialog); + if (parent) { + gtk_window_set_transient_for (GTK_WINDOW (dialog->window), + GTK_WINDOW (parent)); + } + gtk_widget_show (dialog->window); return dialog->window; |