~muhammad-takdir/blankon/gnome-panel-1

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
#!/usr/bin/install-menu
# gnome-vfolder based on:
# Also used as /etc/menu-methods/menu-xdg
# Copyright 2004 - Chris Cheney <ccheney@debian.org>
# Licensed under the GNU General Public License, version 2.

!include menu.h

compat="menu-2"
outputencoding="UTF-8";
outputlanguage="C";

function DirEntry() =
	"    <Name>" translate("",title()) "</Name>\n"
        "    <Desktop>" "debian" replacewith(tolower($section),"/","-") ".directory" "</Desktop>\n";

function desktop() = prefix() "/../../.local/share/applications/menu-xdg/X-Debian" replacewith($basesection,"/","-") "-" tolower(replacewith($title,"/ ","__") ".desktop");

supported;
 x11 = "<Include>" desktop() "</Include>\n";
 text = "<Include>" desktop() "</Include>\n";
endsupported;

startmenu = "  <Folder>\n" DirEntry();
endmenu = "  </Folder>\n";
submenutitle = "";

treewalk = "(M)";

genmenu = "applications.debmenu";
rcfile = "applications.vfolder-info";
examplercfile="applications.template";
mainmenutitle="Debian-user";

rootsection = "";

onlyrunasuser=true;
userprefix = ".gnome2/vfolders";
rootprefix = "/etc/gnome-vfs-2.0/vfolders";

preoutput = "";
postoutput = "";