[kupfer] apt_tools: Make Package objects Ctrl+C copyable
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] apt_tools: Make Package objects Ctrl+C copyable
- Date: Thu, 7 Jan 2010 00:54:34 +0000 (UTC)
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]