Commit 72dc9b9c authored by Rafael S Castilho's avatar Rafael S Castilho

SCRUM#535: Made buttons to change autoupdate run time

Signed-off-by: Rafael S Castilho's avatarRafael S Castilho <>
parent 0777e335
Pipeline #16033 passed with stages
in 8 minutes and 15 seconds
......@@ -189,16 +189,16 @@ class Handler:
Popen("zenity --error --text \"Minuto não pode ser"
"maior do que 59\"", shell=True)
self.cron_minute = m
self.cron_min = m
def onSetTimePressed(self, button):
fc = ct(tabfile='/etc/crontab')
c = fc.find_command('cron.daily')
for job in c:
Popen("zenity --info --text \"Suas modificações"
Popen("zenity --info --text \"Suas modificações "
"foram efetuadas\"", shell=True)
def passErrorResponse(self, dialog, response):
......@@ -484,7 +484,7 @@
<object class="GtkButton" id="aplicar_hora">
<property name="label" translatable="yes">aplicar</property>
<property name="label" translatable="yes">Aplicar</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
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