aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-list-view.etspec
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-10-10 13:29:36 +0800
committerHans Petter <hansp@src.gnome.org>2003-10-10 13:29:36 +0800
commit907f7999167285dcb8bb680d93da09eab94d794c (patch)
tree2ba2d97798520128ffb1f264e6a28351de9a867f /calendar/gui/e-cal-list-view.etspec
parent6cccb0c60fca242f9c34f161abede3515986e23e (diff)
downloadgsoc2013-evolution-907f7999167285dcb8bb680d93da09eab94d794c.tar.gz
gsoc2013-evolution-907f7999167285dcb8bb680d93da09eab94d794c.tar.zst
gsoc2013-evolution-907f7999167285dcb8bb680d93da09eab94d794c.zip
Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add
2003-10-10 Hans Petter Jansson <hpj@ximian.com> * calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch]. * calendar/gui/calendar-commands.c (show_list_view_clicked): Implement. (calendar_get_text_for_folder_bar_label): Add case for list view. Use month case and tweak it so it doesn't show "%d - %d" if the time span contains only one day. (verbs): Add list view. (pixmaps): Add list view. * calendar/gui/calendar-view-factory.c (calendar_view_factory_get_title): Add list view case. (calendar_view_factory_get_type_code): Add list view case. * calendar/gui/control-factory.c (get_prop): Add list view case. * calendar/gui/e-cal-model.c (get_classification): Fix to conform to updated libical. (ecm_set_value_at): Add missing break statements. (ecm_get_color_for_component): Add braces for clarity. * calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add list view case. (get_focus_location): Add list view case. (connect_list_view_focus): Implement. (setup_widgets): Set up list view. (gnome_calendar_direction): Add list view case. (set_view): Add list view case. (gnome_calendar_setup_view_menus): Add list view factory. (gnome_calendar_construct): Account for list view. (gnome_calendar_update_config_settings): Account for list view. (get_days_shown): Implement list view case. * calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view. * calendar/gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing ECalView. * ui/evolution-calendar.xml: Add calendar list view task button. * art/listview.xpm: Add calendar list view icon. svn path=/trunk/; revision=22850
Diffstat (limited to 'calendar/gui/e-cal-list-view.etspec')
-rw-r--r--calendar/gui/e-cal-list-view.etspec17
1 files changed, 17 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-list-view.etspec b/calendar/gui/e-cal-list-view.etspec
new file mode 100644
index 0000000000..e5a2cc0b6d
--- /dev/null
+++ b/calendar/gui/e-cal-list-view.etspec
@@ -0,0 +1,17 @@
+<ETableSpecification draw-grid="false" alternating-row-colors="true">
+ <ETableColumn model_col="0" _title="Categories" expansion="1.0" minimum_width="10" resizable="true" cell="calstring" compare="string"/>
+ <ETableColumn model_col="1" _title="Classification" expansion="1.0" minimum_width="10" resizable="true" cell="classification" compare="string" priority="-1"/>
+ <ETableColumn model_col="2" _title="color" cell="calcolor" priority="-4"/>
+ <ETableColumn model_col="3" _title="component" cell="calcomp" priority="-4"/>
+ <ETableColumn model_col="4" _title="Description" expansion="2.0" minimum_width="10" resizable="true" cell="calstring" compare="string" priority="-1"/>
+ <ETableColumn model_col="5" _title="Start Date" expansion="2.0" minimum_width="10" resizable="true" cell="dateedit" compare="date-compare" priority="-2"/>
+ <ETableColumn model_col="8" _title="Summary" expansion="3.0" minimum_width="10" resizable="true" cell="calstring" compare="string" priority="10"/>
+
+ <ETableState>
+ <column source="4"/>
+ <column source="3"/>
+ <column source="1"/>
+ <column source="0"/>
+ <grouping></grouping>
+ </ETableState>
+</ETableSpecification>