def on_btn_copy_clicked( self, button ):
		iter = self.list_folder_view.get_selection().get_selected()[1]
		if iter is None:
			return

		path = self.store_folder_view.get_value( iter, 1 )
		path = self.snapshots.get_snapshot_path_to( self.snapshot_id, path )

		gnomeclipboardtools.clipboard_copy_path( path )
    def on_btn_copy_clicked(self, button):
        iter = self.list_folder_view.get_selection().get_selected()[1]
        if iter is None:
            return

        path = self.store_folder_view.get_value(iter, 1)
        path = self.snapshots.get_snapshot_path_to(self.snapshot_id, path)

        gnomeclipboardtools.clipboard_copy_path(path)
示例#3
0
 def on_btn_copy_snapshot_clicked(self, button):
     iter = self.list_snapshots.get_selection().get_selected()[1]
     if not iter is None:
         path = self.snapshots.get_snapshot_path_to(
             self.store_snapshots.get_value(iter, 1), self.path)
         gnomeclipboardtools.clipboard_copy_path(path)
	def on_btn_copy_snapshot_clicked( self, button ):
		iter = self.list_snapshots.get_selection().get_selected()[1]
		if not iter is None:
			path = self.snapshots.get_snapshot_path_to( self.store_snapshots.get_value( iter, 1 ), self.path )
			gnomeclipboardtools.clipboard_copy_path( path )