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

Fix libnotify >= 0.7.6 #69

Merged
merged 1 commit into from Feb 18, 2014

Conversation

Stebalien
Copy link
Contributor

libnotify 0.7.6 changed the number of Notification.add_action
arguments (when called from python) from 6 to 5. The 6th argument should
never have been exposed and this commit hacks previous versions of
libnotify (< 0.7.6) to support 5 arguments.

Bug report: https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1223401

libnotify 0.7.6 changed the number of `Notification.add_action`
arguments (when called from python) from 6 to 5. The 6th argument should
never have been exposed and this commit hacks previous versions of
libnotify (`< 0.7.6`) to support 5 arguments.

Bug report: https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1223401
@TingPing
Copy link
Member

Works for me. Does it work for you @gregsheremeta since you were the one who commited this change.

gregsheremeta added a commit that referenced this pull request Feb 18, 2014
@gregsheremeta gregsheremeta merged commit c9aa6dc into pithos:master Feb 18, 2014
@gregsheremeta
Copy link
Contributor

Worked great -- thanks :)

@Stebalien Stebalien deleted the fix-notify-arguments branch February 18, 2014 16:53
@TingPing
Copy link
Member

@Stebalien You check for 0.7.6, some users on that version report it is still broken, while I am on that version (in fedora) and it works. They are all on Ubuntu which I know you don't use but somebody needs to fix this before release, or else we will just have to revert this commit since we already had a work around in place that seemed(?) to work.

Their libnotify package contains a patch called revert_api_change.patch. Wonder if thats the cause...

EDIT: Confirmed Debian broke it.

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.

None yet

3 participants