[maemo-developers] Application Icon Broken

From: John Mitchell john at cepros.com
Date: Fri Nov 30 07:14:43 EET 2007
All,

    I am having trouble getting my test application to show an icon in
the menu in the chinook SDK. I get the following error and the
application has the default icon:

hildon-desktop[12021]: GLIB WARNING ** default - Error loading icon
'hello_icon_40x40': Icon 'hello_icon_40x40' not present in theme

http://img515.imageshack.us/img515/7567/brokeniconzk7.jpg

 I have the following in my desktop file and have the following in
/usr/share/icons/

[sbox-CHINOOK_X86: ~] > cat /usr/share/applications/hildon/maemo_hello.desktop
[Desktop Entry]
Version=1.0.0
Encoding=UTF-8
Name=Hello PyMaemo!
Exec=/usr/bin/maemo_hello.py
Icon=hello_icon_40x40
Type=Application
X-Osso-Service=maemo_hellopy
X-Osso-Type=application/x-executable

[sbox-CHINOOK_X86: ~] > ls -la
/usr/share/icons/hicolor/40x40/hildon/hello_icon_40x40.png
-rw-r--r--  1 john john 485 Nov 29 17:49
/usr/share/icons/hicolor/40x40/hildon/hello_icon_40x40.png

For grins I copied the icon to all of the directories that contained
icons for another desktop file and restarted the hildon desktop
between each copy to see if it was getting the icons from a particular
directory. Same error each time and still no icon. Any ideas what I am
doing wrong?

-- 
John P. Mitchell <john at cepros.com>

More information about the maemo-developers mailing list