Changed the color from yellow to light gray.
2000-12-13 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text.c (_do_tooltip): Changed the color from yellow to light gray. * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Made it so that e-canvas-vbox doesn't eat all the keyboard events. This means widget navigation keys work properly. svn path=/trunk/; revision=6989
This commit is contained in:
committed by
Chris Lahey
parent
d8619d03cd
commit
cbb72fbf86
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user