add ability to enable listboxwrap in skin
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 3 Feb 2006 15:44:34 +0000 (15:44 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 3 Feb 2006 15:44:34 +0000 (15:44 +0000)
skin.py

diff --git a/skin.py b/skin.py
index 58426c0..e7c84c4 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -133,6 +133,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                                        "showAlways": guiObject.showAlways,
                                        "showNever": guiObject.showNever
                                }[value])
+               elif attrib == "enableWrapAround":
+                       guiObject.setWrapAround(True)
                elif attrib != 'name':
                        print "unsupported attribute " + attrib + "=" + value
        except int: