Пример #1
0
 def deactivate(self):
     for name,conn in self.open_connections.iteritems():
         try:
             conn.close(self.logger)
         except:
             self.logger.exception("While deactivating: Could not close connection %s", name)   
     iface_general_plugin.deactivate(self)
Пример #2
0
 def deactivate(self):
     if self._activated:
         if self._scheduleTimer is not None:
             self._scheduleTimer.stop()
             self._scheduleTimer.deleteLater()
             
         get_notification_center().emitUpdatesDisabled()
         get_notification_center().disconnectInstallUpdates(self.installUpdates)
         get_notification_center().disconnectRepositoriesChanged(self._repoUpdateHandler.checkForUpdates)
         
         if self._appUpdateHandler is not None:
             self._appUpdateHandler.deactivate()
         if self._repoUpdateHandler is not None:
             self._repoUpdateHandler.deactivate()
     iface_general_plugin.deactivate(self)
Пример #3
0
 def deactivate(self):
     if self.statisticsThread != None:
         self.statisticsThread.stop()
     iface_general_plugin.deactivate(self)
Пример #4
0
 def deactivate(self):
     log_info("Stopping panic button listener")
     if self.panic_thread != None:
         self.panic_thread.stop_daemon()
         #TODO: self.panic_thread.join()
     iface_general_plugin.deactivate(self)
Пример #5
0
 def deactivate(self):
     iface_general_plugin.deactivate(self)
Пример #6
0
 def deactivate(self):
     if self.statisticsThread != None:
         self.statisticsThread.stop()
     iface_general_plugin.deactivate(self)
Пример #7
0
 def deactivate(self):
     log_info("Stopping panic button listener")
     if self.panic_thread != None:
         self.panic_thread.stop_daemon()
         #TODO: self.panic_thread.join()
     iface_general_plugin.deactivate(self)
Пример #8
0
 def deactivate(self):
     get_notification_center().disconnectPrivacySettingsChanged(self._settingsChanged)
     iface_general_plugin.deactivate(self)
Пример #9
0
 def deactivate(self):
     get_notification_center().disconnectOutdatedRepositoriesChanged(self._processUpdates)
     get_notification_center().disconnectUpToDateRepositoriesChanged(self._processUpdates)
     iface_general_plugin.deactivate(self)