summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 22:54:45 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 22:54:45 +0000
commit552751a35b96a59a945677b892a5e15c06ffce7d (patch)
tree84da53332458381aaf16064a9e4fe59602f2f04e /chrome/browser/gtk
parent583498aad462e1d11807452344af286287c74d94 (diff)
downloadchromium_src-552751a35b96a59a945677b892a5e15c06ffce7d.zip
chromium_src-552751a35b96a59a945677b892a5e15c06ffce7d.tar.gz
chromium_src-552751a35b96a59a945677b892a5e15c06ffce7d.tar.bz2
Force the font color to black on confirm info bars.
We were already doing this with other info bars, this one just slipped through the cracks. BUG=58371 TEST=Install a dark theme and navigate to http://html5demos.com/geo . The text in the info bar should be readable. Review URL: http://codereview.chromium.org/3629004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/infobar_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc
index c7f7392..ce420ac 100644
--- a/chrome/browser/gtk/infobar_gtk.cc
+++ b/chrome/browser/gtk/infobar_gtk.cc
@@ -354,6 +354,7 @@ ConfirmInfoBar::ConfirmInfoBar(ConfirmInfoBarDelegate* delegate)
GtkWidget* label = gtk_label_new(label_text.c_str());
gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
gtk_util::CenterWidgetInHBox(confirm_hbox_, label, false, kEndOfLabelSpacing);
+ gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &gfx::kGdkBlack);
g_signal_connect(label, "map",
G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode),
NULL);