[kupfer] objects: Rank boost the "Do" action, to mark it as default



commit 525a408aa8059fd01741537c0b51c711542d1fbf
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sat Jan 9 04:09:44 2010 +0100

    objects: Rank boost the "Do" action, to mark it as default

 kupfer/objects.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/objects.py b/kupfer/objects.py
index 6f46700..e943e20 100644
--- a/kupfer/objects.py
+++ b/kupfer/objects.py
@@ -1072,6 +1072,7 @@ class RunnableLeaf (Leaf):
 
 class Do (Action):
 	"""Perform the action in a RunnableLeaf"""
+	rank_adjust = 5
 	def __init__(self, name=None):
 		if not name: name = _("Do")
 		super(Do, self).__init__(name=name)



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