Bug#257776: the menu entries installed by gksu abuse of the
 "hints" field
   
    giacomo boffi
     
    giacomo boffi <boffi@stru.polimi.it>, 257776@bugs.debian.org
       
    Wed, 21 Jul 2004 12:41:55 +0200
    
    
  
Package: gksu
Version: 1.2.0-2
Followup-For: Bug #257776
the menu entries installed by gksui using the file /usr/lib/menu/gksu
abuse of the "hints" field
|from menufile(5):
|
|              hints  A comma-separated list of hints on how grouping
|                     menu entries, see manual.
% cat /usr/lib/menu/gksu 
?package(gksu):\
needs="x11"\
section="Apps/System"\
title="X-Terminal as root (GKsu)"\
hints="Runs an X terminal application. Uses GKsu to ask the password."\
icon="/usr/share/pixmaps/gksu-debian.xpm"\
command="/usr/bin/gksu -u root /usr/bin/x-terminal-emulator"
?package(gksu):\
needs="x11"\
section="Apps/System"\
title="Run as different user (GKsu)"\
hints="Opens a dialog where you can type a command to be run as a given
user."\
icon="/usr/share/pixmaps/gksuexec-debian.xpm"\
command="/usr/bin/gksuexec"
% 
the fields "description" and "longtitle" aren't described in the
man page, but other packages use those fields to give the info that gksu
stores into the "hints" field
hth, ciao
                                                                     gb
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C
Versions of packages gksu depends on:
ii  libatk1.0-0                 1.6.1-2      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgksu1.2-0                1.2.2-1      library providing su and sudo func
ii  libgksuui1.0-0              1.0.1-1      a graphical fronted to su library
ii  libglib2.0-0                2.4.4-1      The GLib library of C routines
ii  libgtk2.0-0                 2.4.3-3      The GTK+ graphical user interface 
ii  libpango1.0-0               1.4.0-4      Layout and rendering of internatio
-- no debconf information