示例#1
0
 def uninstall_plugins_thread(self):
     for p in self.plug:
         try:
             plugin_manager.uninstall_plugin(p)
             self.emit(SIGNAL("plugin_uninstalled(PyQt_PyObject)"), p)
         except Exception as e:
             logger.warning("Impossible to uninstall (%s): %s", p[0], e)
 def uninstall_plugins_thread(self):
     """Uninstall a plugin"""
     for p in self.plug:
         try:
             plugin_manager.uninstall_plugin(p)
             self.plugin_uninstalled.emit(p)
         except Exception as e:
             logger.warning("Impossible to uninstall (%s): %s", p[0], e)
示例#3
0
 def uninstall_plugins_thread(self):
     """Uninstall a plugin"""
     for p in self.plug:
         try:
             plugin_manager.uninstall_plugin(p)
             self.plugin_uninstalled.emit(p)
         except Exception as e:
             logger.warning("Impossible to uninstall (%s): %s", p[0], e)
示例#4
0
 def update_plugin_thread(self):
     """
     Updates some plugins
     """
     for p in self.plug:
         plugin_manager.uninstall_plugin(p)
         plugin_manager.download_plugin(p[5])
         plugin_manager.update_local_plugin_descriptor([p])
         self._manager.reset_installed_plugins()
示例#5
0
 def update_plugin_thread(self):
     """
     Updates some plugins
     """
     for p in self.plug:
         plugin_manager.uninstall_plugin(p)
         plugin_manager.download_plugin(p[5])
         plugin_manager.update_local_plugin_descriptor([p])
         self._manager.reset_installed_plugins()
示例#6
0
 def update_plugin_thread(self):
     """
     Updates some plugins
     """
     for p in self.plug:
         try:
             plugin_manager.uninstall_plugin(p)
             name = plugin_manager.download_plugin(p[5])
             p.append(name)
             plugin_manager.update_local_plugin_descriptor([p])
             self._manager.reset_installed_plugins()
         except Exception as e:
             logger.warning("Impossible to update (%s): %s", p[0], e)
示例#7
0
 def update_plugin_thread(self):
     """
     Updates some plugins
     """
     for p in self.plug:
         try:
             plugin_manager.uninstall_plugin(p)
             name = plugin_manager.download_plugin(p[5])
             p.append(name)
             plugin_manager.update_local_plugin_descriptor([p])
             self._manager.reset_installed_plugins()
         except Exception as e:
             logger.warning("Impossible to update (%s): %s", p[0], e)
示例#8
0
 def uninstall_plugins_thread(self):
     for p in self.plug:
         plugin_manager.uninstall_plugin(p)
         self.emit(SIGNAL("plugin_uninstalled(PyQt_PyObject)"), p)
示例#9
0
 def uninstall_plugins_thread(self):
     for p in self.plug:
         plugin_manager.uninstall_plugin(p)
         self.emit(SIGNAL("plugin_uninstalled(PyQt_PyObject)"), p)