diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/options/customize_sync_window_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/options/customize_sync_window_gtk.cc b/chrome/browser/gtk/options/customize_sync_window_gtk.cc index 65f3ff5..2ef5621 100644 --- a/chrome/browser/gtk/options/customize_sync_window_gtk.cc +++ b/chrome/browser/gtk/options/customize_sync_window_gtk.cc @@ -153,7 +153,7 @@ CustomizeSyncWindowGtk::CustomizeSyncWindowGtk(Profile* profile) g_signal_connect(dialog_, "response", G_CALLBACK(OnResponse), this); g_signal_connect(dialog_, "destroy", G_CALLBACK(OnWindowDestroy), this); - gtk_widget_show_all(dialog_); + gtk_util::ShowDialog(dialog_); } CustomizeSyncWindowGtk::~CustomizeSyncWindowGtk() { @@ -162,7 +162,7 @@ CustomizeSyncWindowGtk::~CustomizeSyncWindowGtk() { void CustomizeSyncWindowGtk::Show() { // Bring options window to front if it already existed and isn't already // in front - gtk_window_present(GTK_WINDOW(dialog_)); + gtk_util::PresentWindow(dialog_, 0); } bool CustomizeSyncWindowGtk::ClickOk() { @@ -181,7 +181,7 @@ bool CustomizeSyncWindowGtk::ClickOk() { } else { // show the user that something's wrong with this dialog (not perfect, but // a temporary fix) - gtk_window_present(GTK_WINDOW(dialog_)); + gtk_util::PresentWindow(dialog_, 0); return false; } } |