diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 23:24:14 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 23:24:14 +0000 |
commit | 8bfb33faadbe94daae312fc6b9ed83135946d70c (patch) | |
tree | 90ab4cbd6dc5d03b361a8f7eb72461cf8fe9a688 /chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc | |
parent | f21a884408531b243047e62a7f000013abbd42f1 (diff) | |
download | chromium_src-8bfb33faadbe94daae312fc6b9ed83135946d70c.zip chromium_src-8bfb33faadbe94daae312fc6b9ed83135946d70c.tar.gz chromium_src-8bfb33faadbe94daae312fc6b9ed83135946d70c.tar.bz2 |
Linux UI theming:
- Improve appearance of menus by setting background to white (matching windows and fitting better with the overall appearance).
- Disable user theming of native widgets: since our widgets are a hodge-podge of native and custom-drawn, there's no way we can support user theming. Eventually users will be able to choose a theme for chromium; until then make everything look like chrome.
Review URL: http://codereview.chromium.org/49035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc index 7a5464f..6484ab4 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc @@ -25,9 +25,9 @@ const char kSecureSchemeColor[] = "#009614"; const char kInsecureSchemeColor[] = "#c80000"; const GdkColor kBackgroundColorByLevel[] = { - GDK_COLOR_RGB(255, 245, 195), // SecurityLevel SECURE: Yellow. - GDK_COLOR_RGB(255, 255, 255), // SecurityLevel NORMAL: White. - GDK_COLOR_RGB(255, 255, 255), // SecurityLevel INSECURE: White. + GDK_COLOR_RGB(255, 245, 195), // SecurityLevel SECURE. (yellow) + gfx::kGdkWhite, // SecurityLevel NORMAL. + gfx::kGdkWhite, // SecurityLevel INSECURE. }; } // namespace @@ -439,7 +439,7 @@ gboolean AutocompleteEditViewGtk::HandleViewButtonPress(GdkEventButton* event) { gboolean AutocompleteEditViewGtk::HandleViewFocusIn() { model_->OnSetFocus(false); // TODO(deanm): Some keyword hit business, etc here. - + return FALSE; // Continue propagation. } |