Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/light_sensor
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-07-11 22:13:36 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-07-11 22:13:36 (GMT)
commitb5a0eebacc8be3de27975822a3d44e568e4861c9 (patch)
tree6b14c1a960e60dcf06d264af8f7c45fdc6e37110 /plugins/light_sensor
parentab9f6976dc4b2c1cf26fbe1e6283ae92fe7ecc1a (diff)
force palette loading order to default ordering
Diffstat (limited to 'plugins/light_sensor')
-rw-r--r--plugins/light_sensor/light_sensor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/light_sensor/light_sensor.py b/plugins/light_sensor/light_sensor.py
index 8384474..bd5655e 100644
--- a/plugins/light_sensor/light_sensor.py
+++ b/plugins/light_sensor/light_sensor.py
@@ -46,7 +46,8 @@ class Light_sensor(Plugin):
# set up light-sensor specific blocks
palette = make_palette('sensor',
colors=["#FF6060", "#A06060"],
- help_string=_('Palette of sensor blocks'))
+ help_string=_('Palette of sensor blocks'),
+ position=6)
primitive_dictionary['lightsensor'] = self.prim_lightsensor
if self._status: