aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-09 15:36:54 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-09 15:36:54 +0800
commita4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3 (patch)
treef67e1349246b009e89f8a2e819b99908394b0268 /calendar/calendar.c
parent8e5a66e2c304f3cae73838495868941b6f66c7dc (diff)
downloadgsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.gz
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.zst
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.zip
Show instead of just map the child widget (otherwise the text widget gets
1998-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_map): Show instead of just map the child widget (otherwise the text widget gets confused and will not focus). * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x". * calobj.h: Added prototype for ical_object_to_vobject(). * gnome-cal.c (gnome_calendar_object_changed): New function. This should be called when a calendar object is changed. * gncal-full-day.c (update_from_drag_info): Call gnome_calendar_object_changed() instead of updating manually. * calendar.c (calendar_add_object): (calendar_remove_object): Set the modified flag to true. * gncal-full-day.c (gncal_full_day_draw): Finished implementing this function. svn path=/trunk/; revision=120
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index c06414a571..ebece3aadc 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -48,6 +48,10 @@ calendar_add_object (Calendar *cal, iCalObject *obj)
default:
g_assert_not_reached ();
}
+
+ cal->modified = TRUE;
+
+ /* FIXME: do we have to set the last_mod field in the object? */
}
void
@@ -68,6 +72,8 @@ calendar_remove_object (Calendar *cal, iCalObject *obj)
default:
g_assert_not_reached ();
}
+
+ cal->modified = TRUE;
}
void