aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-08-09 20:05:51 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-09 20:05:51 +0800
commited9c8cc740baed6a67c9a8e5953bb062862c845b (patch)
tree854acca168db2681a6b35e976a2e7b5b8e39ffb0 /shell/e-shell-window-actions.c
parent2351455697b4b31d41e9d2fa6fe86e3c1cb864fb (diff)
downloadgsoc2013-evolution-ed9c8cc740baed6a67c9a8e5953bb062862c845b.tar.gz
gsoc2013-evolution-ed9c8cc740baed6a67c9a8e5953bb062862c845b.tar.zst
gsoc2013-evolution-ed9c8cc740baed6a67c9a8e5953bb062862c845b.zip
Treat the Preferences window as a singleton.
Kill a bunch of Bonobo crud, which breaks compilation again. svn path=/branches/kill-bonobo/; revision=35947
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index e11563fa10..13c2d42506 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -720,7 +720,12 @@ static void
action_preferences_cb (GtkAction *action,
EShellWindow *window)
{
- e_shell_show_preferences (GTK_WINDOW (window));
+ GtkWidget *preferences_window;
+
+ preferences_window = e_shell_get_preferences_window ();
+ gtk_window_present (GTK_WINDOW (preferences_window));
+
+ /* FIXME Switch to a page appropriate for the current view. */
}
static void