| Index: chrome/browser/ui/gtk/edit_search_engine_dialog.cc
|
| diff --git a/chrome/browser/ui/gtk/edit_search_engine_dialog.cc b/chrome/browser/ui/gtk/edit_search_engine_dialog.cc
|
| index cba847fe22ede49421a01a29baf5ae6fe92e6fff..c5efb1d77668836a0c2b31a269b034b660fc97b9 100644
|
| --- a/chrome/browser/ui/gtk/edit_search_engine_dialog.cc
|
| +++ b/chrome/browser/ui/gtk/edit_search_engine_dialog.cc
|
| @@ -179,8 +179,9 @@ void EditSearchEngineDialog::Init(GtkWindow* parent_window, Profile* profile) {
|
| l10n_util::GetStringUTF8(IDS_SEARCH_ENGINES_EDITOR_URL_LABEL).c_str(),
|
| gtk_util::CreateEntryImageHBox(url_entry_, url_image_),
|
| NULL);
|
| - gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), controls,
|
| - FALSE, FALSE, 0);
|
| +
|
| + GtkWidget* content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog_));
|
| + gtk_box_pack_start(GTK_BOX(content_area), controls, FALSE, FALSE, 0);
|
|
|
| // On RTL UIs (such as Arabic and Hebrew) the description text is not
|
| // displayed correctly since it contains the substring "%s". This substring
|
| @@ -204,11 +205,10 @@ void EditSearchEngineDialog::Init(GtkWindow* parent_window, Profile* profile) {
|
| }
|
|
|
| GtkWidget* description_label = gtk_label_new(description.c_str());
|
| - gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), description_label,
|
| + gtk_box_pack_start(GTK_BOX(content_area), description_label,
|
| FALSE, FALSE, 0);
|
|
|
| - gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox),
|
| - ui::kContentAreaSpacing);
|
| + gtk_box_set_spacing(GTK_BOX(content_area), ui::kContentAreaSpacing);
|
|
|
| EnableControls();
|
|
|
|
|