Beispiel #1
0
 def removeListenersPostHook(self):
     pub.unsubscribe(self.psBufferChanged, 'buffer.opened')
     pub.unsubscribe(self.psBufferChanged, 'buffer.modified')
     pub.unsubscribe(self.psBufferClosed, 'buffer.closed')
Beispiel #2
0
 def deactivateHook(self):
     pub.unsubscribe(RecentFiles.append, 'buffer.opened')
     pub.unsubscribe(RecentProjectFiles.append, 'project.file.opened')
     pub.unsubscribe(self.getTabMenu, 'tabs.context_menu')
Beispiel #3
0
 def deactivateHook(self):
     pub.unsubscribe(self.getTabMenu, 'tabs.context_menu')
Beispiel #4
0
 def removeListenersPostHook(self):
     pub.unsubscribe(self.psBufferChanged, 'buffer.opened')
     pub.unsubscribe(self.psBufferChanged, 'buffer.modified')
     pub.unsubscribe(self.psBufferClosed, 'buffer.closed')
Beispiel #5
0
 def deactivateHook(self):
     Publisher().unsubscribe(self.projectInfo)
     Publisher().unsubscribe(self.getFundamentalMenu)
     Publisher().unsubscribe(self.applyProjectSettings)
     pub.unsubscribe(self.getTabMenu, "tabs.context_menu")
Beispiel #6
0
 def deactivateHook(self):
     Publisher().unsubscribe(self.projectInfo)
     Publisher().unsubscribe(self.getFundamentalMenu)
     Publisher().unsubscribe(self.applyProjectSettings)
     pub.unsubscribe(self.getTabMenu, 'tabs.context_menu')
Beispiel #7
0
 def deactivateHook(self):
     pub.unsubscribe(self.getTabBackgroundMenu, 'tab_background.context_menu')
     pub.unsubscribe(self.getTabMenu, 'tabs.context_menu')
     Publisher().unsubscribe(self.getFundamentalMenu)
Beispiel #8
0
 def deactivateHook(self):
     pub.unsubscribe(RecentFiles.append, 'buffer.opened')
     pub.unsubscribe(RecentProjectFiles.append, 'project.file.opened')
     pub.unsubscribe(self.getTabMenu, 'tabs.context_menu')