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-view.c | 5 ++++- shell/e-shell-window-actions.c | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 6135b58848..d029627153 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -594,8 +594,11 @@ shell_view_toggled (EShellView *shell_view) id = shell_view_class->ui_manager_id; if (view_is_active && priv->merge_id == 0) { + gboolean express = e_shell_get_express_mode ( + e_shell_backend_get_shell ( + e_shell_view_get_shell_backend (shell_view))); priv->merge_id = e_load_ui_manager_definition ( - ui_manager, basename); + ui_manager, basename, express); e_plugin_ui_enable_manager (ui_manager, id); } else if (!view_is_active && priv->merge_id != 0) { 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 ptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/horde4-nag
Commit message (Expand)AuthorAgeFilesLines
* Don't let RUN_DEPENDS rely on a fixed HORDEDIR.thierry2005-01-161-1/+1
* Upgrade to 2.0.thierry2004-12-267-195/+163
* Upgrading to Nag 1.1.1.thierry2004-03-173-14/+38
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* De-pkg-comment.knu2003-02-212-1/+1
* upgrade to 1.1ijliao2003-01-04