]> git.0d.be Git - empathy.git/commitdiff
irc-network-chooser-dialog: Attach dialog to parent window
authorMichael Wood <michael.g.wood@intel.com>
Thu, 1 Nov 2012 17:13:12 +0000 (17:13 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 2 Nov 2012 09:29:26 +0000 (10:29 +0100)
This avoid losing the window and the window order.

https://bugzilla.gnome.org/show_bug.cgi?id=687361

libempathy-gtk/empathy-irc-network-chooser-dialog.c

index 755eb584e1701b8e84312985b34840207d00ea9c..6a1de710841fcb804e1bbdf238ea1db19c2e3526 100644 (file)
@@ -303,7 +303,7 @@ display_irc_network_dialog (EmpathyIrcNetworkChooserDialog *self,
 {
   GtkWidget *dialog;
 
-  dialog = empathy_irc_network_dialog_show (network, NULL);
+  dialog = empathy_irc_network_dialog_show (network, GTK_WIDGET (self));
 
   g_signal_connect (dialog, "destroy",
       G_CALLBACK (irc_network_dialog_destroy_cb), self);