aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-14 12:06:58 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-14 12:06:58 +0800
commit49a388705e5085a963c3c1b5cdcd324af5d8b1b5 (patch)
treef2815ebbad01062c49dc016aa26352898ecd6bc1 /calendar/cal-util
parent23ef00df35512cfe6285ba45c0b20f635faee111 (diff)
downloadgsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.gz
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.zst
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.zip
Now takes object and flags parameters. Likewise. Likewise.
1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_update): Now takes object and flags parameters. * gncal-day-view.c (gncal_day_view_update): Likewise. * gncal-full-day.c (gncal_full_day_update): Likewise. (child_focus_in): New function. In conjunction with child_focus_out(), these only display the handles in the child when it is focused. The result is that the user can see more of the child's text when nothing is focused, and we can also display fatter and nicer drag handles. * gnome-cal.c (gnome_calendar_object_changed): Now takes an additional flags parameter (gnome_calendar_update_all): Made function static. Now takes changed object and flags parameters as well. (gnome_calendar_object_changed): Now takes additional flags parameter to indicate what changed in the specified object. * calobj.h (CalObjectChange): New enum with flags to describe what has been changed in an object. svn path=/trunk/; revision=132
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/calobj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h
index 37ea79040d..7dc810b459 100644
--- a/calendar/cal-util/calobj.h
+++ b/calendar/cal-util/calobj.h
@@ -85,6 +85,13 @@ typedef struct {
int frequency;
} Recurrence;
+/* Flags to indicate what has changed in an object */
+typedef enum {
+ CHANGE_NEW = 1 << 0, /* new object */
+ CHANGE_SUMMARY = 1 << 1, /* summary */
+ CHANGE_DATES = 1 << 2 /* dtstart / dtend */
+} CalObjectChange;
+
/*
* This describes an iCalendar object, note that we never store durations, instead we
* always compute the end time computed from the start + duration.