View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by maacruz View Post
Now, another question: How can I set the taskbar icon?
No matter how much I try, it seems I can't do it. I have copied the icon to /usr/share/pixmaps and /usr/share/icons/hicolor/26x26/hildon, updated the icon cache, and created a .desktop file. The icon shows in the menu, but not in the taskbar. gtk.window_set_default_icon() doesn't seem to work.
Don't bother with the GTK+ functions for setting the icon; hildon-desktop only takes notice if the icon is 64x54 (thanks, javispedro) and you shouldn't need them.
It's been a looong time since I've dealt with icon issues on the N8x0 (Fremantle is nicer in this regard, with the menu icon being the only thing you have to worry about ) so all I can offer is general hints (sorry if these come off as "No ****, Sherlock").

* The icon in /usr/share/icons/hicolor/26x26/hildon is a 26x26 PNG, with the same file name as the the one in /usr/share/pixmaps etc.?
* You have a 64x64 PNG in /usr/share/icons/hicolor/scalable/hildon?
* In your desktop file, you aren't trying to set the icon directory or the WMClass?
* Hildon-desktop takes notice of the X-Window-Icon and X-Window-Icon-Dimmed fields in the desktop file if all else fails.

Last edited by qwerty12; 2010-02-21 at 22:45. Reason: scalable, not 26x26
 

The Following User Says Thank You to qwerty12 For This Useful Post: