[KSS-checkins] r53853 - kukit/kss.core/branch/1.2/kss/core/plugins/core
gotcha at codespeak.net
gotcha at codespeak.net
Fri Apr 18 16:56:41 CEST 2008
Author: gotcha
Date: Fri Apr 18 16:56:41 2008
New Revision: 53853
Modified:
kukit/kss.core/branch/1.2/kss/core/plugins/core/commands.py
kukit/kss.core/branch/1.2/kss/core/plugins/core/interfaces.py
Log:
add missing declaration for setKssAttribute
Modified: kukit/kss.core/branch/1.2/kss/core/plugins/core/commands.py
==============================================================================
--- kukit/kss.core/branch/1.2/kss/core/plugins/core/commands.py (original)
+++ kukit/kss.core/branch/1.2/kss/core/plugins/core/commands.py Fri Apr 18 16:56:41 2008
@@ -47,6 +47,12 @@
data = command.addParam('name', name)
data = command.addParam('value', value)
+ def setKssAttribute(self, selector, name, value):
+ """ see interfaces.py """
+ command = self.commands.addCommand('setKssAttribute', selector)
+ data = command.addParam('name', name)
+ data = command.addParam('value', value)
+
def setStyle(self, selector, name, value):
""" see interfaces.py """
command = self.commands.addCommand('setStyle', selector)
Modified: kukit/kss.core/branch/1.2/kss/core/plugins/core/interfaces.py
==============================================================================
--- kukit/kss.core/branch/1.2/kss/core/plugins/core/interfaces.py (original)
+++ kukit/kss.core/branch/1.2/kss/core/plugins/core/interfaces.py Fri Apr 18 16:56:41 2008
@@ -33,6 +33,9 @@
def setAttribute(selector, name, value):
"""Set an attribute on node(s) specified by the selector"""
+ def setKssAttribute(selector, name, value):
+ """Set a KSS attribute on node(s) specified by the selector"""
+
def setStyle(selector, name, value):
"""Set the style attribute of nodes specified by the selector"""
More information about the Kukit-checkins
mailing list