[kupfer] Last Result object without thumbnail



commit a5f21b801dd6258ac605e922642806f3f29c69ea
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 29 22:31:25 2010 +0200

    Last Result object without thumbnail
    
    It's hard to decide for me if the Last Result object should have the
    pointed to object's icon or not. For now, we choose not to have an
    icon (only the generic kupfer-object icon), thus we remove the
    thumbnail as well.

 kupfer/plugin/core/internal.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/core/internal.py b/kupfer/plugin/core/internal.py
index 5a02063..57653c2 100644
--- a/kupfer/plugin/core/internal.py
+++ b/kupfer/plugin/core/internal.py
@@ -48,6 +48,8 @@ def _make_first_result_object(leaf):
 			return None
 		def get_icon_name(self):
 			return Leaf.get_icon_name(self)
+		def get_thumbnail(self, w, h):
+			return None
 		def get_description(self):
 			return unicode(self.__orignal_leaf)
 



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