aboutsummaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/datetime-service.c6
-rw-r--r--src/utils.c6
2 files changed, 8 insertions, 4 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);
diff --git a/src/utils.c b/src/utils.c
index 7471926..537495b 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -181,9 +181,9 @@ generate_format_string_full (gboolean show_day, gboolean show_date)
g_return_val_if_fail(date_string != NULL, g_strdup(time_string));
/* TRANSLATORS: This is a format string passed to strftime to combine the
- date and the time. The value of "%s, %s" would result in a string like
- this in US English 12-hour time: 'Fri Jul 16, 11:50 AM' */
- return g_strdup_printf(T_("%s, %s"), date_string, time_string);
+ date and the time. The value of "%s %s" would result in a string like
+ this in US English 12-hour time: 'Fri Jul 16 11:50 AM' */
+ return g_strdup_printf(T_("%s %s"), date_string, time_string);
}
gchar *