aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-06-04 20:25:36 +0800
committerChris Lahey <clahey@src.gnome.org>2002-06-04 20:25:36 +0800
commit62ea971abfc7aea7585cbe6774e329eb26d4442f (patch)
treeb19596d3e39f125e0c71fcf0f8fe29526eb7c23c /calendar/gui
parent234221246d7325a49b54bc9cf970cc9f1fb4442f (diff)
downloadgsoc2013-evolution-62ea971abfc7aea7585cbe6774e329eb26d4442f.tar.gz
gsoc2013-evolution-62ea971abfc7aea7585cbe6774e329eb26d4442f.tar.zst
gsoc2013-evolution-62ea971abfc7aea7585cbe6774e329eb26d4442f.zip
Set the title of our GalViewCollection.
2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17103
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-tasks.c2
-rw-r--r--calendar/gui/gnome-cal.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index db00d2f8f3..d042a02f08 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -738,6 +738,8 @@ e_tasks_setup_view_menus (ETasks *tasks, BonoboUIComponent *uic)
if (collection == NULL) {
collection = gal_view_collection_new ();
+ gal_view_collection_set_title (collection, _("Tasks"));
+
dir = gnome_util_prepend_user_home ("/evolution/views/tasks/");
gal_view_collection_set_storage_directories (collection,
EVOLUTION_DATADIR "/evolution/views/tasks/",
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 67b84575c0..7e0b88ad8c 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1359,6 +1359,8 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic)
if (collection == NULL) {
collection = gal_view_collection_new ();
+ gal_view_collection_set_title (collection, _("Calendar"));
+
path = gnome_util_prepend_user_home ("/evolution/views/calendar/");
gal_view_collection_set_storage_directories (collection,
EVOLUTION_DATADIR "/evolution/views/calendar/",