diff options
author | JP Rosevear <jpr@ximian.com> | 2004-01-22 23:18:28 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-01-22 23:18:28 +0800 |
commit | 512c6fec267590bb0c5c9f1bc7d782b18dbe9e97 (patch) | |
tree | d59c021cce65fbe163caf36144a0956fc28d8e71 /calendar/gui/gnome-cal.c | |
parent | a162e68178fe831c2682dad37da92c543f01275d (diff) | |
download | gsoc2013-evolution-512c6fec267590bb0c5c9f1bc7d782b18dbe9e97.tar.gz gsoc2013-evolution-512c6fec267590bb0c5c9f1bc7d782b18dbe9e97.tar.zst gsoc2013-evolution-512c6fec267590bb0c5c9f1bc7d782b18dbe9e97.zip |
use the calendar component config dir (gnome_calendar_setup_view_menus):
2004-01-22 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): use the calendar component
config dir
(gnome_calendar_setup_view_menus): use the calendar component base
dir for the view storage
* gui/e-tasks.c (e_tasks_setup_view_menus): use the task component
base dir for the view storage
Fixes #53133
svn path=/trunk/; revision=24362
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 4a3af0babc..22eab34e2a 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1015,7 +1015,8 @@ setup_widgets (GnomeCalendar *gcal) connect_week_view_focus (gcal, E_WEEK_VIEW (priv->month_view)); /* The List View. */ - filename = g_strdup_printf (".evolution/config/CalListView"); + filename = g_build_filename (calendar_component_peek_config_directory (calendar_component_peek ()), + "CalListView", NULL); priv->list_view = e_cal_list_view_new (filename); g_free (filename); @@ -1606,7 +1607,8 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic) gal_view_collection_set_title (collection, _("Calendar")); - path = gnome_util_prepend_user_home ("/evolution/views/calendar/"); + path = g_build_filename (calendar_component_peek_base_directory (calendar_component_peek ()), + "calendar", "views", NULL); gal_view_collection_set_storage_directories (collection, EVOLUTION_GALVIEWSDIR "/calendar/", path); |