aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
parent8fdd1935b6b763435b041ad24cfee16002d564d2 (diff)
downloadgsoc2013-evolution-214319eb9ebdf6bad42471c5384aba6d8dd4b40a.tar.gz
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')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-view.c5
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;