[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RH and GNOME



Very nice! Why don't you send it as a wishlist bug (patch) against
gnome-base (or directly to Jim Pick) to have it included in the next
version? Nice work,
					    Federico
					    

On Thu, Jul 23, 1998 at 12:15:50PM +0200, Michael Bramer wrote:
> On Thu, Jul 23, 1998 at 09:40:55AM +0200, fog@irfmn.mnegri.it wrote:
> > On Wed, Jul 22, 1998 at 11:06:00PM -0500, Havoc Pennington wrote:
> > > On Wed, 22 Jul 1998, Andreas Jellinghaus wrote:
> > > > i hope to find some time, to change kpanel, gnome panel and debian menu
> > > > system (and every other system if i can get the source) to use common
> > > > directories, nameing etc.
> > > A very cool idea.
> > Wouldn't be better to write a menu method that builds gnome-panel dir hierarchy
> > (I don't know about kpanel) from the standard menus? (Like the other wm-specific
> > methods do.)
> 
> We have it for KDE:
> root@titanic:~# o /etc/menu-methods/kde
> #!/usr/sbin/install-menu
> compat="menu-1"
> 
> !include menu.h
> 
> function default($var,$com)= \
>         "# KDE Config File\n" \
>         "[KDE Desktop Entry]\n" \
>         "Type=Application\n" \
>         "Exec=" $command "\n" \
>         "Name=" title() "\n" \
>         $var  \
>         "Comment=" ifelse($longtitle,$longtitle,$title) "\n" \
>         ifnempty(icon(),"Icon=/usr/X11R6/include/X11/pixmaps/" icon() "\n")
> 
> supported
>   x11=  ifelsefile($kdelnk,catfile($kdelnk),default("",$command))
>   text= ifelsefile($kdelnk,catfile($kdelnk),default("Terminal=1\n",$command))
>   kde= ifelsefile($kdelnk,catfile($kdelnk),default("",$command))
> endsupported
> 
> genmenu=parent($section) "/" $title ".kdelnk"
> startmenu=""
> endmenu=""
> #submenutitle=""
> rootsection=""
> rootprefix="/var/spool/kdeapplnk"
> userprefix="/Personal/Debian"
> prerun="test -n \""prefix()"\" && rm -rf " prefix() "/* "
> #treewalk="c()"
> treewalk="M"
> preoutput=""
> 
> and with little changes for gnome to:
> 
> root@titanic:/etc/menu-methods# cat gnome
> #!/usr/sbin/install-menu
> compat="menu-1"
> 
> !include menu.h
> 
> function default($var,$com)= \
>         "# Gnome Config File\n" \
>         "[Desktop Entry]\n" \
>         "Name=" title() "\n" \
>         "Comment=" ifelse($longtitle,$longtitle,$title) "\n" \
>         "TryExec=" $command "\n" \
>         "Exec=" $command "\n" \
>         "Type=Application\n" \
>         $var  \
>         ifnempty(icon(),"Icon=/usr/X11R6/include/X11/pixmaps/" icon() "\n")
> 
> supported
>   x11=  ifelsefile($kdelnk,catfile($kdelnk),default("",$command))
>   text= ifelsefile($kdelnk,catfile($kdelnk),default("Terminal=1\n",$command))
> endsupported
> 
> genmenu=parent($section) "/" $title ".desktop"
> startmenu=""
> endmenu=""
> #submenutitle=""
> rootsection=""
> rootprefix="/usr/share/apps/Debian"
> userprefix="/Debian"
> prerun="test -n \""prefix()"\" && rm -rf " prefix() "/* "
> #treewalk="c()"
> treewalk="M"
> preoutput=""
> 
> 
> Grisu



-- 
--***********************************************************************
* Federico DI Gregorio ** GCS/S/>L d- s:>:+ a26 C++ UL++ P+++ L*+++>$ D *
*   <fog@debian.org>   ** W+>++ N+ o? !K w--->!$ O M- V-- PS+(+++) PE(--) 
*   Debian Developer   ** Y+(-)(+)(-)... PGP+ s+ 5- X+++ R*<+(+++) b+++ *
*                      ** DI++ D---- G- e+++>++++ h--- r++ z++          *
*************************************************************************


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: