diff options
-rw-r--r-- | widgets/misc/e-canvas-vbox.c | 7 | ||||
-rw-r--r-- | widgets/text/e-text.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c index 7932d40bac..4e1eb459dc 100644 --- a/widgets/misc/e-canvas-vbox.c +++ b/widgets/misc/e-canvas-vbox.c @@ -34,7 +34,9 @@ static void e_canvas_vbox_set_arg (GtkObject *o, GtkArg *arg, guint arg_id); static void e_canvas_vbox_get_arg (GtkObject *object, GtkArg *arg, guint arg_id); static void e_canvas_vbox_destroy (GtkObject *object); +#if 0 static gint e_canvas_vbox_event (GnomeCanvasItem *item, GdkEvent *event); +#endif static void e_canvas_vbox_realize (GnomeCanvasItem *item); static void e_canvas_vbox_reflow (GnomeCanvasItem *item, int flags); @@ -102,7 +104,9 @@ e_canvas_vbox_class_init (ECanvasVboxClass *klass) object_class->destroy = e_canvas_vbox_destroy; /* GnomeCanvasItem method overrides */ +#if 0 item_class->event = e_canvas_vbox_event; +#endif item_class->realize = e_canvas_vbox_realize; } @@ -175,6 +179,7 @@ e_canvas_vbox_destroy (GtkObject *object) GTK_OBJECT_CLASS(parent_class)->destroy (object); } +#if 0 static gint e_canvas_vbox_event (GnomeCanvasItem *item, GdkEvent *event) { @@ -183,7 +188,6 @@ e_canvas_vbox_event (GnomeCanvasItem *item, GdkEvent *event) switch (event->type) { case GDK_KEY_PRESS: switch (event->key.keyval) { - case GDK_Tab: case GDK_KP_Tab: case GDK_ISO_Left_Tab: case GDK_Left: @@ -214,6 +218,7 @@ e_canvas_vbox_event (GnomeCanvasItem *item, GdkEvent *event) return return_val; } +#endif static void e_canvas_vbox_realize (GnomeCanvasItem *item) diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 314198248b..2f1234f9c8 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -2476,7 +2476,7 @@ _do_tooltip (gpointer data) "y1", (double) 0, "x2", (double) max_width + 4, "y2", (double) text->height + 4, - "fill_color", "yellow", + "fill_color", "light gray", NULL); /* Ref the font so that it is not destroyed |