From 798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 03:04:43 +0000 Subject: Grab the focus when setting the cursor. 2000-06-20 Christopher James Lahey * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659 --- widgets/misc/e-canvas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'widgets') diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c index 230d5a72ea..bbe58efdc3 100644 --- a/widgets/misc/e-canvas.c +++ b/widgets/misc/e-canvas.c @@ -506,6 +506,8 @@ e_canvas_item_set_cursor (GnomeCanvasItem *item, gpointer id) g_list_free(canvas->selection); canvas->selection = NULL; + + gnome_canvas_item_grab_focus(item); info = g_new(ECanvasSelectionInfo, 1); info->item = item; @@ -587,3 +589,13 @@ e_canvas_item_remove_selection (GnomeCanvasItem *item, gpointer id) } } + + + + + + + + + + -- cgit