Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Issue 159143: GTK Themes: Get text color from a label object; this should fix some theme text problems. (Closed)

Created:
11 years, 5 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
Reviewers:
tony, Evan Stade
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

GTK Themes: Get text color from a label object; this should fix some theme text problems. GTK Themes can set colors on a per widget basis, and many do. Previously we were getting the text color from a GtkWindow object, which sometimes is wrong--the theme just sets the text color on labels... Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21200

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -16 lines) Patch
M chrome/browser/gtk/gtk_theme_provider.h View 1 chunk +1 line, -0 lines 1 comment Download
M chrome/browser/gtk/gtk_theme_provider.cc View 3 chunks +20 lines, -16 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Elliot Glaysher
11 years, 5 months ago (2009-07-21 18:29:34 UTC) #1
tony
LGTM http://codereview.chromium.org/159143/diff/1/3 File chrome/browser/gtk/gtk_theme_provider.h (right): http://codereview.chromium.org/159143/diff/1/3#newcode93 Line 93: // A GtkWidget that exists only so ...
11 years, 5 months ago (2009-07-21 18:35:10 UTC) #2
Evan Stade
http://codereview.chromium.org/159143/diff/1/2 File chrome/browser/gtk/gtk_theme_provider.cc (right): http://codereview.chromium.org/159143/diff/1/2#newcode180 Line 180: SetThemeColorFromGtk(kColorBackgroundTabText, shouldn't TabText and BackgroundTabText be different? TabText ...
11 years, 5 months ago (2009-07-21 19:12:19 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/159143/diff/1/2 File chrome/browser/gtk/gtk_theme_provider.cc (right): http://codereview.chromium.org/159143/diff/1/2#newcode180 Line 180: SetThemeColorFromGtk(kColorBackgroundTabText, On 2009/07/21 19:12:19, Evan Stade wrote: > ...
11 years, 5 months ago (2009-07-21 19:21:36 UTC) #4
Evan Stade
11 years, 5 months ago (2009-07-21 19:37:55 UTC) #5
ok this lgtm

Powered by Google App Engine
This is Rietveld 408576698