reconnect to notification daemon when it restarts
Notification daemon isn't running all the time (at least in xfce), it is dbus-activated. So do not stick to one detected at program startup.
このコミットが含まれているのは:
コミット
05de91293e
@ -1895,7 +1895,7 @@ class QubesTrayIcon(QSystemTrayIcon):
|
||||
|
||||
self.connect (self, SIGNAL("activated (QSystemTrayIcon::ActivationReason)"), self.icon_clicked)
|
||||
|
||||
self.tray_object = dbus.SessionBus().get_object("org.freedesktop.Notifications", "/org/freedesktop/Notifications")
|
||||
self.tray_object = dbus.SessionBus().get_object("org.freedesktop.Notifications", "/org/freedesktop/Notifications", follow_name_owner_changes=True)
|
||||
self.tray_notifier = dbus.Interface(self.tray_object, "org.freedesktop.Notifications" )
|
||||
|
||||
def icon_clicked(self, reason):
|
||||
|
読み込み中…
新しいイシューから参照
ユーザーをブロックする