diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 18:13:07 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 18:13:07 +0000 |
commit | 6f6a060694d5126452d0e709e5084a31b8ff01af (patch) | |
tree | 92553f0492d0e0cd011462976849b4356a5769b4 /chrome/browser/gtk/options/options_window_gtk.cc | |
parent | 72d321f4a49eef128780c5a849d3383f886995e2 (diff) | |
download | chromium_src-6f6a060694d5126452d0e709e5084a31b8ff01af.zip chromium_src-6f6a060694d5126452d0e709e5084a31b8ff01af.tar.gz chromium_src-6f6a060694d5126452d0e709e5084a31b8ff01af.tar.bz2 |
Set the window type hint for the options dialog and
task manager to GDK_WINDOW_TYPE_HINT_NORMAL. This allows the
dialogs to go behind browser windows in metacity.
I did it for these two dialogs mainly because they have links
to web pages. The links should be able to open on top of the
dialog.
Review URL: http://codereview.chromium.org/179014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/options_window_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/options/options_window_gtk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/options/options_window_gtk.cc b/chrome/browser/gtk/options/options_window_gtk.cc index 4bc82b1..6324641 100644 --- a/chrome/browser/gtk/options/options_window_gtk.cc +++ b/chrome/browser/gtk/options/options_window_gtk.cc @@ -99,6 +99,8 @@ OptionsWindowGtk::OptionsWindowGtk(Profile* profile) GTK_RESPONSE_CLOSE, NULL); gtk_window_set_default_size(GTK_WINDOW(dialog_), 500, -1); + // Allow browser windows to go in front of the options dialog in metacity. + gtk_window_set_type_hint(GTK_WINDOW(dialog_), GDK_WINDOW_TYPE_HINT_NORMAL); gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox), gtk_util::kContentAreaSpacing); |