[evolution-mapi] Bug #667185 - Menu items from plugins not translated



commit 306ca7eb6f07e48c00d62d551831e5cd588fee9e
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jan 4 17:24:57 2012 +0100

    Bug #667185 - Menu items from plugins not translated

 .../e-mapi-account-settings.c                      |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/account-setup-eplugin/e-mapi-account-settings.c b/src/account-setup-eplugin/e-mapi-account-settings.c
index 0d0b662..ae55590 100644
--- a/src/account-setup-eplugin/e-mapi-account-settings.c
+++ b/src/account-setup-eplugin/e-mapi-account-settings.c
@@ -398,9 +398,8 @@ e_plugin_ui_init (GtkUIManager *ui_manager,
 	action_group = e_shell_window_get_action_group (shell_window, "mail");
 
 	/* Add actions to the "mail" action group. */
-	gtk_action_group_add_actions (action_group, folder_size_entries,
-				      G_N_ELEMENTS (folder_size_entries),
-				      shell_view);
+	e_action_group_add_actions_localized (action_group, GETTEXT_PACKAGE,
+		folder_size_entries, G_N_ELEMENTS (folder_size_entries), shell_view);
 
 	/* Decide whether we want this option to be visible or not */
 	g_signal_connect (shell_view, "update-actions",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]