diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-10-10 13:29:36 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-10-10 13:29:36 +0800 |
commit | 907f7999167285dcb8bb680d93da09eab94d794c (patch) | |
tree | 2ba2d97798520128ffb1f264e6a28351de9a867f /calendar/gui/calendar-view-factory.c | |
parent | 6cccb0c60fca242f9c34f161abede3515986e23e (diff) | |
download | gsoc2013-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/calendar-view-factory.c')
-rw-r--r-- | calendar/gui/calendar-view-factory.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index f8d2d92ce3..a90e8a46d4 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -126,6 +126,9 @@ calendar_view_factory_get_title (GalViewFactory *factory) case GNOME_CAL_MONTH_VIEW: return _("Month View"); + case GNOME_CAL_LIST_VIEW: + return _("List View"); + default: g_assert_not_reached (); return NULL; @@ -155,6 +158,9 @@ calendar_view_factory_get_type_code (GalViewFactory *factory) case GNOME_CAL_MONTH_VIEW: return "month_view"; + case GNOME_CAL_LIST_VIEW: + return "list_view"; + default: g_assert_not_reached (); return NULL; |