def do_copy(self): #~ print '!! copy location' page = self.get_selected_path() if page: Clipboard.set_pagelink(self.ui.notebook, page)
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)