aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-view.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-29 22:39:45 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-29 22:39:45 +0800
commit214319eb9ebdf6bad42471c5384aba6d8dd4b40a (patch)
treef2d61b9fb09095b131e6eb9f93340efdcc67e834 /calendar/gui/calendar-view.c
parent8fdd1935b6b763435b041ad24cfee16002d564d2 (diff)
downloadgsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.gz
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.bz2
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.lz
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.xz
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.zst
gsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.zip
added support for the list view also.
2004-01-29 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-view.c (calendar_view_get_type_code): added support for the list view also. svn path=/trunk/; revision=24520
Diffstat (limited to 'calendar/gui/calendar-view.c')
-rw-r--r--calendar/gui/calendar-view.c5
1 files changed, 4 insertions, 1 deletions
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;