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

Unified Diff: chrome/browser/gtk/browser_toolbar_gtk.cc

Issue 3083018: [GTK] undo more toolbar destruction - unbreak GTK+ theme mode home button (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_toolbar_gtk.cc
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.cc b/chrome/browser/gtk/browser_toolbar_gtk.cc
index c935aa858fe01598fa58b01813f5e74bf42fee43..0afc3c8c9b616442b1d29ccefb079afac7b1495d 100644
--- a/chrome/browser/gtk/browser_toolbar_gtk.cc
+++ b/chrome/browser/gtk/browser_toolbar_gtk.cc
@@ -172,7 +172,8 @@ void BrowserToolbarGtk::Init(Profile* profile,
0);
home_.reset(new CustomDrawButton(GtkThemeProvider::GetFrom(profile_),
- IDR_HOME, IDR_HOME_P, IDR_HOME_H, 0, NULL));
+ IDR_HOME, IDR_HOME_P, IDR_HOME_H, 0, GTK_STOCK_HOME,
+ GTK_ICON_SIZE_SMALL_TOOLBAR));
gtk_widget_set_tooltip_text(home_->widget(),
l10n_util::GetStringUTF8(IDS_TOOLTIP_HOME).c_str());
g_signal_connect(home_->widget(), "clicked",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698