Set type hint for notifications NOT using pynotify.

This commit is contained in:
js 2008-05-18 13:03:40 +00:00
parent e269e62851
commit b0a7998934
1 changed files with 2 additions and 0 deletions

View File

@ -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')