From 304777ae4cd03026fcee98c0863e9e43f483c97a Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 24 Feb 2010 17:41:10 +0000 Subject: Add generic 'express mode' conditionals to the UI XML --- shell/e-shell-window-actions.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-window-actions.c') diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index d751251eb3..b29a96e49b 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -1867,13 +1867,16 @@ e_shell_window_actions_init (EShellWindow *shell_window) GtkActionGroup *action_group; EFocusTracker *focus_tracker; GtkUIManager *ui_manager; + gboolean express; gchar *path; - + g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); + express = e_shell_get_express_mode ( + e_shell_window_get_shell (shell_window)); ui_manager = e_shell_window_get_ui_manager (shell_window); - e_load_ui_manager_definition (ui_manager, "evolution-shell.ui"); + e_load_ui_manager_definition (ui_manager, "evolution-shell.ui", express); /* Shell Actions */ action_group = ACTION_GROUP (SHELL); -- cgit v1.2.3