aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 11:04:43 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 11:04:43 +0800
commit798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb (patch)
treed0e498eceb113c1aaa9bd2c70b20964ad71cd234 /widgets/misc
parent4f20138bfc192d2feff2e913fbc0ff87ca6bd19c (diff)
downloadgsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.gz
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.zst
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.zip
Grab the focus when setting the cursor.
2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-canvas.c12
1 files changed, 12 insertions, 0 deletions
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)
}
}
+
+
+
+
+
+
+
+
+
+