예제 #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...')))
예제 #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...')))
예제 #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...')))
예제 #4
0
파일: osxmenu.py 프로젝트: sabnzbd/sabnzbd
 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...')))
예제 #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()
예제 #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()
예제 #7
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
예제 #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()
예제 #9
0
 def restart(self, icon):
     self.hover_text = T('Restart')
     sabnzbd.trigger_restart()
예제 #10
0
파일: osxmenu.py 프로젝트: jack9950/sabnzbd
 def restartAction_(self, sender):
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
     sabnzbd.trigger_restart()
     self.setMenuTitle_("\n\n%s\n" % (T('Stopping...')))
예제 #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...')))
예제 #12
0
파일: sabtray.py 프로젝트: usermonk/sabnzbd
 def restart(self, icon):
     self.hover_text = self.txt_restart
     logging.info('Restart requested by tray')
     sabnzbd.trigger_restart()
예제 #13
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
예제 #14
0
 def restart_sab(self, icon):
     self.hover_text = T("Restart")
     logging.info("Restart requested by tray")
     sabnzbd.trigger_restart()
예제 #15
0
 def restart(self, icon):
     self.hover_text = self.txt_restart
     sabnzbd.trigger_restart()
예제 #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()
예제 #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...')))
예제 #18
0
 def restart(self, icon):
     self.hover_text = T('Restart')
     sabnzbd.trigger_restart()
예제 #19
0
파일: osxmenu.py 프로젝트: sabnzbd/sabnzbd
 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...')))