aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-week-view.c
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/gncal-week-view.c
parent23ef00df35512cfe6285ba45c0b20f635faee111 (diff)
downloadgsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.gz
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.bz2
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.lz
gsoc2013-evolution-49a388705e5085a963c3c1b5cdcd324af5d8b1b5.tar.xz
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/gncal-week-view.c')
-rw-r--r--calendar/gncal-week-view.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c
index 4adf7ba283..1cf35fac5f 100644
--- a/calendar/gncal-week-view.c
+++ b/calendar/gncal-week-view.c
@@ -105,24 +105,24 @@ gncal_week_view_new (GnomeCalendar *calendar, time_t start_of_week)
}
static void
-update (GncalWeekView *wview, int update_days)
+update (GncalWeekView *wview, int update_days, iCalObject *object, int flags)
{
int i;
if (update_days)
for (i = 0; i < 7; i++)
- gncal_day_view_update (wview->days[i]);
+ gncal_day_view_update (wview->days[i], object, flags);
/* FIXME: update extra widgets */
}
void
-gncal_week_view_update (GncalWeekView *wview)
+gncal_week_view_update (GncalWeekView *wview, iCalObject *ico, int flags)
{
g_return_if_fail (wview != NULL);
g_return_if_fail (GNCAL_IS_WEEK_VIEW (wview));
- update (wview, TRUE);
+ update (wview, TRUE, ico, flags);
}
void
@@ -166,5 +166,5 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week)
day_start = day_end;
}
- update (wview, FALSE);
+ update (wview, FALSE, NULL, 0);
}