aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-12-18 03:06:33 +0800
committerChristian Persch <chpe@src.gnome.org>2006-12-18 03:06:33 +0800
commitbbe2b5bf9901099d93388ffdac41afce0a6f96e2 (patch)
tree5e34b53a0d331e12330dcce016e8bf41aec406f0 /lib
parent405789297075e4e3a31e347ef9e002c66e198550 (diff)
downloadgsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar.gz
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar.bz2
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar.lz
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar.xz
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.tar.zst
gsoc2013-epiphany-bbe2b5bf9901099d93388ffdac41afce0a6f96e2.zip
Fix secure location bar colouring with dark themes. Bug #347343, patch by
2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set): Fix secure location bar colouring with dark themes. Bug #347343, patch by Diego Escalante Urrelo.
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 963e4938d..1a5247927 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -107,6 +107,7 @@ static const GtkTargetEntry url_drag_types [] =
};
static const GdkColor fallback_bg_colour = { 0, 0xf7f7, 0xf7f7, 0xbebe }; /* yellow-ish */
+static const GdkColor fallback_fg_colour = { 0, 0, 0, 0 }; /* black */
static void ephy_location_entry_class_init (EphyLocationEntryClass *klass);
static void ephy_location_entry_init (EphyLocationEntry *le);
@@ -208,8 +209,7 @@ ephy_location_entry_style_set (GtkWidget *widget,
}
else
{
- /* FIXME: fall back to black text maybe? */
- priv->secure_fg_colour = widget->style->text[GTK_STATE_NORMAL];
+ priv->secure_fg_colour = fallback_fg_colour;
}
if (bg_colour != NULL)