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

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

Issue 551034: Simplify the gtk AutoFill dialog and bring it more in line with the mocks.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « chrome/browser/gtk/first_run_dialog.cc ('k') | chrome/browser/gtk/keyword_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/import_dialog_gtk.cc
===================================================================
--- chrome/browser/gtk/import_dialog_gtk.cc (revision 36381)
+++ chrome/browser/gtk/import_dialog_gtk.cc (working copy)
@@ -37,9 +37,10 @@
GTK_RESPONSE_REJECT,
NULL);
gtk_widget_realize(dialog_);
- gtk_util::SetWindowWidthFromResources(GTK_WINDOW(dialog_),
- IDS_IMPORT_DIALOG_WIDTH_CHARS,
- /* resizable */ false);
+ gtk_util::SetWindowSizeFromResources(GTK_WINDOW(dialog_),
+ IDS_IMPORT_DIALOG_WIDTH_CHARS,
+ -1, // height
+ false); // resizable
importer_host_->set_parent_window(GTK_WINDOW(dialog_));
// Add import button separately as we might need to disable it, if
« no previous file with comments | « chrome/browser/gtk/first_run_dialog.cc ('k') | chrome/browser/gtk/keyword_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698