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 2882 by niro, Fri Aug 14 08:43:19 2020 UTC revision 2883 by niro, Fri Aug 14 11:37:49 2020 UTC
# Line 74  push_config_80_fluxbox_menuitem() Line 74  push_config_80_fluxbox_menuitem()
74   fi   fi
75   if [[ ${cfg_fluxbox_menuitem_enabled} = 1 ]]   if [[ ${cfg_fluxbox_menuitem_enabled} = 1 ]]
76   then   then
77   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}\""
78   elif [[ ${cfg_fluxbox_menuitem_enabled} = 0 ]]   elif [[ ${cfg_fluxbox_menuitem_enabled} = 0 ]]
79   then   then
80   control_client "${serial}" set fluxbox.menuitem del "${cfg_fluxbox_menuitem_name}"   control_client "${serial}" set fluxbox.menuitem del "\"${cfg_fluxbox_menuitem_name}\""
81   # remove from database too   # remove from database too
82   mysqldo "delete from cfg_fluxbox_menuitem where id='${id}';"   mysqldo "delete from cfg_fluxbox_menuitem where id='${id}';"
83   else   else
# Line 154  push_config_80_fluxbox_autostart() Line 154  push_config_80_fluxbox_autostart()
154   fi   fi
155   if [[ ${cfg_fluxbox_autostart_enabled} = 1 ]]   if [[ ${cfg_fluxbox_autostart_enabled} = 1 ]]
156   then   then
157   control_client "${serial}" set fluxbox.autostart add "${cfg_fluxbox_autostart_name}" "${cfg_fluxbox_autostart_exec}"   control_client "${serial}" set fluxbox.autostart add "\"${cfg_fluxbox_autostart_name}\"" "\"${cfg_fluxbox_autostart_exec}\""
158   elif [[ ${cfg_fluxbox_autostart_enabled} = 0 ]]   elif [[ ${cfg_fluxbox_autostart_enabled} = 0 ]]
159   then   then
160   control_client "${serial}" set fluxbox.autostart del "${cfg_fluxbox_autostart_name}"   control_client "${serial}" set fluxbox.autostart del "\"${cfg_fluxbox_autostart_name}\""
161   # remove from database too   # remove from database too
162   mysqldo "delete from cfg_fluxbox_autostart where id='${id}';"   mysqldo "delete from cfg_fluxbox_autostart where id='${id}';"
163   else   else
# Line 197  push_config_80_fluxbox_theme() Line 197  push_config_80_fluxbox_theme()
197   then   then
198   decho "No theme retrieved"   decho "No theme retrieved"
199   else   else
200   control_client "${serial}" set fluxbox.theme "${value}"   control_client "${serial}" set fluxbox.theme "\"${value}\""
201   fi   fi
202  }  }
203    

Legend:
Removed from v.2882  
changed lines
  Added in v.2883