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 2760 by niro, Tue Feb 2 14:49:47 2016 UTC revision 2762 by niro, Tue Feb 2 14:58:04 2016 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3    push_firstboot 80_fluxbox_menuitem
4    
5  push_config 80_fluxbox_menuitem  push_config 80_fluxbox_menuitem
6  push_config 80_fluxbox_autostart  push_config 80_fluxbox_autostart
7    
# Line 198  push_config_80_fluxbox_theme() Line 200  push_config_80_fluxbox_theme()
200   control_client "${serial}" set fluxbox.theme "${value}"   control_client "${serial}" set fluxbox.theme "${value}"
201   fi   fi
202  }  }
203    
204    push_firstboot_80_fluxbox_menuitem()
205    {
206     local serial="$1"
207     local ids
208    
209     ids=$(mysqldo "select id from cfg_fluxbox_menuitem where serial='${serial}';")
210     if [[ -z ${ids} ]] || [[ ${ids} = NULL ]]
211     then
212     # create a empty menu, just delete all entries
213     control_client "${serial}" set fluxbox.menuitem del
214     fi
215    }

Legend:
Removed from v.2760  
changed lines
  Added in v.2762