diff --git a/package/debian/changelog b/package/debian/changelog index 071732d6eacf29ffa3c5178f2add65bad74efc4d..6475823da846d8df92e2b39d765484159715d608 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,10 @@ +le-control-panel (1.0.0) unstable; urgency=medium + + * Update lelab module's command line call to match le-lab:1.0.0's syntax + * Fix epoptes' led bug + + -- Lucas Sulzbach <lesuporte@c3sl.ufpr.br> Tue, 12 Jun 2018 10:05:06 -0300 + le-control-panel (0.2.0) unstable; urgency=medium * Add switch to enable/disable epoptes (Closes: #573) diff --git a/package/debian/control b/package/debian/control index 4e8f90c7cd1390763de8bdb9633767df09f70b1b..46881e91419611fd7ff93155bae290e8524748b4 100644 --- a/package/debian/control +++ b/package/debian/control @@ -11,5 +11,6 @@ Package: le-control-panel Architecture: all Depends: python, gksu, inotify-tools, ${shlibs:Depends}, ${misc:Depends}, gtk2-engines-murrine, python-apt, python-crontab Recommends: le-conf (>= 0.0.20) +Pre-Depends: le-lab (>= 1.0.0) Description: Admin tool to configure Linux Educacional le-control-panel is a tool to configure Linux Educacional. diff --git a/package/le-control-panel b/package/le-control-panel index 6439d017432d3f78be599b4626c3d57ecd36ab62..857667c1e9447c0e9bd741bffdca5b5f4286c028 100755 --- a/package/le-control-panel +++ b/package/le-control-panel @@ -496,7 +496,7 @@ def getEdubarStorage(): def statusEpoptes(label): try: - output = runShellCommand("le-lab -s get_attribute epoptes _status")[0] + output = runShellCommand("le-lab --get_attribute epoptes _status")[0] s = builder.get_object("switchEpoptes") if output.find("disabled") != -1: label.set_text("Desabilitado") @@ -558,7 +558,7 @@ def getShieldLocalState(): def getShieldNetworkState(): try: - output, err = runShellCommand("family-shield --status --network") + output = runShellCommand("family-shield --status --network")[0] if output.find("enabled") != -1: return True else: