aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-canvas.c12
2 files changed, 16 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 7c6cd01616..abb89bd807 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,9 @@
2000-06-20 Christopher James Lahey <clahey@helixcode.com>
+ * e-canvas.c: Grab the focus when setting the cursor.
+
+2000-06-20 Christopher James Lahey <clahey@helixcode.com>
+
* e-canvas.c, e-canvas.h: Built a system for doing selections
and/or a cursor in canvas.
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)
}
}
+
+
+
+
+
+
+
+
+
+