Example #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)
Example #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)
Example #3
0
 def deactivate(self):
     if self.statisticsThread != None:
         self.statisticsThread.stop()
     iface_general_plugin.deactivate(self)
 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)
Example #5
0
 def deactivate(self):
     iface_general_plugin.deactivate(self)
Example #6
0
 def deactivate(self):
     if self.statisticsThread != None:
         self.statisticsThread.stop()
     iface_general_plugin.deactivate(self)
 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)
Example #8
0
 def deactivate(self):
     get_notification_center().disconnectPrivacySettingsChanged(self._settingsChanged)
     iface_general_plugin.deactivate(self)
Example #9
0
 def deactivate(self):
     get_notification_center().disconnectOutdatedRepositoriesChanged(self._processUpdates)
     get_notification_center().disconnectUpToDateRepositoriesChanged(self._processUpdates)
     iface_general_plugin.deactivate(self)