From 3b9bff2ef1826987d95815ff03c235052cea9aae Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 17 Oct 2009 17:47:58 +0000 Subject: LP 439980 : Code review changes : renamed is_identical to __eq__, relaxed action insertion constraints, added fixed meta-props for addons --- (limited to 'addons/typetextaction.py') diff --git a/addons/typetextaction.py b/addons/typetextaction.py index 251dea2..fee66e5 100644 --- a/addons/typetextaction.py +++ b/addons/typetextaction.py @@ -15,7 +15,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA from sugar.tutorius.actions import * - +from sugar.tutorius import gtkutils class TypeTextAction(Action): """ @@ -53,5 +53,5 @@ __action__ = { 'display_name' : 'Type text', 'icon' : 'format-justify-center', 'class' : TypeTextAction, - 'mandatoryprops' : ['widgetUAM', 'text'] + 'mandatory_props' : ['widgetUAM', 'text'] } -- cgit v0.9.1