Could not load image 'computerjanitor.png'

Bug #720743 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Fix Released
Low
Barry Warsaw

Bug Description

Binary package hint: computer-janitor

Hey

I get a warning on startup of computer-janitor-gtk that it can't find the 24x24 icon

Indeed, I can see that ComputerJanitor.ui references computerjanitor-24x24.png, but that computerjanitor.png gets installed instead.

Changing the .ui file isn't enough, apparently /usr/share/icons/hicolor isn't used for the icon; maybe the icon should also be installed in /usr/share/computerjanitor like the 256x256 one? it's useful both for the .desktop file and for the runtime.

Or we could add /usr/share/icons/hicolor as a search path, not sure

Bye

Revision history for this message
Barry Warsaw (barry) wrote :

<lool> barry: I'm thinking the quickest way is adding the 24x24 to the
       setup.py + gtk.install file
<lool> but that might not be the most correct way

Barry Warsaw (barry)
Changed in computer-janitor (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Barry Warsaw (barry)
milestone: none → natty-alpha-3
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package computer-janitor - 2.1.0-0ubuntu3

---------------
computer-janitor (2.1.0-0ubuntu3) natty; urgency=low

  [ Loïc Minier ]
  * debian/control: computer-janitor-gtk depends gir1.2-pango-1.0 not
    gir1.2-pango-2.0. (LP: #720529)

  [ Barry Warsaw ]
  * setup.py, computer-janitor-gtk.install: Install 24x24.png into
    /usr/share/computer-janitor which is where gtk expects it to be.
    (LP: #720743)
  * Fix various apt_cache deprecation warnings.
  * debian/rules:
    - Switch to dh_python2.
    - Run the unit tests at build time.
    - Add --keep to dh_installchangelogs.
    - Remove override_dh_pysupport.
  * debian/control:
    - Add Build-Depends on python-dbus and update-manager-core so that the
      unit tests can be run at build time. Remove B-D on python-support.
      Change B-D to python-all for tests under all available Python versions.
    - Fix typo in descriptions.
    - Remove XB-Python-Version and add X-Python-Version for dh_python2.
  * Note: 2.1.0-0ubuntu2 was a quick fix upload to the archive containing
    the above debian/control file fix.
 -- Barry Warsaw <email address hidden> Thu, 17 Feb 2011 17:24:44 -0500

Changed in computer-janitor (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.