summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/advanced_contents_gtk.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 02:34:09 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 02:34:09 +0000
commit7c774a1528e5f289c49fb7614f376067e37ba4b0 (patch)
tree46cbb04a16895b13e18b19c8dbef69021bda9084 /chrome/browser/gtk/options/advanced_contents_gtk.cc
parent0ac41f8a150b37c05c0a11197739903e0edaa5d5 (diff)
downloadchromium_src-7c774a1528e5f289c49fb7614f376067e37ba4b0.zip
chromium_src-7c774a1528e5f289c49fb7614f376067e37ba4b0.tar.gz
chromium_src-7c774a1528e5f289c49fb7614f376067e37ba4b0.tar.bz2
Linux: Create app modal dialogs in a different way to work around a KDE 3 window manager bug. While we're at it, change dialog's default size to match that of Chrome on Windows.
BUG=28230 TEST=see bug Review URL: http://codereview.chromium.org/425016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/advanced_contents_gtk.cc')
-rw-r--r--chrome/browser/gtk/options/advanced_contents_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/options/advanced_contents_gtk.cc b/chrome/browser/gtk/options/advanced_contents_gtk.cc
index da0d132..c17d137 100644
--- a/chrome/browser/gtk/options/advanced_contents_gtk.cc
+++ b/chrome/browser/gtk/options/advanced_contents_gtk.cc
@@ -819,6 +819,7 @@ void PrivacySection::ShowRestartMessageBox() const {
GTK_BUTTONS_OK,
"%s",
l10n_util::GetStringUTF8(IDS_OPTIONS_RESTART_REQUIRED).c_str());
+ gtk_util::ApplyMessageDialogQuirks(dialog);
gtk_window_set_title(GTK_WINDOW(dialog),
l10n_util::GetStringUTF8(IDS_PRODUCT_NAME).c_str());
g_signal_connect_swapped(dialog, "response", G_CALLBACK(gtk_widget_destroy),