aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-27 10:10:18 -0500
committerTed Gould <ted@canonical.com>2009-08-27 10:10:18 -0500
commit3f3da424ad9598486672ac43a531bd7565d765a8 (patch)
tree84cfbeb206edaf98c56e90f27eb9931e5a7fd1ee /src/app-menu-item.c
parentec04bfc2ba1caed976374344ae7bf7fb71cad38c (diff)
parent86cab293762c8b864a58f3e297c057cc05794daf (diff)
downloadayatana-indicator-messages-3f3da424ad9598486672ac43a531bd7565d765a8.tar.gz
ayatana-indicator-messages-3f3da424ad9598486672ac43a531bd7565d765a8.tar.bz2
ayatana-indicator-messages-3f3da424ad9598486672ac43a531bd7565d765a8.zip
Merging in a branch that updates to the new dbusmenu but also uses it to add a custom launcher item.
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;