diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-02-25 01:41:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-14 09:49:49 +0800 |
commit | 304777ae4cd03026fcee98c0863e9e43f483c97a (patch) | |
tree | eff5e49cd55840db565e11c80d9e8deecfa5bf91 /modules | |
parent | 2166e7f4c73e8cc1f9b7f00027eec9de05961ee2 (diff) | |
download | gsoc2013-evolution-304777ae4cd03026fcee98c0863e9e43f483c97a.tar.gz gsoc2013-evolution-304777ae4cd03026fcee98c0863e9e43f483c97a.tar.zst gsoc2013-evolution-304777ae4cd03026fcee98c0863e9e43f483c97a.zip |
Add generic 'express mode' conditionals to the UI XML
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index b85d146828..d922689b56 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -177,8 +177,11 @@ 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); + ui_manager, basename, express); e_mail_reader_create_charset_menu ( E_MAIL_READER (priv->mail_shell_content), ui_manager, priv->merge_id); |