summaryrefslogtreecommitdiff
path: root/doc/README.changes
blob: 65581f483a75fc727865067526877a9b4e6c990d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Changes between pre 1.0 and 1.0:

Basically, both update-menus and install-menu have been re-written
from scratch.


*************************************
update-menus

  *forks to background, waits for dpkg to finish (to get a _correct_
   package listing). (This is now only done with dpkgs that don't support
   triggers.)

  *allows new menuentry format:
    needs=text     command=/usr/bin/vi section=Apps/Editors title=Vi \
                   longtitle="The editor that people complain even\
                   more about than the about weather, vi." \
                   id=vi sort=aa myfunkyvar=lichtbewolkt


*************************************

install-fvwmgen -> menu-method:
  
  *Change of name (The old name wasn't very good anyway, and
   it allows me to more easily change the format of the file).

  *Format changed: ${title} is now written as either $title or 
   print($title) (the latter giving an error if $title is empty).
   More about this in /usr/share/doc/menu/html.

  *Long lines can be continued on next line with a "\".
   (do make sure there are no spaces after the "\")

  *in the menu-methods files, tabs, newlines, etc used to need
   double \\, like "\\t, \\n". These is needed any more.
   (now looks like "\t, \n").

  *things like "startmenu=filename" don't work any more (nobody
   knew this worked anyway).

  *Lot's of new "functions", see README

  *Slightly different interpretation of variables:

    ${section} used to print the last part of the section name, now
    it prints the full section in a submenu, or the full section
    plus "/"$title in menuentries (or plus "/" $sort ":" $title
    if $sort is defined).
    
    ${fullsection} has been removed (section replaces this)
    
    $subsection now prints what ${section} would have printed
    with menu-0.11.
 
    the id tag isn't needed any more. Now using $sort ":" $title to 
    determine if two menuentries are the same.

  *in script: mainmenu= isn't accepted any more 
    (never used to work with "compat=gen").

  *Now you can actually add icons etc to the submenu entries,
   even to the root menus
   needs="X11" section="Apps" title="Ap" hotkey=X icon="myiconfile"