
functions
files
intro
|
|
yast2 |
modules/Desktop.ycp |
| Handling of .desktop entries |
|
|
Imports
Global Variables
Global Functions
Local Variables
Local Functions
|
|
|
|
global Modules -> map<string,map>
|
|
YaST configuration modules
|
global Groups -> map<string,map>
|
|
YaST configuration groups
Optional agent path to the desktop files
Optional language for reading translated entries
|
local ReadLocalizedKey (path keypath, string key) -> string
|
|
- Parameters:
|
global Read (list<string> Values) -> void
|
|
Read module and group data from desktop files
- Parameters:
|
Values |
list of values to be parsed (empty to read all) |
|
global Translate (string key) -> string
|
|
- Parameters:
|
local CreateList (map M) -> list <term>
|
|
- Parameters:
|
global GroupList () -> list <term>
|
|
|
global ModuleList (string group) -> list <term>
|
|
- Parameters:
|
local MakeAutostartMap (string exec, list<string> args) -> map<string, string>
|
|
- Parameters:
|
global RunViaDesktop (string exec, list<string> args) -> void
|
|
Runs a program by writing a special desktop file.
Works with KDE and GNOME.
Useful for kinternet, see bug 37864#c17
- Parameters:
|
exec |
program to exec (basename) |
|
args |
|
|