Hi,

Using the following command, I get unexpected results:

fvwm-menu-desktop  --desktop fvwm --menu-type applications \
--enable-mini-icons --theme FVWM_Xdg --size 24 --mini-icon-dir \
${FVWM_USERDIR}/icons/fvwm-desktop > applications.menu

give:

DestroyMenu "FvwmMenu"
AddToMenu "FvwmMenu"
+
"Accessoires%/home/dom/.fvwm-crystal/icons/fvwm-desktop/24x24-applications-accessories.png%"
Popup "Accessoires"
+
"Autres%/home/dom/.fvwm-crystal/icons/fvwm-desktop/24x24-applications-other.png%"
Popup "Autres"
+
"Bureau%/home/dom/.fvwm-crystal/icons/fvwm-desktop/24x24-applications-office.png%"
Popup "Bureau" +
"Développement%/home/dom/.fvwm-crystal/icons/fvwm-desktop/24x24-applications-development.png%"
Popup "Développement"

with a index.theme file with:

# Directory list
Directories=24x24/categories,16x16/categories,32x32/categories

But when I have the following:

Directories=24x24/categories

the same command than above give:

DestroyMenu "FvwmMenu"
AddToMenu "FvwmMenu"
+
"Accessoires%/usr/share/icons/FVWM_Xdg/24x24/categories/applications-accessories.png%"
Popup "Accessoires"
+
"Autres%/usr/share/icons/FVWM_Xdg/24x24/categories/applications-other.png%"
Popup "Autres"
+
"Bureau%/usr/share/icons/FVWM_Xdg/24x24/categories/applications-office.png%"
Popup "Bureau"
+
"Développement%/usr/share/icons/FVWM_Xdg/24x24/categories/applications-development.png%"
Popup "Développement" +
"Infographie%/usr/share/icons/FVWM_Xdg/24x24/categories/applications-graphics.png%"
Popup "Infographie"

The fist time, the icons are converted and put in ~/.fvwm-crystal/...
the second time the icons are taken directly from the theme
in /usr/share/icons....

According to
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
this is the order of the directories into the Directories key that
should determine how they are used.

Visually, the icons in the menu look much better when they are taken
directly from the theme. So I don't know if it is a bug in
fvwm-menu-desktop or if I am doing something wrong.

Dominique

Reply via email to