diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-07-08 07:02:56 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-07-08 07:02:56 +0800 |
commit | 857a41f6d717197b3df3d3c28245eb36a3b8cdcc (patch) | |
tree | 4253799e4fed4bf178a862ea7d76cdf87fecb82e /calendar/gnome-cal.h | |
parent | 13bbf3992f34c7a9ca29bdb73f4b495ec9934e12 (diff) | |
download | gsoc2013-evolution-857a41f6d717197b3df3d3c28245eb36a3b8cdcc.tar.gz gsoc2013-evolution-857a41f6d717197b3df3d3c28245eb36a3b8cdcc.tar.zst gsoc2013-evolution-857a41f6d717197b3df3d3c28245eb36a3b8cdcc.zip |
Add support for --view flag. (session_save_state): Save the view mode;
1998-07-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: Add support for --view flag.
(session_save_state): Save the view mode;
(new_calendar): Now takes a view mode flag.
* gnome-cal.c (gnome_calendar_get_current_view_name): New
function for enhancing the session management support for
gnomecal.
(gnome_calendar_set_view): New function that makes a given page
active.
svn path=/trunk/; revision=278
Diffstat (limited to 'calendar/gnome-cal.h')
-rw-r--r-- | calendar/gnome-cal.h | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/calendar/gnome-cal.h b/calendar/gnome-cal.h index 513bf88ad3..52ce26eaf9 100644 --- a/calendar/gnome-cal.h +++ b/calendar/gnome-cal.h @@ -36,19 +36,30 @@ typedef struct { GnomeAppClass parent_class; } GnomeCalendarClass; -guint gnome_calendar_get_type (void); -GtkWidget *gnome_calendar_new (char *title); -int gnome_calendar_load (GnomeCalendar *gcal, char *file); -void gnome_calendar_add_object (GnomeCalendar *gcal, iCalObject *obj); -void gnome_calendar_remove_object (GnomeCalendar *gcal, iCalObject *obj); -void gnome_calendar_next (GnomeCalendar *gcal); -void gnome_calendar_previous (GnomeCalendar *gcal); -void gnome_calendar_goto (GnomeCalendar *gcal, time_t new_time); -void gnome_calendar_dayjump (GnomeCalendar *gcal, time_t time); -void gnome_calendar_tag_calendar (GnomeCalendar *cal, GtkCalendar *gtk_cal); +guint gnome_calendar_get_type (void); +GtkWidget *gnome_calendar_new (char *title); +int gnome_calendar_load (GnomeCalendar *gcal, + char *file); +void gnome_calendar_add_object (GnomeCalendar *gcal, + iCalObject *obj); +void gnome_calendar_remove_object (GnomeCalendar *gcal, + iCalObject *obj); +void gnome_calendar_next (GnomeCalendar *gcal); +void gnome_calendar_previous (GnomeCalendar *gcal); +void gnome_calendar_goto (GnomeCalendar *gcal, + time_t new_time); +void gnome_calendar_dayjump (GnomeCalendar *gcal, + time_t time); +void gnome_calendar_tag_calendar (GnomeCalendar *cal, + GtkCalendar *gtk_cal); +char *gnome_calendar_get_current_view_name (GnomeCalendar *gcal); +void gnome_calendar_set_view (GnomeCalendar *gcal, + char *page_name); /* Flags is a bitmask of CalObjectChange values */ -void gnome_calendar_object_changed (GnomeCalendar *gcal, iCalObject *obj, int flags); +void gnome_calendar_object_changed (GnomeCalendar *gcal, + iCalObject *obj, + int flags); END_GNOME_DECLS |