bzr-notify: add_action() takes exactly 6 arguments (5 given)

Bug #998994 reported by Václav Haisman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Invalid
High
Unassigned
bzr-gtk (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After update to Precise Pangolin I am seeing the following errors in .xsession-errors and the notification has stopped working:

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/bzr-notify", line 84, in catch_branch
    nw.add_action("inspect", "Inspect", start_viz, None)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: add_action() takes exactly 6 arguments (5 given)

Related branches

Curtis Hovey (sinzui)
Changed in bzr-gtk:
status: New → Triaged
importance: Undecided → High
affects: ubuntu → bzr-gtk (Ubuntu)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

note that this only happens on platforms where notifications can have buttons (GNOME shell?)

Revision history for this message
Curtis Hovey (sinzui) wrote :

While this is a gtk3 issue, there is a deeper issue in bug #159113, and the general issue that Unity does not support actions in notifications. The code can be fixed to not crash easily, but to ensure users can see or pull the branch, the action would need to be in a menu.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

bzr-notify has been removed, so closing this.

Changed in bzr-gtk:
status: Triaged → Invalid
Changed in bzr-gtk (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.