示例#1
0
 def destroy(self):
     # show at least menubar again, set margins to zero & restore colors
     self.ui.uistate['MainWindow']['show_menubar_fullscreen'] = True
     self._set_margins(0, 0, 0, 0)
     if self._normal_colors:
         self._set_colors(self._normal_colors)
     PluginClass.destroy(self)
示例#2
0
文件: calendar.py 项目: thejeshgn/Zim
	def destroy(self):
		if self._set_template:
			ns = self._set_template
			try:
				self.ui.notebook.namespace_properties[ns].remove('template')
			except KeyError:
				pass
		self.destroy_embedded_widget()
		PluginClass.destroy(self)
示例#3
0
文件: tags.py 项目: thejeshgn/Zim
	def destroy(self):
		self.disconnect_embedded_widget()
		PluginClass.destroy(self)
示例#4
0
文件: __init__.py 项目: Jam71/Zim-QDA
 def destroy(self):
     self._drop_table()
     PluginClass.destroy(self)
示例#5
0
	def destroy(self):
		self.disconnect_sidepane()
		self.disconnect_floating()
		PluginClass.destroy(self)
示例#6
0
 def destroy(self):
     self.disconnect_trayicon()
     self.ui.hideonclose = False
     PluginClass.destroy(self)