empathy r1622 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:47:21 2008
New Revision: 1622
URL: http://svn.gnome.org/viewvc/empathy?rev=1622&view=rev

Log:
Make the parent of the import dialog be the parent of the warning message dialog. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/src/empathy-import-dialog.c

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:47:21 2008
@@ -529,9 +529,9 @@
     {
       GtkWidget *message;
 
-      message = gtk_message_dialog_new (NULL,
-          GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING,
-          GTK_BUTTONS_CLOSE,
+      message = gtk_message_dialog_new (
+          gtk_window_get_transient_for (GTK_WINDOW (dialog->window)),
+          GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE,
           _("No accounts to import could be found. Empathy currently only "
             "supports importing accounts from Pidgin."));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]