aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 4200f2421b..1fa9b9c0b2 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -589,6 +589,16 @@ e_calendar_table_get_table (ECalendarTable *cal_table)
return e_table_scrolled_get_table (E_TABLE_SCROLLED (cal_table->etable));
}
+void
+e_calendar_table_open_selected (ECalendarTable *cal_table)
+{
+ ECalModelComponent *comp_data;
+
+ comp_data = get_selected_comp (cal_table);
+ if (comp_data != NULL)
+ open_task (cal_table, comp_data, FALSE);
+}
+
/**
* e_calendar_table_complete_selected:
* @cal_table: A calendar table