aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 20:31:02 -0500
committerTed Gould <ted@canonical.com>2009-08-26 20:31:02 -0500
commit442d69cb4a309e47bb37b857b28a3ea3b9f75331 (patch)
tree15f5f15a4b5ffc4d880b783372720fd15520f01b /src/app-menu-item.c
parente97420bc82738e5444053505166b137c8bba0274 (diff)
parentd08632f2c21df15c8edf292910d63f144bb4a7a3 (diff)
downloadayatana-indicator-messages-442d69cb4a309e47bb37b857b28a3ea3b9f75331.tar.gz
ayatana-indicator-messages-442d69cb4a309e47bb37b857b28a3ea3b9f75331.tar.bz2
ayatana-indicator-messages-442d69cb4a309e47bb37b857b28a3ea3b9f75331.zip
Merging in changes that are made possible via an update
to the dbusmenu libraries.
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c4
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;