[kupfer] plugin.apt_tools: Allow showing package info for Package leaf



commit d8fe62beea4728a5712bf22cc1627762013c3027
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Wed Oct 28 00:23:19 2009 +0100

    plugin.apt_tools: Allow showing package info for Package leaf

 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 58161a1..09ebba9 100644
--- a/kupfer/plugin/apt_tools.py
+++ b/kupfer/plugin/apt_tools.py
@@ -59,6 +59,8 @@ class ShowPackageInfo (Action):
 
 	def item_types(self):
 		yield TextLeaf
+		yield Package
+
 	def valid_for_item(self, item):
 		# check if it is a single word
 		text = item.object



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