Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/python/qtvcp/lib/sys_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def init(app_name):
finally:
probe.close()
if not present:
raise RuntimeError('no notification daemon')
# No daemon: pop-up notifications cannot be shown.
raise RuntimeError('no notification daemon on the session bus; desktop notifications disabled')

mainloop = DBusQtMainLoop(set_as_default=True) if DBusQtMainLoop else None
bus = dbus.SessionBus(mainloop=mainloop)
Expand Down
Loading