summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 18:08:21 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 18:08:21 +0000
commitf330a2badda07023798ebc4aad44b0ddec551589 (patch)
treef817d79cd779742b247c5283dac545a6040c7ca7
parenta7eee32f5e2250e5bf8d2b47612e9de140a7e850 (diff)
downloadchromium_src-f330a2badda07023798ebc4aad44b0ddec551589.zip
chromium_src-f330a2badda07023798ebc4aad44b0ddec551589.tar.gz
chromium_src-f330a2badda07023798ebc4aad44b0ddec551589.tar.bz2
GTK: Force the text color in the status bubble to be the same as windows.
Review URL: http://codereview.chromium.org/115710 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16755 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/status_bubble_gtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/status_bubble_gtk.cc b/chrome/browser/gtk/status_bubble_gtk.cc
index 5195135..abdacba 100644
--- a/chrome/browser/gtk/status_bubble_gtk.cc
+++ b/chrome/browser/gtk/status_bubble_gtk.cc
@@ -15,6 +15,7 @@
namespace {
+const GdkColor kTextColor = GDK_COLOR_RGB(100, 100, 100);
const GdkColor kBackgroundColor = GDK_COLOR_RGB(0xe6, 0xed, 0xf4);
const GdkColor kFrameBorderColor = GDK_COLOR_RGB(0xbe, 0xc8, 0xd4);
@@ -133,6 +134,7 @@ void StatusBubbleGtk::MouseMoved() {
void StatusBubbleGtk::InitWidgets() {
label_ = gtk_label_new(NULL);
+ gtk_widget_modify_fg(label_, GTK_STATE_NORMAL, &kTextColor);
GtkWidget* padding = gtk_alignment_new(0, 0, 1, 1);
gtk_alignment_set_padding(GTK_ALIGNMENT(padding),