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...')))
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...')))
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()
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()
def restart(self, icon): self.hover_text = self.txt_restart logging.info('Restart requested by tray') sabnzbd.trigger_restart()
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()
def restart(self, icon): self.hover_text = T('Restart') sabnzbd.trigger_restart()
def restartAction_(self, sender): self.setMenuTitle_("\n\n%s\n" % (T('Stopping...'))) sabnzbd.trigger_restart() self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
def restart(self, icon): self.hover_text = self.txt_restart sabnzbd.trigger_restart()
def restart_sab(self, icon): self.hover_text = T("Restart") logging.info("Restart requested by tray") sabnzbd.trigger_restart()
def nologin(self, icon): sabnzbd.cfg.username.set("") sabnzbd.cfg.password.set("") sabnzbd.config.save_config() self.hover_text = T("Restart") sabnzbd.trigger_restart()
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...')))