aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-14 09:59:35 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-14 09:59:35 +0800
commitcbb72fbf86461acb24bfcb0eaf33a87064e2dea7 (patch)
tree9a14d66b4c5018f1dc1931704043805f653544e8 /widgets
parentd8619d03cd67fbc6ae6539f9beb1a593c4656c2b (diff)
downloadgsoc2013-evolution-cbb72fbf86461acb24bfcb0eaf33a87064e2dea7.tar.gz
gsoc2013-evolution-cbb72fbf86461acb24bfcb0eaf33a87064e2dea7.tar.zst
gsoc2013-evolution-cbb72fbf86461acb24bfcb0eaf33a87064e2dea7.zip
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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-canvas-vbox.c7
-rw-r--r--widgets/text/e-text.c2
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