From fcf634c1ab152fd6bdd10ff1b8f95fe2d5181524 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 Mar 2001 22:49:25 +0000 Subject: Update arguments to e_canvas_item_grab_focus. * gui/e-week-view.c (e_week_view_start_editing_event): * gui/e-day-view.c (e_day_view_start_editing_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8748 --- calendar/ChangeLog | 6 ++++++ calendar/gui/e-day-view.c | 2 +- calendar/gui/e-week-view.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 5d6926a941..e1ef3c8da2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-03-15 Dan Winship + + * gui/e-week-view.c (e_week_view_start_editing_event): + * gui/e-day-view.c (e_day_view_start_editing_event): Update + arguments to e_canvas_item_grab_focus. + 2001-03-15 Gediminas Paulauskas * gui/*.xpm: moved to ../art. diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 3c14a24359..36ad251822 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -5251,7 +5251,7 @@ e_day_view_start_editing_event (EDayView *day_view, grabbing the focus will result in a call to e_day_view_on_editing_started(), which will reset the text to get rid of the start and end times. */ - e_canvas_item_grab_focus (event->canvas_item); + e_canvas_item_grab_focus (event->canvas_item, TRUE); if (initial_text) { gnome_canvas_item_set (event->canvas_item, diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 7af5994cde..28b62ae824 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2813,7 +2813,7 @@ e_week_view_start_editing_event (EWeekView *week_view, to be sent to the server and resulting in a call to obj_updated_cb() which may reload all the events and so our span and text item may actually be destroyed. So we often get a SEGV. */ - e_canvas_item_grab_focus (span->text_item); + e_canvas_item_grab_focus (span->text_item, TRUE); /* Try to move the cursor to the end of the text. */ gtk_object_get (GTK_OBJECT (span->text_item), -- cgit v1.2.3