Commit f8b7e898 authored by Lucas Sulzbach's avatar Lucas Sulzbach

Merge branch 'issue/620' into 'develop'

SCRUM#620: Fix bug that keeps the switch blocked after closing epoptes

See merge request !70
parents 5098e7ab 87bcbbe8
Pipeline #18080 passed with stages
in 11 minutes and 47 seconds
./le-control-panel
./lcpmonitor
./le-control-panel.glade
./le-control-panel.desktop
./icons/hicolor/36x36/apps/le-control-panel.png
./icons/hicolor/72x72/apps/le-control-panel.png
./icons/hicolor/96x96/apps/le-control-panel.png
./icons/hicolor/128x128/apps/le-control-panel.png
./icons/hicolor/192x192/apps/le-control-panel.png
./help/le-control-panel.page
le-control-panel (1.0.4) unstable; urgency=medium
* Fix bug that keeps the switch blocked after closing epoptes (Closes: #620)
-- Guilherme Becker Agge <lesuporte@c3sl.ufpr.br> Wed, 17 Oct 2018 11:36:24 -0300
le-control-panel (1.0.3) unstable; urgency=medium
* Add socket lock to prevent opening multiple instances (Closes: #598)
......
dh_update_autotools_config
dh_prep
dh_install
dh_installdocs
dh_installchangelogs
dh_lintian
dh_icons
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
......@@ -502,9 +502,13 @@ def statusEpoptes(label):
s = builder.get_object("switchEpoptes")
if output.find("disabled") != -1:
label.set_text("Desabilitado")
if uid == 0:
s.set_sensitive(True)
return 0
elif output.find("enabled") != -1:
label.set_text("Habilitado")
if uid == 0:
s.set_sensitive(True)
return 1
elif output.find("client") != -1:
label.set_text("Modo cliente")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment