summaryrefslogtreecommitdiff
path: root/portato/gui/windows/basic.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-09 23:43:44 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-09 23:43:44 +0200
commitd8c4bacde00e2be0e5d5aaf7f85f139aae6a95d6 (patch)
tree12f088e6c07b690cccbcc073b744dc5760713918 /portato/gui/windows/basic.py
parent3cc84485184c1662fabb53f35df43a539021ff93 (diff)
parent359309950a1283dbbf9df6ce1085838087cfc262 (diff)
downloadportato-no_config.tar.gz
portato-no_config.tar.bz2
portato-no_config.zip
Merge branch 'master' into no_config to pickup the recent changes andno_config
fixes. Conflicts: portato/db/__init__.py portato/session.py
Diffstat (limited to 'portato/gui/windows/basic.py')
-rw-r--r--portato/gui/windows/basic.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/windows/basic.py b/portato/gui/windows/basic.py
index 92c35f4..01d31e5 100644
--- a/portato/gui/windows/basic.py
+++ b/portato/gui/windows/basic.py
@@ -151,6 +151,9 @@ class AbstractDialog (Window):
self.window.set_transient_for(parent)
self.parent = parent
+ # type hint
+ self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
+
# catch the ESC-key
self.window.connect("key-press-event", self.cb_key_pressed)