[Bug 824957] Re: [gtk3] right-click context menu for links no longer works

Robert Roth evfool at gmail.com
Fri Aug 12 08:33:12 UTC 2011


When right-clicking on a link, I get the following traceback in Terminal:
Traceback (most recent call last):
  File "/home/Projects/umtrunk/UpdateManager/ChangelogViewer.py", line 207, in button_press_event
    self.create_context_menu(url)
  File "/home/Projects/umtrunk/UpdateManager/ChangelogViewer.py", line 68, in create_context_menu
    item_grey_link = Gtk.MenuItem(url)
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

** Changed in: update-manager (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/824957

Title:
  [gtk3] right-click context menu for links no longer works

Status in Update Manager:
  New
Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  In the Natty update-manager, right clicking on a link in the changelog
  would give the option to open in browser or copy link to clipboard.
  With the port to gtk3, this content menu no longer shows up.

  See the code at http://bazaar.launchpad.net/~ubuntu-core-dev/update-
  manager/main/view/head:/UpdateManager/ChangelogViewer.py#L63

  I came across this same issue in an app I ported from gtk2 to gtk3 so
  this might actually be a gtk issue, or at least the behavior has
  changed from gtk2.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: update-manager 1:0.152.12
  ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  Date: Fri Aug 12 00:16:02 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to oneiric on 2011-06-17 (55 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/update-manager/+bug/824957/+subscriptions




More information about the foundations-bugs mailing list