[0.7.6] the add_action api changed creating issues for clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnotify (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
That upstream change seems an api change:
https:/
Simple testcase:
"from gi.repository import GLib, Notify
def action_callback():
print action_id
notification = Notify.
notification.
that code worked before and is complaining about the number of arguments (5 instead of 6) after the update
We reverted the change because it was creating problems in unity8 tests (and likely in code in the archive).
Before dropping the revert we should probably figure out if:
- the upstream change is correct is buggy
- why the number of argument changed (it seems from the commit it shouldn't)
- what in the archive use that api and needs to be ported
- how we can make code support both old/new apis at the same time
Related branches
- Michał Sawicz: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Mirco Müller: Pending requested
-
Diff: 10 lines (+0/-1)1 file modifiedtests/autopilot/unity8/shell/emulators/create_interactive_notification.py (+0/-1)
Changed in unity8 (Ubuntu): | |
status: | New → In Progress |
Changed in libnotify (Ubuntu): | |
status: | Fix Committed → Fix Released |
Hey Martin, can you help to answer to some of the questions we have there?