![]() |
Icon lost
In my desktop (put into /usr/share/applications/hildon) file, I have
Icon=foobar I have put /usr/share/icons/hicolor/26x26/hildon/foobar.png (26x26) and /usr/share/icons/hicolor/scalable/hildon/foobar.png (64x64) - but in the menu, I still see the default icon :( It worked when I had single icon in /usr/share/pixmaps (with IconPath in .desktop) - but the icon was low-res. I would like to see a large 64x64 icon... Anything I am missing? |
Re: Icon lost
Have you done a "gtk-update-icon-cache -f /usr/share/icons/hicolor/"?
|
Re: Icon lost
No I have not. Isn't it done automatically by "dpkg -i"?
Anyway, I just did. It seems it helped. Thanks a bunch. Should I put it into postinstall script? |
Re: Icon lost
No, it seems it's a thing that has done by you on Maemo.
But, yes, the postinst script is the best place. I do it like this: Code:
if [ -r /etc/osso-af-init/af-defines.sh ]; then |
Re: Icon lost
That's cool! Thanks a bunch!
|
Re: Icon lost
Why isn't it documented anywhere?
|
Re: Icon lost
It's mentioned here (admittedly, not in the same context)
|
Re: Icon lost
I guess, it is worth mentioning in the packaging guide, isn't it?
|
Re: Icon lost
Another icon-related question.
I am using gtk_window_set_icon (and set_icon_list) in order to set the app window icon. I am passing valid GdkPixbuf(s), tried sizes 26 and 64 - but still I am seeing the default icon in the task list. Any ideas? |
Re: Icon lost
This may be a ruby-maemo specific thing, ukki had the same problem with his ruby knots program on #maemo. (And a solution was not found to my knowledge)
|
Re: Icon lost
Quote:
|
Re: Icon lost
Thanks a bunch, I'll try.
Actually, I found the way ruby binding deals with the window class and window title - a bit strange. It puts the window class as the first part of the window title (second part is what you give to set_title) |
| All times are GMT. The time now is 22:03. |
vBulletin® Version 3.8.8