diff options
author | Radek Doulik <rodo@ximian.com> | 2004-07-13 19:07:19 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-07-13 19:07:19 +0800 |
commit | e5d4f6b7d22530f4642aa98c55029398ee943b5d (patch) | |
tree | 12a0463bd5dfed339e8cde26117bf830243ea478 /calendar/gui/gnome-cal.c | |
parent | 201b027d54d5738ddb43cb65fbf639e968a99350 (diff) | |
download | gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar.gz gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar.bz2 gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar.lz gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar.xz gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.tar.zst gsoc2013-evolution-e5d4f6b7d22530f4642aa98c55029398ee943b5d.zip |
as below
2004-07-08 Radek Doulik <rodo@ximian.com>
* gui/e-cal-model.c (e_cal_model_date_value_to_string): as below
* gui/e-cal-model-calendar.c (ecmc_value_to_string): as below
* gui/e-cal-model.c (ecm_value_to_string): as below
* gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string
value, it's free-ed later. instead of returning NULL return
g_strdup ("") as gal does
Fixes #56271
svn path=/trunk/; revision=26634
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 034c0be1bd..dc43fcdf45 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1822,6 +1822,7 @@ 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 (); @@ -1863,6 +1864,9 @@ 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); |