Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pynotify notifications. #456

Merged
merged 2 commits into from
Mar 15, 2017
Merged

Remove pynotify notifications. #456

merged 2 commits into from
Mar 15, 2017

Conversation

ralphbean
Copy link
Collaborator

According to #336, they don't work. It also looks like they just use
gobject notifications under the hood.. and we support that directly.

No use keeping an option around that doesn't work, right? ;)

"Fixes" #336.

According to #336, they don't work.  It also looks like they just use
gobject notifications under the hood.. and we support that directly.

No use keeping an option around that doesn't work, right?  ;)

pynotify.Notification("Bugwarrior", message, logo_path).show()
elif notify_backend == 'gobject':
elif notify_backend == 'gobject' or notify_backend == 'pynotify':
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick: Would it be better to set notify_backend = 'gobject' after the warning so this deprecated setting is handled in just one place? Seems simpler to cleanup if and when it's removed and less confusing if references to historical features are all in one place.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, good call.

@ralphbean ralphbean merged commit ec3fbf6 into develop Mar 15, 2017
@ralphbean ralphbean deleted the feature/remove-pynotify branch March 15, 2017 03:38
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.

2 participants