aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-16 06:49:25 +0800
committerDan Winship <danw@src.gnome.org>2001-03-16 06:49:25 +0800
commitfcf634c1ab152fd6bdd10ff1b8f95fe2d5181524 (patch)
treea4d471855099df76e9c60268b7abbe4411b4f39c /calendar
parent9d11cfd68b0539569556088d7b5ae6d4420859dc (diff)
downloadgsoc2013-evolution-fcf634c1ab152fd6bdd10ff1b8f95fe2d5181524.tar.gz
gsoc2013-evolution-fcf634c1ab152fd6bdd10ff1b8f95fe2d5181524.tar.zst
gsoc2013-evolution-fcf634c1ab152fd6bdd10ff1b8f95fe2d5181524.zip
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
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-day-view.c2
-rw-r--r--calendar/gui/e-week-view.c2
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),