aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-10-17 20:47:21 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-17 20:47:21 +0800
commit1dd22bde4598101ebac5c1fdefed743ff60d709d (patch)
tree05694dea0414053d6e3dee347afe49e0cb5a6664
parentbf0899bad1d4573ecc5ee3c95d32049ff88cef0d (diff)
downloadgsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar.gz
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar.bz2
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar.lz
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar.xz
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.tar.zst
gsoc2013-empathy-1dd22bde4598101ebac5c1fdefed743ff60d709d.zip
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> svn path=/trunk/; revision=1622
-rw-r--r--src/empathy-import-dialog.c6
1 files changed, 3 insertions, 3 deletions
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."));