예제 #1
0
 def do_copy(self):
     #~ print '!! copy location'
     page = self.get_selected_path()
     if page:
         Clipboard.set_pagelink(self.ui.notebook, page)
예제 #2
0
	def do_copy(self):
		#~ print '!! copy location'
		page = self.get_selected_path()
		if page:
			Clipboard.set_pagelink(self.ui.notebook, page)
예제 #3
0
 def copy_location(self):
     '''Menu action to copy the current page name to the clipboard'''
     from zim.gui.clipboard import Clipboard
     Clipboard.set_pagelink(self.notebook, self.page)