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

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

Issue 343050: Based on the rest of the codebase, I think we're supposed to #include chromiu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | chrome/browser/gtk/first_run_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/gtk/browser_window_gtk.cc (revision 30401)
+++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
@@ -71,8 +71,8 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
#include "grit/app_resources.h"
+#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
-#include "grit/google_chrome_strings.h"
#include "grit/theme_resources.h"
#include "skia/ext/skia_utils_gtk.h"
@@ -1536,10 +1536,12 @@
}
void BrowserWindowGtk::SetGeometryHints() {
- // Allow the user to resize us arbitrarily small.
+ // Do not allow the user to resize us arbitrarily small. When using the
tony 2009/10/30 01:08:54 Is this supposed to be in the diff? I think thest
Peter Kasting 2009/10/30 01:13:36 No, artifact of some file copying locally. Fixed,
+ // custom frame, the window can disappear entirely while resizing, or get
+ // to a size that's very hard to resize.
GdkGeometry geometry;
- geometry.min_width = 1;
- geometry.min_height = 1;
+ geometry.min_width = 100;
+ geometry.min_height = 100;
gtk_window_set_geometry_hints(window_, NULL, &geometry, GDK_HINT_MIN_SIZE);
// If we call gtk_window_maximize followed by gtk_window_present, compiz gets
« no previous file with comments | « no previous file | chrome/browser/gtk/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698