Skip to content

Comments

Check org.freedesktop.Notifications#110

Merged
eonpatapon merged 1 commit intomasterfrom
check-notifications
Jan 2, 2019
Merged

Check org.freedesktop.Notifications#110
eonpatapon merged 1 commit intomasterfrom
check-notifications

Conversation

@eonpatapon
Copy link
Owner

Before initializing notifications check that
org.freedesktop.Notifications is available on the bus.

Refs #109

@eonpatapon eonpatapon requested a review from grawity December 31, 2018 09:45
else:
logger.error("Failed to init libnotify; disabling notifications")
self._notification = None
def _init(self, params):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically I think it's fine to just early-return from __init__(), although I guess a separate function adds clarity.

Before initializing notifications check that
org.freedesktop.Notifications is available on the bus.

Refs #109
@eonpatapon eonpatapon force-pushed the check-notifications branch from 7d88179 to 1923305 Compare January 2, 2019 13:22
@eonpatapon eonpatapon merged commit ddacfa8 into master Jan 2, 2019
@AndreaOrru
Copy link

This broke the systemd user unit on AwesomeWM. :(

@grawity
Copy link
Collaborator

grawity commented Feb 10, 2019

This broke the systemd user unit on AwesomeWM. :(

You'll have to provide more details than that. Please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants