From b0a7998934f9eeec8e52ad35b9e9bfe8b54a07de Mon Sep 17 00:00:00 2001 From: js Date: Sun, 18 May 2008 13:03:40 +0000 Subject: [PATCH] Set type hint for notifications NOT using pynotify. --- src/dialogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index 76cfa47d0..2032d6435 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1970,6 +1970,8 @@ class PopupNotificationWindow: xml = gtkgui_helpers.get_glade('popup_notification_window.glade') self.window = xml.get_widget('popup_notification_window') + if gtk.gtk_version >= (2, 10, 0) and gtk.pygtk_version >= (2, 10, 0): + self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_TOOLTIP) close_button = xml.get_widget('close_button') event_type_label = xml.get_widget('event_type_label') event_description_label = xml.get_widget('event_description_label')