This commit is contained in:
@@ -61,7 +61,8 @@ class NotificationService:
|
||||
|
||||
# Connexion au bus DBus
|
||||
bus = SessionBus()
|
||||
bus.publish("org.freedesktop.Notifications", NotificationService())
|
||||
bus.publish("org.freedesktop.Notifications",
|
||||
("/org/freedesktop/Notifications", NotificationService()))
|
||||
|
||||
print("[INFO] Service registered on DBus, waiting for calls.")
|
||||
GLib.MainLoop().run()
|
||||
|
||||
Reference in New Issue
Block a user