diff options
author | karl-qdh <karl@qdh.org.uk> | 2011-03-23 12:03:21 +0000 |
---|---|---|
committer | karl-qdh <karl@qdh.org.uk> | 2011-03-23 12:03:21 +0000 |
commit | 890d5bb440d7a5f73b4f9e6af62102a4844dcfda (patch) | |
tree | 2505668648260355923b017ab2766f925e6d0eda /src | |
parent | ff7b647f722a837545c605c196eb3c26e42fd405 (diff) | |
download | ayatana-indicator-datetime-890d5bb440d7a5f73b4f9e6af62102a4844dcfda.tar.gz ayatana-indicator-datetime-890d5bb440d7a5f73b4f9e6af62102a4844dcfda.tar.bz2 ayatana-indicator-datetime-890d5bb440d7a5f73b4f9e6af62102a4844dcfda.zip |
String change and small behaviour change mpt tagged "sniffles"
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-service.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index eacce36..65df77e 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -371,11 +371,15 @@ check_for_calendar (gpointer user_data) dbusmenu_menuitem_property_set_bool(calendar, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); dbusmenu_menuitem_property_set_bool(calendar, DBUSMENU_MENUITEM_PROP_VISIBLE, TRUE); + dbusmenu_menuitem_property_set_bool(date, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); + g_signal_connect (G_OBJECT(date), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, + G_CALLBACK (activate_cb), "evolution -c calendar"); + events_separator = dbusmenu_menuitem_new(); dbusmenu_menuitem_property_set(events_separator, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); dbusmenu_menuitem_child_add_position(root, events_separator, 2); add_appointment = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set (add_appointment, DBUSMENU_MENUITEM_PROP_LABEL, _("Add Appointment")); + dbusmenu_menuitem_property_set (add_appointment, DBUSMENU_MENUITEM_PROP_LABEL, _("Add Event...")); dbusmenu_menuitem_property_set_bool(add_appointment, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); g_signal_connect(G_OBJECT(add_appointment), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_cb), "evolution -c calendar"); dbusmenu_menuitem_child_add_position (root, add_appointment, 3); |