aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-23 10:00:52 -0500
committerTed Gould <ted@gould.cx>2011-03-23 10:00:52 -0500
commit181fedbc5742d65db8ff4e07bdacad43acf5a307 (patch)
treee99afeb0bd90b8b2e92aa71e46108064e6126e59 /src/datetime-service.c
parent967343713769d56efbf8c85948a479c6126def58 (diff)
parent74fe3165a907c7e7948c7a2066188eda2f234b59 (diff)
downloadayatana-indicator-datetime-181fedbc5742d65db8ff4e07bdacad43acf5a307.tar.gz
ayatana-indicator-datetime-181fedbc5742d65db8ff4e07bdacad43acf5a307.tar.bz2
ayatana-indicator-datetime-181fedbc5742d65db8ff4e07bdacad43acf5a307.zip
Strings and sniffle fixes for the best Canonical designer from New Zealand!
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c6
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);