diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
3 files changed, 8 insertions, 2 deletions
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 <danw@ximian.com> + + * 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 <menesis@delfi.lt> * 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), |