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/widgetidentifyaction.py') diff --git a/addons/widgetidentifyaction.py b/addons/widgetidentifyaction.py index 65edf62..3c66211 100644 --- a/addons/widgetidentifyaction.py +++ b/addons/widgetidentifyaction.py @@ -13,8 +13,11 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + from sugar.tutorius.actions import * +from sugar.tutorius.editor import WidgetIdentifier + class WidgetIdentifyAction(Action): def __init__(self): Action.__init__(self) @@ -39,5 +42,6 @@ __action__ = { "display_name" : 'Widget Identifier', "icon" : 'viewmag1', "class" : WidgetIdentifyAction, - "mandatory_props" : [] + "mandatory_props" : [], + 'test' : True } -- cgit v0.9.1