diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-view.c | 5 |
2 files changed, 9 insertions, 1 deletions
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 <rodrigo@ximian.com> + + * gui/calendar-view.c (calendar_view_get_type_code): added support for + the list view also. + 2004-01-28 Rodrigo Moya <rodrigo@ximian.com> * 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; |