aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-18 12:08:47 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-18 12:08:47 +0800
commit48988a8a72a5869621e628a03011879508a8432b (patch)
treeadbf33e097109cf2a008d6892dd4859dcda196e9 /calendar/gui/e-calendar-table.c
parent835302d0021f020cb9776a417b3e5e49a676e4c2 (diff)
downloadgsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar.gz
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar.bz2
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar.lz
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar.xz
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.tar.zst
gsoc2013-evolution-48988a8a72a5869621e628a03011879508a8432b.zip
dont access a NULL client.
2004-10-14 Not Zed <NotZed@Ximian.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): dont access a NULL client. * gui/gnome-cal.c (gnome_calendar_get_taskpad_menu) (gnome_calendar_get_calendar_menu): accessors to get the menu managers. (gnome_calendar_init): setup menu managers. 2004-10-13 Not Zed <NotZed@Ximian.com> * gui/calendar-commands.c (calendar_control_activate) (calendar_control_deactivate): activate and deactivate the calendar and taskpad menu handlers. (sensitize_items): helper to sensitise items based on target masks. (calendar_control_sensitize_calendar_commands): update the calendar menu manager target appropriately. (sensitize_taskpad_commands): same for the taskpad. * gui/e-cal-menu.[ch]: Targets for main menu management. * gui/e-cal-popup.c (e_cal_popup_target_new_select): fix cast. Also include the tasks stuff in the hook metadata. svn path=/trunk/; revision=27607
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 6f84233ccd..e995481a8b 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -746,6 +746,21 @@ e_calendar_table_delete_selected (ECalendarTable *cal_table)
}
/**
+ * e_calendar_table_get_selected:
+ * @cal_table:
+ *
+ * Get the currently selected ECalModelComponent's on the table.
+ *
+ * Return value: A GSList of the components, which should be
+ * g_slist_free'd when finished with.
+ **/
+GSList *
+e_calendar_table_get_selected (ECalendarTable *cal_table)
+{
+ return get_selected_objects(cal_table);
+}
+
+/**
* e_calendar_table_cut_clipboard:
* @cal_table: A calendar table.
*