From 45e4695ee4ec4b804edead134f121f3560c62e24 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 13 Jul 2004 11:37:02 +0000 Subject: reverted unwanted change svn path=/trunk/; revision=26635 --- calendar/gui/calendar-view-factory.c | 2 -- calendar/gui/gnome-cal.c | 4 ---- 2 files changed, 6 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index 4c3f83572d..f8d2d92ce3 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -173,8 +173,6 @@ calendar_view_factory_new_view (GalViewFactory *factory, const char *name) priv = cal_view_factory->priv; cal_view = calendar_view_new (priv->view_type, name); - gal_view_set_built_in (GAL_VIEW (cal_view), TRUE); - return GAL_VIEW (cal_view); } diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index dc43fcdf45..034c0be1bd 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1822,7 +1822,6 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic) /* Create the view instance */ if (collection == NULL) { ETableSpecification *spec; - GalView *view; collection = gal_view_collection_new (); @@ -1864,9 +1863,6 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic) gal_view_collection_load (collection); - view = gal_view_collection_get_view (collection, gal_view_collection_get_view_index_by_id (collection, "List_View")); - if (view) - gal_view_set_built_in (view, TRUE); } priv->view_instance = gal_view_instance_new (collection, NULL); -- cgit v1.2.3