ui: turn on window manager notifications again
This commit is contained in:
parent
64c76e51ef
commit
3edac85b90
|
@ -35,15 +35,7 @@ try:
|
||||||
from gi.repository import Notify
|
from gi.repository import Notify
|
||||||
|
|
||||||
# assumed to be working since the import succeeded
|
# assumed to be working since the import succeeded
|
||||||
# available = True
|
available = True
|
||||||
|
|
||||||
# This is not working on Fedora 26. If fails with:
|
|
||||||
# ERROR [MainThread] solaar.ui.notify: showing <Notify.Notification object at 0x7f82c2484640 (NotifyNotification at 0x556fa0fc5a40)>
|
|
||||||
# File "./solaar/lib/solaar/ui/notify.py", line 145, in show
|
|
||||||
# n.show()
|
|
||||||
# Error: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)
|
|
||||||
|
|
||||||
available = False
|
|
||||||
|
|
||||||
except (ValueError, ImportError):
|
except (ValueError, ImportError):
|
||||||
available = False
|
available = False
|
||||||
|
|
Loading…
Reference in New Issue