Exemplo n.º 1
0
 def restartNoLogin_(self, sender):
     sabnzbd.cfg.username.set('')
     sabnzbd.cfg.password.set('')
     sabnzbd.config.save_config()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 2
0
 def restartNoLogin_(self, sender):
     sabnzbd.cfg.username.set('')
     sabnzbd.cfg.password.set('')
     sabnzbd.config.save_config()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 3
0
 def restartSafeHost_(self, sender):
     sabnzbd.cfg.cherryhost.set('127.0.0.1')
     sabnzbd.cfg.cherryport.set('8080')
     sabnzbd.cfg.enable_https.set(False)
     sabnzbd.config.save_config()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 4
0
 def restartSafeHost_(self, sender):
     sabnzbd.cfg.cherryhost.set('127.0.0.1')
     sabnzbd.cfg.cherryport.set('8080')
     sabnzbd.cfg.enable_https.set(False)
     sabnzbd.config.save_config()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 5
0
 def defhost(self, icon):
     sabnzbd.cfg.cherryhost.set('127.0.0.1')
     sabnzbd.cfg.enable_https.set(False)
     sabnzbd.config.save_config()
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
Exemplo n.º 6
0
 def nologin(self, icon):
     sabnzbd.cfg.username.set('')
     sabnzbd.cfg.password.set('')
     sabnzbd.config.save_config()
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
Exemplo n.º 7
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
Exemplo n.º 8
0
 def defhost(self, icon):
     sabnzbd.cfg.cherryhost.set("127.0.0.1")
     sabnzbd.cfg.enable_https.set(False)
     sabnzbd.config.save_config()
     self.hover_text = T("Restart")
     sabnzbd.trigger_restart()
Exemplo n.º 9
0
 def restart(self, icon):
     self.hover_text = T('Restart')
     sabnzbd.trigger_restart()
Exemplo n.º 10
0
 def restartAction_(self, sender):
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 11
0
 def restartAction_(self, sender):
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 12
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
Exemplo n.º 13
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
Exemplo n.º 14
0
 def restart_sab(self, icon):
     self.hover_text = T("Restart")
     logging.info("Restart requested by tray")
     sabnzbd.trigger_restart()
Exemplo n.º 15
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
Exemplo n.º 16
0
 def nologin(self, icon):
     sabnzbd.cfg.username.set("")
     sabnzbd.cfg.password.set("")
     sabnzbd.config.save_config()
     self.hover_text = T("Restart")
     sabnzbd.trigger_restart()
Exemplo n.º 17
0
 def restartAction_(self, sender):
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
Exemplo n.º 18
0
 def restart(self, icon):
     self.hover_text = T('Restart')
     sabnzbd.trigger_restart()
Exemplo n.º 19
0
 def restartAction_(self, sender):
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))