From 214319eb9ebdf6bad42471c5384aba6d8dd4b40a Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 29 Jan 2004 14:39:45 +0000 Subject: added support for the list view also. 2004-01-29 Rodrigo Moya * gui/calendar-view.c (calendar_view_get_type_code): added support for the list view also. svn path=/trunk/; revision=24520 --- calendar/ChangeLog | 5 +++++ calendar/gui/calendar-view.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 44bf7fe55f..f6ffd47d36 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-01-29 Rodrigo Moya + + * gui/calendar-view.c (calendar_view_get_type_code): added support for + the list view also. + 2004-01-28 Rodrigo Moya * gui/gnome-cal.c (update_query): diff --git a/calendar/gui/calendar-view.c b/calendar/gui/calendar-view.c index 1aec23ef36..98a754accd 100644 --- a/calendar/gui/calendar-view.c +++ b/calendar/gui/calendar-view.c @@ -149,7 +149,7 @@ calendar_view_get_title (GalView *view) cal_view = CALENDAR_VIEW (view); priv = cal_view->priv; - return priv->title; + return (const char *) priv->title; } /* set_title method of the calendar view */ @@ -191,6 +191,9 @@ calendar_view_get_type_code (GalView *view) case GNOME_CAL_MONTH_VIEW: return "month_view"; + case GNOME_CAL_LIST_VIEW : + return "list_view"; + default: g_assert_not_reached (); return NULL; -- cgit