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

Bug #998994 reported by Václav Haisman on 2012-05-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
High
Unassigned
bzr-gtk (Ubuntu)
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) on 2012-05-14
Changed in bzr-gtk:
status: New → Triaged
importance: Undecided → High
affects: ubuntu → bzr-gtk (Ubuntu)
Jelmer Vernooij (jelmer) wrote :

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

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.

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  Edit
Everyone can see this information.

Other bug subscribers