make (currently commented out) Notify.Init use the messagetray label

This commit is contained in:
Patrick Ulbrich
2011-06-15 16:37:19 +02:00
parent a6e769b7a1
commit 1129593e0c

View File

@@ -513,7 +513,7 @@ class MailChecker:
self.reminder = Reminder() # create Reminder object
# TODO : gi.repository Notify seems to be unstable currently (set_hint and add_action crash)
# Notify.init("Mailnag") # initialize Notification
# Notify.init(cfg.get('general', 'messagetray_label')) # initialize Notification
# self.notification = Notify.Notification.new(" ", None, None) # empty string will emit a gtk warning
# self.notification.set_hint("resident", True) # don't close when the bubble or actions are clicked
# self.notification.set_category("email")