aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-canvas.c
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 /e-util/e-canvas.c
parent4f20138bfc192d2feff2e913fbc0ff87ca6bd19c (diff)
downloadgsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.gz
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.bz2
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.lz
gsoc2013-evolution-798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb.tar.xz
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 'e-util/e-canvas.c')
-rw-r--r--e-util/e-canvas.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/e-util/e-canvas.c b/e-util/e-canvas.c
index 230d5a72ea..bbe58efdc3 100644
--- a/e-util/e-canvas.c
+++ b/e-util/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)
}
}
+
+
+
+
+
+
+
+
+
+