aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorDavid Barth <david.barth@canonical.com>2010-07-22 21:13:36 +0200
committerDavid Barth <david.barth@canonical.com>2010-07-22 21:13:36 +0200
commitf1e5569348a935def97ed99708864aa6b8096d5e (patch)
tree799424c032ffaca279f163e4bd431a9e726a8c6b /src/datetime-service.c
parent497a7116e0c02f8073a2e975a03d27cb713299aa (diff)
downloadayatana-indicator-datetime-f1e5569348a935def97ed99708864aa6b8096d5e.tar.gz
ayatana-indicator-datetime-f1e5569348a935def97ed99708864aa6b8096d5e.tar.bz2
ayatana-indicator-datetime-f1e5569348a935def97ed99708864aa6b8096d5e.zip
add a calendar widget to the menu
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 2137065..5c7b76f 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -141,7 +141,8 @@ build_menus (DbusmenuMenuitem * root)
if (calendar == NULL) {
calendar = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set (calendar, DBUSMENU_MENUITEM_PROP_LABEL, _("Open Calendar"));
+ /* dbusmenu_menuitem_property_set (calendar, DBUSMENU_MENUITEM_PROP_LABEL, _("Open Calendar")); */
+ dbusmenu_menuitem_property_set (calendar, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CALENDAR_MENUITEM_TYPE);
/* insensitive until we check for available apps */
dbusmenu_menuitem_property_set_bool(calendar, DBUSMENU_MENUITEM_PROP_ENABLED, FALSE);
g_signal_connect (G_OBJECT(calendar), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,