From 1dd22bde4598101ebac5c1fdefed743ff60d709d Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 17 Oct 2008 12:47:21 +0000 Subject: Make the parent of the import dialog be the parent of the warning message dialog. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1622 --- src/empathy-import-dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c index bbf097d18..c0d92f708 100644 --- a/src/empathy-import-dialog.c +++ b/src/empathy-import-dialog.c @@ -529,9 +529,9 @@ import_dialog_add_accounts_to_model (EmpathyImportDialog *dialog) { 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.")); -- cgit v1.2.3