aboutsummaryrefslogtreecommitdiff
path: root/src/idocalendarmenuitem.h
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-03-06 13:01:20 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-03-06 13:01:20 +0000
commit368393bf30ff81a02a800441ddef5640c4b0d207 (patch)
tree100573a5ba9b34eb3d0b6a0c28802ab36354a5c3 /src/idocalendarmenuitem.h
parentacbbf01f8ad7b09e618227449a041cc4d0b9e267 (diff)
downloadayatana-ido-368393bf30ff81a02a800441ddef5640c4b0d207.tar.gz
ayatana-ido-368393bf30ff81a02a800441ddef5640c4b0d207.tar.bz2
ayatana-ido-368393bf30ff81a02a800441ddef5640c4b0d207.zip
Added new API to the calendar menu item so we can change the selected day/date.
Also added new signals for selecting days and selecting with double click. In indicator-datetime these signals will be connected to either launching evolution (double), or invoking a re-building of the appointments menu (single) from the selected day forward. In this case we should also set the date of the calendar to today by default when opening the menu.
Diffstat (limited to 'src/idocalendarmenuitem.h')
-rw-r--r--src/idocalendarmenuitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/idocalendarmenuitem.h b/src/idocalendarmenuitem.h
index cecab16..00bb7d5 100644
--- a/src/idocalendarmenuitem.h
+++ b/src/idocalendarmenuitem.h
@@ -65,6 +65,10 @@ void ido_calendar_menu_item_get_date (IdoCalendarMenuItem *menu
guint *year,
guint *month,
guint *day);
+gboolean ido_calendar_menu_item_set_date (IdoCalendarMenuItem *menuitem,
+ guint year,
+ guint month,
+ guint day);
G_END_DECLS
#endif /* __IDO_CALENDAR_MENU_ITEM_H__ */