~ubuntu-branches/ubuntu/karmic/sawfish/karmic

« back to all changes in this revision

Viewing changes to debian/sawfish-gnome.menu-method

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2002-01-20 17:42:28 UTC
  • Revision ID: james.westby@ubuntu.com-20020120174228-1bge7pasjun191qn
Tags: 1.0.1.20020116-3
* Add an epoch to libcapplet-dev (Closes: #130123)
* Install sawfish-xgettext and add python on build-depnds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/sbin/install-menu
 
2
 
 
3
compat="menu-1";
 
4
 
 
5
!include menu.h
 
6
 
 
7
compat="menu-2";
 
8
 
 
9
userprefix=".sawfish/lisp";
 
10
rootprefix="/etc/X11/sawfish";
 
11
genmenu="debian-menu.jl";
 
12
rootsection="Debian";
 
13
 
 
14
supported;
 
15
   x11="          '(\"" $title "\" (system \"exec " $command " &\"))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
 
16
 
 
17
  text="          '(\"" $title "\" (system \"exec " esc(term(), "\"") " &\"))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
 
18
 
 
19
    wm="          '(\"" $title "\"(progn (setq saved-command-line-args '(\""$command"\")) (restart)))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
 
20
endsupported;
 
21
 
 
22
preoutput=";; This is -*-Lisp-*-\n;; Automagically generated file.  Do not edit (see /usr/doc/menu/html/index.html)\n\n(provide 'debian-menu)\n\n";
 
23
 
 
24
startmenu="(defvar " tolower(replacewith(replacewith(replacewith($section, "/ ", "--"), "(", "{"), ")", "}")) "-menu\n  (list\n";
 
25
endmenu="))\n";
 
26
submenutitle="  '(\"" $title "\" . " tolower(replacewith(replacewith(replacewith($section, "/ ", "--"), "(", "{"), ")", "}")) "-menu)" ifneq(entryindex(), sub(entrycount(), "1"), "\n");