aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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)