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

Unified Diff: chrome/browser/gtk/first_run_dialog.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
Index: chrome/browser/gtk/first_run_dialog.cc
===================================================================
--- chrome/browser/gtk/first_run_dialog.cc (revision 36381)
+++ chrome/browser/gtk/first_run_dialog.cc (working copy)
@@ -63,12 +63,11 @@
gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE);
gtk_widget_realize(dialog_);
- int width, height;
- gtk_util::GetWidgetSizeFromResources(dialog_,
+ gtk_util::SetWindowSizeFromResources(GTK_WINDOW(dialog_),
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS,
IDS_FIRSTRUN_DIALOG_HEIGHT_LINES,
- &width, &height);
- gtk_window_set_default_size(GTK_WINDOW(dialog_), width, height);
+ true);
+
g_signal_connect(G_OBJECT(dialog_), "delete-event",
G_CALLBACK(gtk_widget_hide_on_delete), NULL);
« no previous file with comments | « chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc ('k') | chrome/browser/gtk/import_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698