aboutsummaryrefslogtreecommitdiffstats
path: root/filter
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 /filter
parent02f36a07f6fb2f6fe341d9f8817628c629871635 (diff)
downloadgsoc2013-evolution-cb0ed210287eb3f4b81376a0cbe72661af0f7756.tar.gz
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 'filter')
-rw-r--r--filter/ChangeLog6
-rw-r--r--filter/filter-folder.c1
-rw-r--r--filter/vfolder-rule.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index faf77c3f95..63685b71cb 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-17 Ettore Perazzoli <ettore@ximian.com>
+
+ * filter-folder.c (button_clicked): Pass the toplevel to
+ `evolution_shell_client_user_select_folder()'.
+ * vfolder-rule.c (source_add): Likewise.
+
2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
* filter-folder.c (button_clicked): Kludge to raise the filter
diff --git a/filter/filter-folder.c b/filter/filter-folder.c
index 1d231e7bdf..2bcf6e58cd 100644
--- a/filter/filter-folder.c
+++ b/filter/filter-folder.c
@@ -229,6 +229,7 @@ button_clicked (GtkButton *button, FilterFolder *ff)
def = ff->uri ? ff->uri : "";
evolution_shell_client_user_select_folder (global_shell_client,
+ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (button))),
_("Select Folder"),
def, allowed_types,
&evolution_uri,
diff --git a/filter/vfolder-rule.c b/filter/vfolder-rule.c
index b3b1f3f082..5108f83809 100644
--- a/filter/vfolder-rule.c
+++ b/filter/vfolder-rule.c
@@ -353,6 +353,7 @@ source_add(GtkWidget *widget, struct _source_data *data)
def = "";
evolution_shell_client_user_select_folder (global_shell_client,
+ GTK_WINDOW (gtk_widget_get_toplevel (widget)),
_("Select Folder"),
def, allowed_types, NULL, &uri);