Package: icewm Version: 1.3.7-5 Severity: wishlist File: /etc/menu-methods/icewm
This is an idea to have /etc/menu-methods/icewm make use of $icon16x16 when provided by a menu entry. I see icewm shows 16x16 and so that size can be helpfully preferred, expecting a native 16x16 to look better than icewm's runtime resize of something bigger.
--- icewm.orig 2013-09-21 15:00:14.000000000 +1000 +++ icewm 2013-09-21 15:43:01.000000000 +1000 @@ -1,10 +1,25 @@ #!/usr/sbin/install-menu compat="menu-1" +# icewm 1.3.7 displays its icons 16x16, so prefer $icon16x16 if +# available. Plain $icon is an unknown size but will be resized by +# icewm at runtime as necessary. +# +# $icon32x32 is a fallback, though it would be unusual to have it but +# have neither $icon16x16 nor plain $icon. +# +# Normally the menu.h icon() func would be used so the user or +# sysadmin can configure a preferred size, but since icewm always +# shows 16x16 the order is fixed here. +# +function icewm_icon()=ifelse($icon16x16, $icon16x16, \ + ifelse($icon, $icon, \ + $icon32x32)) + supported - x11= " prog \"" $title "\" " ifempty($icon,"-") ifnempty($icon,$icon) " " $command"\n" - text= " prog \"" $title"\" " ifempty($icon,"-") ifnempty($icon,$icon) " xterm -T \"" $title "\" -e " $command"\n" - wm= " restart \"" $title"\" " ifempty($icon,"-") ifnempty($icon,$icon) " " $command"\n" + x11= " prog \"" $title "\" " ifempty(icewm_icon(),"-") ifnempty(icewm_icon(),icewm_icon()) " " $command"\n" + text= " prog \"" $title"\" " ifempty(icewm_icon(),"-") ifnempty(icewm_icon(),icewm_icon()) " xterm -T \"" $title "\" -e " $command"\n" + wm= " restart \"" $title"\" " ifempty(icewm_icon(),"-") ifnempty(icewm_icon(),icewm_icon()) " " $command"\n" endsupported startmenu=ifneq($title,"Debian menu",ifroot("menu \"" $title "\" folder {\n","menu \"" $title "\" folder {\n"))
-- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-486 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages icewm depends on: ii icewm-common 1.3.7-5 ii libc6 2.17-92 ii libesd0 0.2.41-11 ii libfontconfig1 2.10.2-2 ii libgcc1 1:4.6.1-3 ii libgdk-pixbuf2.0-0 2.28.2-1 ii libglib2.0-0 2.36.4-1 ii libice6 2:1.0.8-2 ii libsm6 2:1.2.1-2 ii libx11-6 2:1.6.1-1 ii libxext6 2:1.3.2-1 ii libxft2 2.3.1-1 ii libxinerama1 2:1.1.3-1 ii libxrandr2 2:1.4.1-1 ii ttf-dejavu-core 2.33+svn2514-3 icewm recommends no packages. Versions of packages icewm suggests: pn icewm-gnome-support <none> -- no debconf information