Hello Bill,

Determining parent section name by its title (not by package name, as in my original menu file) with the rest of full section path - thank you for this hint, it was my mistake, not bug. Now update-menus works for IceWM as I expect.

My purpose is to reconstruct manually written IceWM toolbar into menu files and then generate from them customized menus for another window managers like XFWM.

By the way: in --menufilesdir option directory name required trailing slash.

Regards
Tomasz



On 31.08.2010 18:52, Bill Allombert wrote:
On Tue, Aug 31, 2010 at 05:10:19PM +0200, Tomasz [arctgx] Nowiński wrote:

?package(local.image): \
        needs="X11"\
        title="Image"\
        section="Applications"\
        command="" \
        icon=geeqie.xpm
?package(local.geeqie):\
        needs="X11"\
        title="Geeqie"\
        section="image"\
        icon="geeqie.xpm"\
        command=/usr/bin/geeqie
Hello Tomasz,

I tried your script and everything worked fine here. The only problem is that
there is no entries in the section Applications/Image, so this section is not
displayed (and so is its logo), but this is the expected behaviour.

If I change local.geeqie section to section="Applications/Image", you get
...
menu "Image" [geeqie.xpm]geeqie.xpm {
         prog "Geeqie"   "geeqie.xpm"     /bin/sh -c "/usr/bin/geeqie"
}
...

which I believe is what you want.

Cheers,




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to