aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-03 14:03:18 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-03 14:03:18 +0800
commit197ca7ac5bd990427d8c5e7683b6408ffc23f261 (patch)
tree5cef7014f10dbdd45e2a8be3b1a7a205b80b664c /calendar/gui/gnome-cal.c
parentdc90ad6b4302059c79a95d535c8363829faed7df (diff)
downloadgsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.gz
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.zst
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.zip
New full-day widget. It is still a work in progress. It will be similar to
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * 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
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 7e3755b0dc..07fb3b03fa 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -8,6 +8,7 @@
#include <gnome.h>
#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")));