diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-08-27 03:59:46 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-08-27 03:59:46 +0800 |
commit | 00098c1abe26a5006bc6df5ff81973b27c7c650a (patch) | |
tree | 5702630bbd1ad7ecf7b08a4ce9c63d98f13d716a /calendar/gnome-cal.c | |
parent | 4da4e492496efde4b1daaf6883a985332154a64b (diff) | |
download | gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar.gz gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar.bz2 gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar.lz gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar.xz gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.tar.zst gsoc2013-evolution-00098c1abe26a5006bc6df5ff81973b27c7c650a.zip |
Today: beginning of year view using the canvas. I still have to finish
Today: beginning of year view using the canvas. I still have to finish fixing
size allocation and event marking. This is all for today since Bonnie is coming.
1998-08-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
* year-view.c: Beginning of the new year view. Sizing and event
marking needs to be finished.
* gnome-cal.c: Updated for year-view.
(gnome_calendar_time_format_changed): Use year_view_time_format_changed().
* year-view.[ch]: Renamed the gncal-year-view.[ch] files to
year-view.[ch].
* Makefile.am (gnomecal_SOURCES): Updated year-view.[ch] in the
list of source files.
svn path=/trunk/; revision=341
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r-- | calendar/gnome-cal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index c9c62101b9..cf9dbefcc7 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -14,8 +14,8 @@ #include "gnome-cal.h" #include "gncal-day-panel.h" #include "gncal-week-view.h" -#include "gncal-year-view.h" #include "month-view.h" +#include "year-view.h" #include "timeutil.h" #include "main.h" @@ -52,7 +52,7 @@ setup_widgets (GnomeCalendar *gcal) gcal->day_view = gncal_day_panel_new (gcal, now); gcal->week_view = gncal_week_view_new (gcal, now); gcal->month_view = month_view_new (gcal, now); - gcal->year_view = gncal_year_view_new (gcal, now); + gcal->year_view = year_view_new (gcal, now); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->day_view, gtk_label_new (_("Day View"))); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->week_view, gtk_label_new (_("Week View"))); @@ -104,7 +104,7 @@ gnome_calendar_goto (GnomeCalendar *gcal, time_t new_time) else if (current == gcal->month_view) month_view_set (MONTH_VIEW (gcal->month_view), new_time); else if (current == gcal->year_view) - gncal_year_view_set (GNCAL_YEAR_VIEW (gcal->year_view), new_time); + year_view_set (YEAR_VIEW (gcal->year_view), new_time); else { g_warning ("My penguin is gone!"); g_assert_not_reached (); @@ -205,7 +205,7 @@ gnome_calendar_update_all (GnomeCalendar *cal, iCalObject *object, int flags) gncal_day_panel_update (GNCAL_DAY_PANEL (cal->day_view), object, flags); gncal_week_view_update (GNCAL_WEEK_VIEW (cal->week_view), object, flags); month_view_update (MONTH_VIEW (cal->month_view), object, flags); - gncal_year_view_update (GNCAL_YEAR_VIEW (cal->year_view), object, flags); + year_view_update (YEAR_VIEW (cal->year_view), object, flags); } int @@ -438,5 +438,5 @@ gnome_calendar_time_format_changed (GnomeCalendar *gcal) gtk_widget_queue_resize (gcal->day_view); gtk_widget_queue_resize (gcal->week_view); month_view_time_format_changed (MONTH_VIEW (gcal->month_view)); - gtk_widget_queue_resize (gcal->year_view); + year_view_time_format_changed (YEAR_VIEW (gcal->year_view)); } |