** Changed in: software-center/trunk
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/1151621

Title:
  [UIFe] TypeError when opening edit menu

Status in Ubuntu Software Center:
  Fix Released
Status in Ubuntu Software Center stable-5-6 series:
  Triaged
Status in Ubuntu Software Center trunk series:
  Fix Released
Status in “gtk+3.0” package in Ubuntu:
  Confirmed
Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  The following trace occurs when opening the "Edit" menu in software-
  center, as a result of an incompatible change in one of GTK+,
  pygobject, or libgirepository. The code in software-center is correct,
  but the bindings are causing the wrong method to be called, resulting
  in the trace.

  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 967, 
in on_menu_edit_activate
      bounds = self.active_pane.searchentry.get_selection_bounds()
    File "/usr/lib/python2.7/dist-packages/gi/overrides/__init__.py", line 99, 
in wrapped
      ret = method(*args, **kwargs)
  TypeError: unbound method get_selection_bounds() must be called with 
TextBuffer instance as first argument (got SearchEntry instance instead)

  As a work around for this, I have removed the code in software-center,
  which makes the Cut/Copy items in the Edit menu no longer apply to the
  search entry. As a result, this also removes the Cut item completely,
  as it was only used for the search entry. However, it is still
  possible to use the context-menu when right clicking on the entry, or
  the standard C-x/C-c key bindings, to cut or copy the selected text in
  the entry.

  Mailing list request messages:
  Docs: https://lists.ubuntu.com/archives/ubuntu-doc/2013-April/017165.html
  I18n: 
https://lists.ubuntu.com/archives/ubuntu-translators/2013-April/005867.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/software-center/+bug/1151621/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to