示例#1
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     register.register_app_path()
     register.register_client()
     register.register_och_uri_scheme()
     self.start_server()
示例#2
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     # TODO: add preference choice to extract on all_dl_complete or just dl_complete
     AddonCore.__init__(self, parent)
     self.name = _("Auto extraction")
     self.unrar_gui = UnRARGUI(parent)
     events.add_password.connect(passwords_handler.add)
示例#3
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("Mega decrypter")
     self.decrypt_manager = DecryptManager()
     self.tab = Tab(parent, self.decrypt_manager)
     events.download_complete.connect(self.trigger)
示例#4
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()
示例#5
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Clipboard")
     self.event_id = None
     self.clipboard_monitor = Clipboard(parent)
     self.parent = parent
     self.config = conf
示例#6
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Auto Extraction")
     self.event_id = None
     self.parent = parent
     self.unrar_gui = UnRARGUI(parent)
     events.connect(cons.EVENT_PASSWORD, passwords_handler.add)
示例#7
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("Shutdown")
     self.old_retries_count = conf.get_retries_limit()
     if self.old_retries_count == RETRIES_LIMIT:
         conf.set_retries_limit(str(99))
         self.old_retries_count = 99
示例#8
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("Shutdown")
     self.old_retries_count = conf.get_retries_limit()
     if self.old_retries_count == RETRIES_LIMIT:
         conf.set_retries_limit(str(99))
         self.old_retries_count = 99
示例#9
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Clipboard")
     self.event_id = None
     self.clipboard_monitor = Clipboard(parent)
     self.parent = parent
     self.config = conf
示例#10
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("History")
     self.event_id = None
     self.parent = parent
     self.config = conf
     self.history = History()
     self.history_tab = HistoryTab(self.history)
示例#11
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("History")
     self.event_id = None
     self.parent = parent
     self.config = conf
     self.history = History()
     self.history_tab = HistoryTab(self.history)
示例#12
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
示例#13
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
示例#14
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("IP renewer")
     self.ip_renewer = IPRenewer()
示例#15
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("IP renewer")
     self.ip_renewer = IPRenewer()
示例#16
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.connect()
示例#17
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     pass
示例#18
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.event_id = None
     self.parent = parent
     self.connect()
示例#19
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     register.register_app_path()
     register.register_och_uri_scheme()
示例#20
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.connect()
示例#21
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     signals.window_hide.connect(self.show_unlock_dialog)
示例#22
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     pass
示例#23
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     misc.register_app_path()
     self.start_server()
示例#24
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("History")
     self.history = History()
     self.history_tab = HistoryTab(self.history)
示例#25
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("Auto extraction")
     self.unrar_gui = UnRARGUI(self.parent)
     events.add_password.connect(passwords_handler.add)
示例#26
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     self.name = _("Clipboard")
     self.clipboard_monitor = Clipboard()
示例#27
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self, parent)
     register.register_app_path()
     register.register_och_uri_scheme()
示例#28
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.name = _("Video grabber")
     self.parent = parent
示例#29
0
 def __init__(self, parent, *args, **kwargs):
     """"""
     AddonCore.__init__(self)
     self.event_id = None
     self.parent = parent
     self.connect()