nb. to self; the QML version's search box is hard-coded:
softwarecenter/ui/gtk3/widgets/qml/SearchBox.qml:
FocusScope::searchbox:
source: "file:///usr/share/icons/Humanity/actions/16/edit-find.svg"
source: "file:///usr/share/icons/Humanity/actions/16/edit-clear.svg"
Gtk3 search box uses Gtk+ STOCK_* enums:
softwarecenter/ui/gtk3/widgets/searchentry.py:
Gtk.Entry::SearchEntry::__init__():
self.set_icon_from_stock(Gtk.EntryIconPosition.PRIMARY, Gtk.STOCK_FIND)
Gtk.Entry::SearchEntry::_check_style():
self.set_icon_from_stock(Gtk.EntryIconPosition.SECONDARY, Gtk.STOCK_CLEAR)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/835529
Title:
Wrong icon for search in Software Center
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/835529/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs