From 19eea41c74154855cb68ee3a1fb41e2ec136b764 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 3 Mar 2010 10:36:43 +0000 Subject: 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. --- modules/mail/e-mail-shell-view.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index d922689b56..c72a366159 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -177,11 +177,7 @@ mail_shell_view_toggled (EShellView *shell_view) basename = E_MAIL_READER_UI_DEFINITION; 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_mail_reader_create_charset_menu ( E_MAIL_READER (priv->mail_shell_content), ui_manager, priv->merge_id); -- cgit v1.2.3