diff options
author | Ted Gould <ted@canonical.com> | 2009-08-26 21:09:43 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-26 21:09:43 -0500 |
commit | 43fffd847c98dcd789cf3c823028ee2d66db98d7 (patch) | |
tree | 44cffcfbc66db1b6690e00643c05255e1be5c656 /src/app-menu-item.c | |
parent | 21caab3ed3cbb70ec0f2929dd69d9f348162e975 (diff) | |
parent | db3b38d030508339bd9ce3f45dd84808b6f24257 (diff) | |
download | ayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.tar.gz ayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.tar.bz2 ayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.zip |
Merging in the menu update branch.
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r-- | src/app-menu-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index 3a2c795..feb780d 100644 --- a/src/app-menu-item.c +++ b/src/app-menu-item.c @@ -218,10 +218,10 @@ update_label (AppMenuItem * self) /* TRANSLATORS: This is the name of the program and the number of indicators. So it would read something like "Mail Client (5)" */ gchar * label = g_strdup_printf(_("%s (%d)"), app_menu_item_get_name(self), priv->unreadcount); - dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), "label", label); + dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_LABEL, label); g_free(label); } else { - dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), "label", app_menu_item_get_name(self)); + dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_LABEL, app_menu_item_get_name(self)); } return; |