Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/addons/widgetidentifyaction.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-10-17 17:47:58 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-10-17 17:47:58 (GMT)
commit3b9bff2ef1826987d95815ff03c235052cea9aae (patch)
treeeac77f7221d54642ee7258e3bc8c2376d65c8900 /addons/widgetidentifyaction.py
parent8ffa6e6e714a560d17e13f909625f143338e785b (diff)
LP 439980 : Code review changes : renamed is_identical to __eq__, relaxed action insertion constraints, added fixed meta-props for addons
Diffstat (limited to 'addons/widgetidentifyaction.py')
-rw-r--r--addons/widgetidentifyaction.py6
1 files changed, 5 insertions, 1 deletions
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
}