/pidgin/main: 53068c688cfa: Correctly initialize translations fo...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Tue Aug 6 05:44:58 EDT 2013


Changeset: 53068c688cfaa43a90d363aeb181bb1a169a74e0
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-08-06 11:44 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/53068c688cfa

Description:

Correctly initialize translations for windows menus

diffstat:

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

diffs (24 lines):

diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -5978,6 +5978,9 @@ static void pidgin_blist_show(PurpleBudd
 
 	/******************************* Menu bar *************************************/
 	action_group = gtk_action_group_new("BListActions");
+#ifdef ENABLE_NLS
+	gtk_action_group_set_translation_domain(action_group, PACKAGE);
+#endif
 	gtk_action_group_add_actions(action_group,
 	                             blist_menu_entries,
 	                             G_N_ELEMENTS(blist_menu_entries),
@@ -5986,10 +5989,6 @@ static void pidgin_blist_show(PurpleBudd
 	                                    blist_menu_toggle_entries,
 	                                    G_N_ELEMENTS(blist_menu_toggle_entries),
 	                                    GTK_WINDOW(gtkblist->window));
-#ifdef ENABLE_NLS
-	gtk_action_group_set_translation_domain(action_group,
-	                                        PACKAGE);
-#endif
 
 	gtkblist->ui = gtk_ui_manager_new();
 	gtk_ui_manager_insert_action_group(gtkblist->ui, action_group, 0);



More information about the Commits mailing list