From 905f7de48f5c591caa340f099fff821e07bf82e4 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 27 Jan 2000 07:51:37 +0000 Subject: Use e_canvas_item_grab_focus so that it will work with old versions of 2000-01-28 Christopher James Lahey * widgets/e-minicard-label.c, widgets/e-minicard.c: Use e_canvas_item_grab_focus so that it will work with old versions of gnome-canvas. * widgets/e-canvas.c, widgets/e-canvas.h: Finished working around focus bugs. svn path=/trunk/; revision=1649 --- e-util/e-canvas.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'e-util/e-canvas.h') diff --git a/e-util/e-canvas.h b/e-util/e-canvas.h index 06c3625f3a..0ece5ae3b4 100644 --- a/e-util/e-canvas.h +++ b/e-util/e-canvas.h @@ -58,6 +58,11 @@ struct _ECanvasClass GtkType e_canvas_get_type (void); GtkWidget *e_canvas_new (void); +/* Used to send all of the keystroke events to a specific item as well as + * GDK_FOCUS_CHANGE events. + */ +void e_canvas_item_grab_focus (GnomeCanvasItem *item); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3