Guillaume Rousse <[EMAIL PROTECTED]> writes:

> A little error in menu entry :
> [guillaume@agathe guillaume]$ cat /usr/lib/menu/bluefish 
> ?package(bluefish): command="bluefish"
> icon="/usr/share/icons/bluefish.xpm" needs="x11" title="BlueFish 0.3.6"
>                                                                                      
>                 
> ^^^^^^

please everyone who make packages, read the mdk-rpm howto, providing
full path for icons is BAD.


from http://www.linux-mandrake.com/howtos/mdk-rpm/advanced.html#AEN635

icon: the xpm icon to be used by the Window Manager to refer to the
      application ; mainly used in the start button alike, but also can be
      used to dock (include in a toolbar/panel) the app ; therefore, you
      will not give an absolute path, and provide three classes of icons
      in your rpm package: a 16x16, a 32x32, and a 48x48, respectively in
      /usr/share/icons/mini, /usr/share/icons, and /usr/share/icons/large
      with the same name. There are macros for these three directories:
      %{_miconsdir} ; %{_iconsdir} ; %{_liconsdir}.



FYI, then the menu-methods will look in the three directories and take the
best possible size/icon according to where they want to put the icon
(menu, toolbar, etc)



-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/

Reply via email to