summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 18:52:56 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 18:52:56 +0000
commit38d84d865d38ddcca7d7e5af3f1991813e3044d3 (patch)
tree7911f9961ba17f1180f7c71059606def2193ded8
parent0073349fe454077e5eff48153bce7d4f15b66131 (diff)
downloadchromium_src-38d84d865d38ddcca7d7e5af3f1991813e3044d3.zip
chromium_src-38d84d865d38ddcca7d7e5af3f1991813e3044d3.tar.gz
chromium_src-38d84d865d38ddcca7d7e5af3f1991813e3044d3.tar.bz2
Put "Add Language" dialog into chrome window on ChromeOS.
BUG=none TEST=Go to "Options" -> "Under the hood" tab -> "Font and language" -> "Languages" tab -> "Add" to see "Add language" dialog and verify it has a window frame and not take up the whole screen. Review URL: http://codereview.chromium.org/2135016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48166 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/options/languages_page_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/options/languages_page_gtk.cc b/chrome/browser/gtk/options/languages_page_gtk.cc
index c271122..5406db7 100644
--- a/chrome/browser/gtk/options/languages_page_gtk.cc
+++ b/chrome/browser/gtk/options/languages_page_gtk.cc
@@ -94,7 +94,7 @@ AddLanguageDialog::AddLanguageDialog(Profile* profile,
g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this);
g_signal_connect(dialog_, "destroy", G_CALLBACK(OnWindowDestroyThunk), this);
- gtk_widget_show_all(dialog_);
+ gtk_util::ShowDialog(dialog_);
}
void AddLanguageDialog::OnResponse(GtkWidget* dialog, int response_id) {