Ted Gould has proposed merging lp:~ted/indicator-messages/bug540148 into 
lp:indicator-messages.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  #540148 Translations for shortcuts are only loaded when starting the 
application
  https://bugs.launchpad.net/bugs/540148


Fix it so that the default name gets translated.
-- 
https://code.launchpad.net/~ted/indicator-messages/bug540148/+merge/21583
Your team ayatana-commits is subscribed to branch lp:indicator-messages.
=== modified file 'src/launcher-menu-item.c'
--- src/launcher-menu-item.c	2010-03-04 20:36:31 +0000
+++ src/launcher-menu-item.c	2010-03-17 18:40:36 +0000
@@ -167,7 +167,7 @@
 	if (default_name == NULL) {
 		dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_LABEL, launcher_menu_item_get_name(self));
 	} else {
-		dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_LABEL, default_name);
+		dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_LABEL, _(default_name));
 	}
 
 	gchar * iconstr;

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to