aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-03-07 03:44:13 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-03-07 03:44:13 +0800
commit8f3ca8febccc664e78252608ac3492525e59cc4e (patch)
tree67d46c3565d73b162adbe82f7f983a0bc2187194 /shell/e-shell.c
parent12cf52d717e51baa9c2ab5b376233e188bfb1ed3 (diff)
downloadgsoc2013-evolution-8f3ca8febccc664e78252608ac3492525e59cc4e.tar.gz
gsoc2013-evolution-8f3ca8febccc664e78252608ac3492525e59cc4e.tar.zst
gsoc2013-evolution-8f3ca8febccc664e78252608ac3492525e59cc4e.zip
(impl_Shell_selectUserFolder): At least for now,
disable the nasty XWMHints trick to fool WMs; it is not needed now that everything is in-proc. svn path=/trunk/; revision=20211
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index a542dda597..0535821d4d 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -560,6 +560,7 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
g_signal_connect (folder_selection_dialog, "cancelled",
G_CALLBACK (folder_selection_dialog_cancelled_cb), shell);
+#if NASTY_HACK_FOR_OUT_OF_PROC_COMPONENTS
if (parent_xid == 0) {
gtk_widget_show (folder_selection_dialog);
} else {
@@ -570,8 +571,6 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
the foreign parent window's. This way smartass window
managers like Sawfish don't get confused. */
- /* e_set_dialog_parent_from_xid (GTK_WINDOW (folder_selection_dialog), parent_xid); */
-
if (XGetClassHint (GDK_DISPLAY (), (Window) parent_xid, &class_hints)) {
gtk_window_set_wmclass (GTK_WINDOW (folder_selection_dialog),
class_hints.res_name, class_hints.res_class);
@@ -597,6 +596,9 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
XFree (parent_wm_hints);
}
}
+#else
+ gtk_widget_show (folder_selection_dialog);
+#endif
}
static GNOME_Evolution_Storage