diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-21 11:04:43 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-21 11:04:43 +0800 |
commit | 798b2b01e6ecdbaea70860ca357b5c3eb5ecddfb (patch) | |
tree | d0e498eceb113c1aaa9bd2c70b20964ad71cd234 | |
parent | 4f20138bfc192d2feff2e913fbc0ff87ca6bd19c (diff) | |
download | gsoc2013-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
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-canvas.c | 12 | ||||
-rw-r--r-- | widgets/misc/e-canvas.c | 12 |
3 files changed, 28 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) } } + + + + + + + + + + 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) } } + + + + + + + + + + |