aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-04-08 04:20:00 +0800
committerDan Winship <danw@src.gnome.org>2003-04-08 04:20:00 +0800
commit320484b37fb316e369b66d3bf11484854d8911ca (patch)
tree95e0ffbfea497e8ef9ef24c54160445850dcaa37 /shell/e-shell.c
parent42d845bd31c3cfb824d417baccb37ba0db0118b3 (diff)
downloadgsoc2013-evolution-320484b37fb316e369b66d3bf11484854d8911ca.tar.gz
gsoc2013-evolution-320484b37fb316e369b66d3bf11484854d8911ca.tar.zst
gsoc2013-evolution-320484b37fb316e369b66d3bf11484854d8911ca.zip
Desensitize the window's top-level container rather than desensitizing the
* evolution-folder-selector-button.c (clicked): Desensitize the window's top-level container rather than desensitizing the window itself, which causes strange problems [#40854]. Also fix up the code that tries to watch for the parent window being destroyed. * e-shell.c (impl_Shell_selectUserFolder): Use e_dialog_set_transient_for_xid. * e-shell-folder-selection-dialog.c (impl_response): Treat GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL. (e_shell_folder_selection_dialog_construct): No need to catch "delete_event" signal. svn path=/trunk/; revision=20729
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 826178413f..f8b1f2df89 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -550,6 +550,9 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
g_signal_connect (folder_selection_dialog, "cancelled",
G_CALLBACK (folder_selection_dialog_cancelled_cb), shell);
+ if (parent_xid)
+ e_dialog_set_transient_for_xid (GTK_WINDOW (folder_selection_dialog), parent_xid);
+
#if NASTY_HACK_FOR_OUT_OF_PROC_COMPONENTS
if (parent_xid == 0) {
gtk_widget_show (folder_selection_dialog);