From 368393bf30ff81a02a800441ddef5640c4b0d207 Mon Sep 17 00:00:00 2001 From: karl-qdh Date: Sun, 6 Mar 2011 13:01:20 +0000 Subject: 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. --- src/idocalendarmenuitem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/idocalendarmenuitem.h') 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__ */ -- cgit v1.2.3