aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index f739ca6660..285bb5db1f 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -253,8 +253,8 @@ mail_shell_view_toggled (EShellView *shell_view)
if (view_is_active && priv->merge_id == 0) {
EMailView *mail_view;
- priv->merge_id = e_ui_manager_add_ui_from_file (
- E_UI_MANAGER (ui_manager), basename);
+ priv->merge_id = e_load_ui_manager_definition (
+ ui_manager, basename);
mail_view = e_mail_shell_content_get_mail_view (
priv->mail_shell_content);
e_mail_reader_create_charset_menu (