From 41810f55a293ed42e3c1cfc19accad1f1fc174e9 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 25 Mar 2004 17:56:07 +0000 Subject: Fixes #53499 2004-03-25 JP Rosevear Fixes #53499 * gui/gnome-cal.c (setup_widgets): don't give the state file to the list view (set_view): ensure that if the list view was in custom mode it stays that way (display_view_cb): attach to the etable of the list view (gnome_calendar_setup_view_menus): use an etable gal view for the list view and don't set the view twice * gui/e-tasks.c (e_tasks_setup_view_menus): the instance should no longer be per task uri since all the uris are shown together * gui/e-cal-list-view.h: update/add protos * gui/e-cal-list-view.etspec: limit the available columns to what product design agreed on * gui/e-calendar-table.etspec: ditto * gui/e-cal-list-view.c (e_cal_list_view_class_init): ignore update query calls (e_cal_list_view_load_state): make public (e_cal_list_view_save_state): ditto (setup_e_table): don't handle state saving ourselves (e_cal_list_view_construct): ditto (e_cal_list_view_new): ditto (e_cal_list_view_destroy): ditto * gui/calendar-view.c (calendar_view_get_type_code): we don't handle the list view here * gui/calendar-view-factory.c (calendar_view_factory_get_type_code): we don't handle the list view here (calendar_view_factory_get_title): ditto svn path=/trunk/; revision=25185 --- calendar/gui/calendar-view-factory.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'calendar/gui/calendar-view-factory.c') diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index a90e8a46d4..f8d2d92ce3 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -126,9 +126,6 @@ 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; @@ -158,9 +155,6 @@ 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; -- cgit v1.2.3