aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-19 03:58:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-19 03:58:22 +0800
commitcb0ed210287eb3f4b81376a0cbe72661af0f7756 (patch)
tree8395f720e891b6aba6669a4f23e5aa4c8511eeb6 /mail
parent02f36a07f6fb2f6fe341d9f8817628c629871635 (diff)
downloadgsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.gz
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.bz2
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.lz
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.xz
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.zst
gsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.zip
Fix the WM problems related to the folder selection dialog being
out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-account-gui.c4
-rw-r--r--mail/mail-callbacks.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index abbeb326df..53accab1ae 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-17 Ettore Perazzoli <ettore@ximian.com>
+
+ * mail-account-gui.c (folder_picker_clicked): Pass the toplevel to
+ `evolution_shell_client_user_select_folder()'.
+ * mail-callbacks.c (transfer_msg): Likewise.
+
2001-10-18 <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): call setup_send_data *after*
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 30a7ec1ea5..78339bad69 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -819,7 +819,9 @@ folder_picker_clicked (GtkButton *button, gpointer user_data)
physical_uri = evolution_uri = NULL;
evolution_shell_client_user_select_folder (
- global_shell_client, _("Select Folder"), folder->uri,
+ global_shell_client,
+ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (button))),
+ _("Select Folder"), folder->uri,
allowed_types, &evolution_uri, &physical_uri);
if (!physical_uri || !*physical_uri) {
g_free (physical_uri);
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 2a4c9d227c..ff14c1b16a 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1242,7 +1242,9 @@ transfer_msg (GtkWidget *widget, gpointer user_data, gboolean delete_from_source
else
desc = _("Copy message(s) to");
- evolution_shell_client_user_select_folder (global_shell_client, desc, last,
+ evolution_shell_client_user_select_folder (global_shell_client,
+ GTK_WINDOW (gtk_widget_get_toplevel (widget)),
+ desc, last,
allowed_types, &uri, &physical);
if (!uri)
return;