diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-03-03 18:36:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-14 09:53:16 +0800 |
commit | 19eea41c74154855cb68ee3a1fb41e2ec136b764 (patch) | |
tree | 4c638c63b1bdca7a2352795c1da0e30fc5b14e7e /shell/e-shell-view.c | |
parent | 3d95369f38b22dea1fc22bb3f2cf306ae82aed9d (diff) | |
download | gsoc2013-evolution-19eea41c74154855cb68ee3a1fb41e2ec136b764.tar.gz gsoc2013-evolution-19eea41c74154855cb68ee3a1fb41e2ec136b764.tar.zst gsoc2013-evolution-19eea41c74154855cb68ee3a1fb41e2ec136b764.zip |
clean up the 'express' mode hooks for UI Managers and start to
extend them to plugins - use a simple one-off boolean on the UI Manager
instead of exhaustively trying to propagate this information everywhere.
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index d029627153..b23966b627 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -594,11 +594,7 @@ 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, express); + priv->merge_id = e_load_ui_manager_definition (ui_manager, basename); e_plugin_ui_enable_manager (ui_manager, id); } else if (!view_is_active && priv->merge_id != 0) { |