[maemo-developers] Maemo icons

From: Ryan Pavlik abiryan at ryand.net
Date: Wed Apr 9 12:44:11 EEST 2008
http://maemo.org/development/documentation/how-tos/3-x/python_maemo_3.x_howto.html

It has a useful part and good links at the bottom.

Ryan

Aniello Del Sorbo wrote:
> Today I find fixes to my bugs by only writing to this mailing list :)
>
> The "scalable" icon was 48x48, resized it to the correct size of 64x64 
> and now the size in the Navigator Menu is correct.
>
> I still don't see the correct icon in the Task Navigator bar.
>
> Any hints?
>
> --
> anidel
>
> On Wed, Apr 9, 2008 at 11:07 AM, Aniello Del Sorbo <anidel at gmail.com 
> <mailto:anidel at gmail.com>> wrote:
>
>     Hi,
>
>     I do have another issue with Xournal and its icons.
>
>     After much digging on google and documentation files I arrived at
>     this conclusion:
>
>     I should put in the Makefile.am something like:
>
>     icon_26x26_DATA = icons/26x26/xoournal.png
>
>     and it should automagically put this icon in the following path:
>
>     /usr/share/icons/hicolor/26x26/hildon
>
>     I checked the "tomiphy" applications and it only specified the
>     source file and let the debhelpers (I think) do everything else.
>     The tomiphy icon show correcly in the Task Navigator AND in the Menu.
>
>     I did try the same, but it complained about "icon_26x26dir" missing.
>     Well my Makefile.am is a patched one, so I might have well
>     "ruined" the magic somehow, so I went on and specified where
>     I wanted my icons to be stored.
>     This is what I do in the Makefile.am:
>
>     icon_26x26_DATA=pixmaps/26x26/xournal.png
>     icon_26x26dir=$(prefix)/share/icons/hicolor/26x26/hildon
>     icon_40x40_DATA=pixmaps/40x40/xournal.png
>     icon_40x40dir=$(prefix)/share/icons/hicolor/40x40/hildon
>     icon_scalable_DATA=pixmaps/scalable/xournal.png
>     icon_scalabledir=$(prefix)/share/icons/hicolor/scalable/hildon
>
>     (where "prefix" is /usr)
>
>     The icon in the Menu is mostly fine. Not as small as for the bug
>     2568 (https://bugs.maemo.org/show_bug.cgi?id=2568), but
>     still smaller than the others.
>     Anyway my main issue is that the Task Navigator icon is STILL the
>     default one and not xournal.png
>
>     I checked Tomiphy code but it DOES not set any icon for the
>     application anywhere.
>     I then thought that Maemo would use the one pointed by the
>     .desktop file and removed the code to set the window icon:
>
>     /* gtk_window_set_icon(GTK_WINDOW(winMain),
>     create_pixbuf("xournal.png"));*/
>
>     but it did not help.
>
>     What should I do to make that icon appear correctly ?
>
>     PS: I do, in the xournal.postinst file, the icon cache update:
>
>     gtk-update-icon-cache -f /usr/share/icons/hicolor
>
>     -- 
>     anidel 
>
>
>
>
> -- 
> anidel


-- 
Ryan Pavlik
www.cleardefinition.com

#282  +  (442) -  [X]
A programmer started to cuss
Because getting to sleep was a fuss
As he lay there in bed
Looping 'round in his head
was: while(!asleep()) sheep++;


More information about the maemo-developers mailing list