aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/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/gui/gncal-week-view.c
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/gui/gncal-week-view.c')
-rw-r--r--calendar/gui/gncal-week-view.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/gncal-week-view.c b/calendar/gui/gncal-week-view.c
index 4adf7ba283..1cf35fac5f 100644
--- a/calendar/gui/gncal-week-view.c
+++ b/calendar/gui/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);
}
ions'>+2 * Add newlines to the ends of these filesdougb2012-09-041-1/+1 * Update to 20120901cs2012-09-042-4/+11 * - Unbreak VBOX VirtualDisk supportak2012-08-201-2/+3 * - Update to 20120811ak2012-08-202-5/+22 * - Update to 20120807bdrewery2012-08-082-3/+3 * - Update to 20120726madpilot2012-07-274-480/+3 * Fix use of set_rcvar() in rc.d scriptdougb2012-05-062-11/+24 * Make it possible to reload configuration without stopping and restartingdelphij2012-03-233-0/+464 * - Update to 20111008culot2011-10-102-3/+3 * - Update to 20110928culot2011-09-292-3/+3 * - Update to 20110918culot2011-09-192-3/+3 * - Update to 20110907sunpoet2011-09-082-3/+3 * - Update to 20110717culot2011-08-082-3/+3 * - Update to 20110529.wxs2011-05-313-14/+3