[kupfer] apt_tools: Make Package objects Ctrl+C copyable



commit b26e29e7db28e8774a979c1731a4635a8ac795d7
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Wed Jan 6 01:39:10 2010 +0100

    apt_tools: Make Package objects Ctrl+C copyable

 kupfer/plugin/apt_tools.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/apt_tools.py b/kupfer/plugin/apt_tools.py
index ba32d92..49a6e43 100644
--- a/kupfer/plugin/apt_tools.py
+++ b/kupfer/plugin/apt_tools.py
@@ -88,6 +88,8 @@ class Package (Leaf):
 		Leaf.__init__(self, package, package)
 		self.desc = desc
 
+	def get_text_representation(self):
+		return self.object
 	def get_description(self):
 		return self.desc
 	def get_icon_name(self):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]