** Description changed: 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) + 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: [pending moderator approval] + I18n: https://lists.ubuntu.com/archives/ubuntu-translators/2013-April/005867.html
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1151621 Title: [UIFe] TypeError when opening edit menu To manage notifications about this bug go to: https://bugs.launchpad.net/software-center/+bug/1151621/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
