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 2545 by niro, Wed Sep 16 10:54:19 2015 UTC revision 2547 by niro, Wed Sep 16 11:17:52 2015 UTC
# Line 64  control_fluxbox_menuitem() Line 64  control_fluxbox_menuitem()
64   then   then
65   control_client "${serial}" set fluxbox.menuitem add "${cfg_fluxbox_menuitem_name}" "${cfg_fluxbox_menuitem_exec}" "${cfg_fluxbox_menuitem_workdir}" "${cfg_fluxbox_menuitem_icon}"   control_client "${serial}" set fluxbox.menuitem add "${cfg_fluxbox_menuitem_name}" "${cfg_fluxbox_menuitem_exec}" "${cfg_fluxbox_menuitem_workdir}" "${cfg_fluxbox_menuitem_icon}"
66   elif [[ ${cfg_fluxbox_menuitem_enabled} = 0 ]]   elif [[ ${cfg_fluxbox_menuitem_enabled} = 0 ]]
67     then
68   control_client "${serial}" set fluxbox.menuitem del "${cfg_fluxbox_menuitem_name}"   control_client "${serial}" set fluxbox.menuitem del "${cfg_fluxbox_menuitem_name}"
69   # remove from database too   # remove from database too
70   mysqldo "delete from cfg_fluxbox_menuitem where id='${id}';"   mysqldo "delete from cfg_fluxbox_menuitem where id='${id}';"
71   else   else
72   eecho "unknown enabled value id->'${id}', cfg_fluxbox_menuitem_enabled -> '${cfg_fluxbox_menuitem_enabled}'"   eecho "unknown enabled value id->'${id}', cfg_fluxbox_menuitem_enabled -> '${cfg_fluxbox_menuitem_enabled}'"
73   return 1   return 1
74     fi
75   done   done
76  }  }
77    

Legend:
Removed from v.2545  
changed lines
  Added in v.2547