diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-27 19:39:26 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-27 19:39:26 (GMT) |
commit | 6b9ca91bd3e30121ecdb841d066691df493f4cae (patch) | |
tree | 69bfc288878d030fc4077a5decfe97be2bf65b95 | |
parent | 9dc5336512670826a9ed7b1adc021ff5e9021e39 (diff) |
license
-rw-r--r-- | plugins/prueba/prueba.py | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/plugins/prueba/prueba.py b/plugins/prueba/prueba.py index b4f68f8..9c39ab3 100644 --- a/plugins/prueba/prueba.py +++ b/plugins/prueba/prueba.py @@ -1,3 +1,21 @@ +# -*- coding: utf-8 -*- +# Test plugin for TurtleArt http://wiki.sugarlabs.org/go/Activities/TurtleArt +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# GNU General Public License for more details. +# +# 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 + + + import gst import gtk from fcntl import ioctl @@ -19,7 +37,7 @@ class Prueba(Plugin): def setup(self): palette = make_palette('prueba', colors=["#006060", "#A00000"], - help_string=_('esta es una prueba')) + help_string=_('Esta es una prueba')) primitive_dictionary['boton'] = self._boton_prueba palette.add_block('boton', @@ -30,4 +48,4 @@ class Prueba(Plugin): self._parent.lc.def_prim('boton', 1, lambda self, valor: primitive_dictionary['boton'](valor)) def _boton_prueba(self,valor): - print "el valor del boton ", valor + print "El valor del boton ", valor |