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

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

Issue 39168: Fix a toolbar width TODO. (Closed)
Patch Set: Created 11 years, 10 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_view_gtk.cc
diff --git a/chrome/browser/gtk/browser_toolbar_view_gtk.cc b/chrome/browser/gtk/browser_toolbar_view_gtk.cc
index 1dd3ef3235d7ec764faddffb74db1836d1a72649..d9ce6adc1fa730cf4ee9cbc2798a648ab23a5913 100644
--- a/chrome/browser/gtk/browser_toolbar_view_gtk.cc
+++ b/chrome/browser/gtk/browser_toolbar_view_gtk.cc
@@ -54,10 +54,7 @@ void BrowserToolbarGtk::Init(Profile* profile) {
toolbar_ = gtk_hbox_new(FALSE, 0);
gtk_container_set_border_width(GTK_CONTAINER(toolbar_), 4);
- // TODO(evanm): this setting of the x-size to 0 makes it so the window
- // can be resized arbitrarily small. We should figure out what we want
- // with respect to resizing before engineering around it, though.
- gtk_widget_set_size_request(toolbar_, 0, kToolbarHeight);
+ gtk_widget_set_size_request(toolbar_, -1, kToolbarHeight);
tony 2009/03/05 01:11:13 Nit: Maybe add a comment explaining -1?
toolbar_tooltips_ = gtk_tooltips_new();
« 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