/pidgin/main: ae59d7295d76: Another incorrectly initialized menu...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Tue Aug 6 08:55:32 EDT 2013


Changeset: ae59d7295d765a25aa03e4125dbbb47eeda71252
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-08-06 14:55 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/ae59d7295d76

Description:

Another incorrectly initialized menu translation

diffstat:

 pidgin/gtkconv.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (24 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -3592,6 +3592,9 @@ setup_menubar(PidginWindow *win)
 	GtkWidget *menuitem;
 
 	action_group = gtk_action_group_new("ConversationActions");
+#ifdef ENABLE_NLS
+	gtk_action_group_set_translation_domain(action_group, PACKAGE);
+#endif
 	gtk_action_group_add_actions(action_group,
 	                             menu_entries,
 	                             G_N_ELEMENTS(menu_entries),
@@ -3600,10 +3603,6 @@ setup_menubar(PidginWindow *win)
 	                                    menu_toggle_entries,
 	                                    G_N_ELEMENTS(menu_toggle_entries),
 	                                    win);
-#ifdef ENABLE_NLS
-	gtk_action_group_set_translation_domain(action_group,
-	                                        PACKAGE);
-#endif
 
 	win->menu.ui = gtk_ui_manager_new();
 	gtk_ui_manager_insert_action_group(win->menu.ui, action_group, 0);



More information about the Commits mailing list