1 |
# $Id$ |
# $Id$ |
2 |
|
|
3 |
push_config fluxbox_menuitem |
push_config 80_fluxbox_menuitem |
4 |
|
|
5 |
help_fluxbox_menuitem() |
help_fluxbox_menuitem() |
6 |
{ |
{ |
28 |
;; |
;; |
29 |
esac |
esac |
30 |
|
|
31 |
|
if [[ -z ${name} ]] |
32 |
|
then |
33 |
|
eecho "No name given" |
34 |
|
return 1 |
35 |
|
fi |
36 |
|
|
37 |
id=$(mysqldo "select id from cfg_fluxbox_menuitem where serial='${serial}' and name='${name}';") |
id=$(mysqldo "select id from cfg_fluxbox_menuitem where serial='${serial}' and name='${name}';") |
38 |
if [[ -n ${id} ]] |
if [[ -n ${id} ]] |
39 |
then |
then |
46 |
control_fluxbox_menuitem() |
control_fluxbox_menuitem() |
47 |
{ |
{ |
48 |
local serial="${CLASS_ARGV[0]}" |
local serial="${CLASS_ARGV[0]}" |
49 |
push_config_fluxbox_menuitem "${serial}" |
push_config_80_fluxbox_menuitem "${serial}" |
50 |
} |
} |
51 |
|
|
52 |
push_config_fluxbox_menuitem() |
push_config_80_fluxbox_menuitem() |
53 |
{ |
{ |
54 |
local serial="$1" |
local serial="$1" |
55 |
local values |
local values |