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/e-tasks.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/e-tasks.c')
-rw-r--r-- | calendar/gui/e-tasks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 3e6a71b808..50b5dfc203 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -46,6 +46,7 @@ #include "comp-util.h" #include "e-calendar-table-config.h" #include "misc.h" +#include "tasks-component.h" #include "e-tasks.h" #include "common/authentication.h" @@ -1107,7 +1108,9 @@ e_tasks_setup_view_menus (ETasks *tasks, BonoboUIComponent *uic) gal_view_collection_set_title (collection, _("Tasks")); - dir = gnome_util_prepend_user_home ("/evolution/views/tasks/"); + dir = g_build_filename (tasks_component_peek_base_directory (tasks_component_peek ()), + "tasks", "views", NULL); + g_message ("Using %s", dir); gal_view_collection_set_storage_directories (collection, EVOLUTION_GALVIEWSDIR "/tasks/", dir); |