From 4319ee72dc5e14e2367362c4dd2034d2872e545c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 9 May 2000 18:32:21 +0000 Subject: Make sure that the canvas doesn't intercept keyboard focus. 2000-05-09 Christopher James Lahey * contact-editor/e-contact-editor.c: Make sure that the canvas doesn't intercept keyboard focus. svn path=/trunk/; revision=2959 --- addressbook/ChangeLog | 5 +++++ addressbook/contact-editor/e-contact-editor.c | 1 + addressbook/gui/contact-editor/e-contact-editor.c | 1 + 3 files changed, 7 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index fb75e739f3..c2bfe40bd1 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-05-09 Christopher James Lahey + + * contact-editor/e-contact-editor.c: Make sure that the canvas + doesn't intercept keyboard focus. + 2000-05-09 Christopher James Lahey * contact-editor/e-contact-editor.c: Use new art. diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c index 02340ef0d3..58f6af1475 100644 --- a/addressbook/contact-editor/e-contact-editor.c +++ b/addressbook/contact-editor/e-contact-editor.c @@ -113,6 +113,7 @@ _add_image(GtkTable *table, gchar *image, int left, int right, int top, int bott width = gdk_pixbuf_get_width(pixbuf); height = gdk_pixbuf_get_height(pixbuf); canvas = gnome_canvas_new_aa(); + GTK_OBJECT_UNSET_FLAGS(GTK_WIDGET(canvas), GTK_CAN_FOCUS); #if 0 gnome_canvas_item_new(gnome_canvas_root(GNOME_CANVAS(canvas)), gnome_canvas_rect_get_type(), diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 02340ef0d3..58f6af1475 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -113,6 +113,7 @@ _add_image(GtkTable *table, gchar *image, int left, int right, int top, int bott width = gdk_pixbuf_get_width(pixbuf); height = gdk_pixbuf_get_height(pixbuf); canvas = gnome_canvas_new_aa(); + GTK_OBJECT_UNSET_FLAGS(GTK_WIDGET(canvas), GTK_CAN_FOCUS); #if 0 gnome_canvas_item_new(gnome_canvas_root(GNOME_CANVAS(canvas)), gnome_canvas_rect_get_type(), -- cgit v1.2.3