From d772c8db351d46ed4fc9f55eb978200ebbe98307 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 14 Mar 2010 21:06:19 +0100 Subject: Show a dialog if no email is given --- portato/gui/windows/basic.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'portato/gui/windows/basic.py') 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) -- cgit v1.2.3-54-g00ecf