Exemplo n.º 1
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("IP Renewer")
     self.event_id = None
     self.parent = parent
     #self.rlock = threading.RLock()
     self.ip_renewer_cls = IPRenewer()
Exemplo n.º 2
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("IP Renewer")
     self.event_id = None
     self.parent = parent
     #self.rlock = threading.RLock()
     self.ip_renewer_cls = IPRenewer()
Exemplo n.º 3
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Auto Extraction")
     self.event_id = None
     self.parent = parent
     self.lock = threading.Lock()
     self.widgets_list = []
     events.connect(cons.EVENT_PASSWORD, passwords_handler.add)
Exemplo n.º 4
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("History")
     self.event_id = events.connect(cons.EVENT_DL_COMPLETE, self.trigger)
     self.parent = parent
     self.config = conf
     self.history = History()
     self.history_tab = HistoryContainer(self.history, self.parent)
Exemplo n.º 5
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Auto Extraction")
     self.event_id = None
     self.parent = parent
     self.lock = threading.Lock()
     self.widgets_list = []
     events.connect(cons.EVENT_PASSWORD, passwords_handler.add)
Exemplo n.º 6
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("History")
     self.event_id = events.connect(cons.EVENT_DL_COMPLETE, self.trigger)
     self.parent = parent
     self.config = conf
     self.history = History()
     self.history_tab = HistoryContainer(self.history, self.parent)
Exemplo n.º 7
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.event_id = None
     self.parent = parent
     self.config = conf
     self.old_retries_count = self.config.get_retries_limit()
     if self.old_retries_count == RETRIES_LIMIT:
         self.config.set_retries_limit(str(99))
         self.old_retries_count = 99
Exemplo n.º 8
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.event_id = None
     self.parent = parent
     self.config = conf
     self.old_retries_count = self.config.get_retries_limit()
     if self.old_retries_count == RETRIES_LIMIT:
         self.config.set_retries_limit(str(99))
         self.old_retries_count = 99