diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:32:13 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:32:13 +0000 |
commit | ad764d54ec391e95e4ea239aa8eed548ce45cb61 (patch) | |
tree | b3b7a8e82ebbfa24cf5fce5836a7501624ebb432 | |
parent | 587274f6a4912bcc3a7ff225a55992284870fac5 (diff) | |
download | chromium_src-ad764d54ec391e95e4ea239aa8eed548ce45cb61.zip chromium_src-ad764d54ec391e95e4ea239aa8eed548ce45cb61.tar.gz chromium_src-ad764d54ec391e95e4ea239aa8eed548ce45cb61.tar.bz2 |
gtk EditKeywordController properly enables controls when created without a TemplateURL
(when creating with one, the entry changed signal would do it.)
BUG=13326
Review URL: http://codereview.chromium.org/141025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18922 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/gtk/edit_keyword_controller.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/edit_keyword_controller.cc b/chrome/browser/gtk/edit_keyword_controller.cc index cc93896..a43e555 100644 --- a/chrome/browser/gtk/edit_keyword_controller.cc +++ b/chrome/browser/gtk/edit_keyword_controller.cc @@ -181,6 +181,8 @@ void EditKeywordController::Init(GtkWindow* parent_window) { gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox), gtk_util::kContentAreaSpacing); + EnableControls(); + gtk_widget_show_all(dialog_); g_signal_connect(dialog_, "response", G_CALLBACK(OnResponse), this); |