From 197ca7ac5bd990427d8c5e7683b6408ffc23f261 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 3 Apr 1998 06:03:18 +0000 Subject: New full-day widget. It is still a work in progress. It will be similar to 1998-04-02 Federico Mena Quintero * gncal-full-day.c: New full-day widget. It is still a work in progress. It will be similar to M$ Schedule's nifty full day view widget, but with Gtk's elegance :-) * Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources. svn path=/trunk/; revision=99 --- calendar/gnome-cal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar/gnome-cal.c') diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 7e3755b0dc..07fb3b03fa 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -8,6 +8,7 @@ #include #include "calendar.h" #include "gnome-cal.h" +#include "gncal-full-day.h" #include "gncal-week-view.h" #include "views.h" @@ -49,7 +50,11 @@ setup_widgets (GnomeCalendar *gcal) gcal->week_view = gncal_week_view_new (gcal, now); year_view = year_view_create (gcal); task_view = tasks_create (gcal); - + + { + day_view = gncal_full_day_new (gcal, time (NULL), time (NULL) + 86400); + } + gtk_notebook_append_page (GTK_NOTEBOOK (notebook), day_view, gtk_label_new (_("Day View"))); gtk_notebook_append_page (GTK_NOTEBOOK (notebook), gcal->week_view, gtk_label_new (_("Week View"))); gtk_notebook_append_page (GTK_NOTEBOOK (notebook), year_view, gtk_label_new (_("Year View"))); -- cgit v1.2.3