From cb0ed210287eb3f4b81376a0cbe72661af0f7756 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 18 Oct 2001 19:58:22 +0000 Subject: 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 --- mail/ChangeLog | 6 ++++++ mail/mail-account-gui.c | 4 +++- mail/mail-callbacks.c | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'mail') 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 + + * 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 * 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; -- cgit v1.2.3