diff options
author | karl-qdh <karl@qdh.org.uk> | 2011-03-23 10:24:35 +0000 |
---|---|---|
committer | karl-qdh <karl@qdh.org.uk> | 2011-03-23 10:24:35 +0000 |
commit | f436da0a3f8cf7a01ccb0ae062d53e5be6cd5ff8 (patch) | |
tree | 848c498952acf6ac82f5d160c06ceb3c01109017 /src/indicator-datetime.c | |
parent | f46b11e29842f87f5cc3bef8c6dfb8abe090e99f (diff) | |
download | ayatana-indicator-datetime-f436da0a3f8cf7a01ccb0ae062d53e5be6cd5ff8.tar.gz ayatana-indicator-datetime-f436da0a3f8cf7a01ccb0ae062d53e5be6cd5ff8.tar.bz2 ayatana-indicator-datetime-f436da0a3f8cf7a01ccb0ae062d53e5be6cd5ff8.zip |
changes for bug #649800 - requires dbusmenu to be released
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r-- | src/indicator-datetime.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index 1cdcd3f..fb77974 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -1149,13 +1149,17 @@ indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant *value, } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_MARK)) { ido_calendar_menu_item_mark_day (IDO_CALENDAR_MENU_ITEM (mi_data), g_variant_get_int16(value)); + g_debug("Marked day: %d", g_variant_get_int16(value)); } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_UNMARK)) { ido_calendar_menu_item_unmark_day (IDO_CALENDAR_MENU_ITEM (mi_data), g_variant_get_int16(value)); + g_debug("Unmarked day: %d", g_variant_get_int16(value)); } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_CLEAR_MARKS)) { + g_debug("Cleared Marks"); ido_calendar_menu_item_clear_marks (IDO_CALENDAR_MENU_ITEM (mi_data)); } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_SET_DATE)) { gsize size = 3; const gint * array = g_variant_get_fixed_array(value, &size, sizeof(gint)); + g_debug("Setting date y-m-d: %d-%d-%d", array[0], array[1], array[2]); ido_calendar_menu_item_set_date (IDO_CALENDAR_MENU_ITEM (mi_data), array[0], array[1], array[2]); } else { g_warning("Indicator Item property '%s' unknown", prop); |