diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 22:56:30 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 22:56:30 +0000 |
commit | 4efb56d87a1927f4e497257805b54ad3bda87bec (patch) | |
tree | d9d565e8b908f576066fb47ec5bf081afd093422 /chrome/browser/gtk/find_bar_gtk.cc | |
parent | f8d172cbaeb8cd49be95b5581473805989e89ca6 (diff) | |
download | chromium_src-4efb56d87a1927f4e497257805b54ad3bda87bec.zip chromium_src-4efb56d87a1927f4e497257805b54ad3bda87bec.tar.gz chromium_src-4efb56d87a1927f4e497257805b54ad3bda87bec.tar.bz2 |
GTK: Use themed background images in toolbar buttons.
When a chrome theme asks to use a background image on a toolbar button,
use it. Oddly enough, all of the graphics drawing was written but the
plumbing of actually setting the background wasn't...
TEST=Good Smile, Chuck Anderson, etc. should have button backgrounds which
are very different from the toolbar background in the GTK port.
BUG=NONE
Review URL: http://codereview.chromium.org/384057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index 9c02afb..f736798 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -225,7 +225,7 @@ void FindBarGtk::InitWidgets() { find_next_button_.reset(new CustomDrawButton(theme_provider_, IDR_FINDINPAGE_NEXT, IDR_FINDINPAGE_NEXT_H, IDR_FINDINPAGE_NEXT_H, - IDR_FINDINPAGE_NEXT_P, GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); + IDR_FINDINPAGE_NEXT_P, 0, GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); g_signal_connect(G_OBJECT(find_next_button_->widget()), "clicked", G_CALLBACK(OnClicked), this); gtk_widget_set_tooltip_text(find_next_button_->widget(), @@ -235,7 +235,7 @@ void FindBarGtk::InitWidgets() { find_previous_button_.reset(new CustomDrawButton(theme_provider_, IDR_FINDINPAGE_PREV, IDR_FINDINPAGE_PREV_H, IDR_FINDINPAGE_PREV_H, - IDR_FINDINPAGE_PREV_P, GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); + IDR_FINDINPAGE_PREV_P, 0, GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); g_signal_connect(G_OBJECT(find_previous_button_->widget()), "clicked", G_CALLBACK(OnClicked), this); gtk_widget_set_tooltip_text(find_previous_button_->widget(), |