Package: menu
Version: 2.1.41
Severity: wishlist

Hi,
while playing with menu system I found, that an example from
Debian Menu System / chapter "3.9 Entries for menu sections"

> It is possible to add entries for menu sections, but it is not
> mandatory since section entries are created automatically. However,
> this allows to specify fields for sections like icon and sort. The
> syntax for menu sections entries is the same as for regular entries,
> the section field holding the name of the parent section. For example
> 
>      ?package(local.games): needs="text" title="Games" section="/" sort="001"
> 
> will sort Games first.

does not work for me. After some investigation I found, that
/etc/menu-methods/menu.h contains:

> # This sort menu entry case-insensitively.
> sort=tolower(title())

and I must change it to something like:

> sort=$sort ":" tolower(title())

to achieve the above example to work.

So menu.h or documentation should be changed.
Thanks
-- 
Zito



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages menu depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-1  GCC support library
ii  libstdc++6                    4.3.2-1    The GNU Standard C++ Library v3

menu recommends no packages.

Versions of packages menu suggests:
ii  gksu                    2.0.0-5          graphical frontend to su
ii  kdebase-bin             4:3.5.9.dfsg.1-5 core binaries for the KDE base mod

-- no debconf information



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

Reply via email to