summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan@upstairslabs.com>2014-07-21 12:36:03 -0300
committerTristan Van Berkom <tristan@upstairslabs.com>2014-10-12 19:39:54 +0900
commit1889453af7ea4a361f6f5693352bfde76f73b3cc (patch)
treefd474e9a16ef16f2a8b1130eeb17cb5d8d622b10
parent7ad5f78f435db2a8d381ce0bae9383dd7db0664e (diff)
downloadglade-1889453af7ea4a361f6f5693352bfde76f73b3cc.tar.gz
Bug 732575 - Changed the type hint on the "Edit Separately" window to 'utility'
This window has traditionally had a 'dialog' type so that window managers don't treat it as a primary application window (don't add minimize/maximize, don't list it in the alt-tab list, etc). In light of bug 732575, where it seems some window managers have stolen the 'close' button away from windows with the 'dialog' hint, let's change it for a 'utility' hint and hope this is the more appropriate hint.
-rw-r--r--gladeui/glade-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c
index 427101ed..03523819 100644
--- a/gladeui/glade-editor.c
+++ b/gladeui/glade-editor.c
@@ -1275,7 +1275,7 @@ glade_editor_dialog_for_widget (GladeWidget *widget)
/* Window */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_DIALOG);
+ gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_UTILITY);
prj_name = glade_project_get_name (glade_widget_get_project (widget));
/* Translators: first %s is the project name, second is a widget name */