diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-04 03:24:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-04 03:24:59 +0800 |
commit | 253e90b8de63d9c064a0df05cf0e2e153f913474 (patch) | |
tree | ba6608ca96849f8f0801e4e81f7ed2aef06d391d /calendar/gui/e-calendar-table.c | |
parent | 086a96050b16f6dabd99a391b5a4faf0411963a1 (diff) | |
download | gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.gz gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.bz2 gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.lz gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.xz gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.zst gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.zip |
Tasks is working. Still need to deal with some loose ends and test it all.
svn path=/branches/kill-bonobo/; revision=36551
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r-- | calendar/gui/e-calendar-table.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c index 40cce5f5ec..eaf020bb27 100644 --- a/calendar/gui/e-calendar-table.c +++ b/calendar/gui/e-calendar-table.c @@ -533,6 +533,17 @@ calendar_table_class_init (ECalendarTableClass *class) object_class->get_property = calendar_table_get_property; object_class->dispose = calendar_table_dispose; + g_object_class_install_property ( + object_class, + PROP_SHELL_VIEW, + g_param_spec_object ( + "shell-view", + _("Shell View"), + NULL, + E_TYPE_SHELL_VIEW, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY)); + signals[OPEN_COMPONENT] = g_signal_new ( "open-component", G_TYPE_FROM_CLASS (class), @@ -917,11 +928,12 @@ get_selected_row_cb (int model_row, gpointer data) *row = model_row; } -/* Returns the component that is selected in the table; only works if there is +/* + * Returns the component that is selected in the table; only works if there is * one and only one selected row. */ -ECalModelComponent * -e_calendar_table_get_selected_comp (ECalendarTable *cal_table) +static ECalModelComponent * +get_selected_comp (ECalendarTable *cal_table) { ETable *etable; int row; @@ -1051,7 +1063,7 @@ e_calendar_table_delete_selected (ECalendarTable *cal_table) return; if (n_selected == 1) - comp_data = e_calendar_table_get_selected_comp (cal_table); + comp_data = get_selected_comp (cal_table); else comp_data = NULL; |