Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2564 by niro, Thu Sep 17 09:40:02 2015 UTC revision 2576 by niro, Thu Sep 17 10:45:21 2015 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  push_config fluxbox_menuitem  push_config 80_fluxbox_menuitem
4    
5  help_fluxbox_menuitem()  help_fluxbox_menuitem()
6  {  {
# Line 28  set_fluxbox_menuitem() Line 28  set_fluxbox_menuitem()
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
# Line 40  set_fluxbox_menuitem() Line 46  set_fluxbox_menuitem()
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

Legend:
Removed from v.2564  
changed lines
  Added in v.2576