Re: State of software-center
On Mo, 2010-10-25 at 23:56 -0500, Jordan Metzmeier wrote:
> On 10/25/2010 10:40 PM, Paul Wise wrote:
> > Luckily synaptic is installed by default too:
> >
> > $ apt-cache show gnome | grep synaptic
>
> This is something that I noticed last night that I planned on posting
> here. You beat me to it :). I am going to CC jak so he is aware of this
> thread, since he is likely the overall decision maker in this whole
> matter (should have done so from the start).
There are already bug reports in the BTS. The following patch solves the
icon problem by replacing unavailable icons by "applications-other":
=== modified file 'softwarecenter/view/catview.py'
--- softwarecenter/view/catview.py 2010-09-13 06:24:43 +0000
+++ softwarecenter/view/catview.py 2010-10-29 19:06:35 +0000
@@ -129,6 +129,9 @@ class CategoriesView(WebkitWidget):
else:
size = self.CATEGORY_ICON_SIZE
iconinfo = self.icons.lookup_icon(cat.iconname, size, 0)
+ if not iconinfo:
+ cat.iconname = "applications-other"
+ iconinfo = self.icons.lookup_icon(cat.iconname, size, 0)
if iconinfo:
iconpath = iconinfo.get_filename()
logging.debug("icon: %s %s" % (iconinfo, iconpath))
The documentation takes some work, I wanted to convert it first, but I
guess it's time to just fix it directly.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: