Changeset - fac1c49da30c
[Not reviewed]
default
0 2 0
Drew Perttula - 10 years ago 2015-06-13 04:30:58
drewp@bigasterisk.com
2 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/subserver
Show inline comments
 
@@ -51,13 +51,12 @@ class EffectsUpdates(cyclone.websocket.W
 
        graph = self.settings.graph
 
        classes = []
 
        for e in graph.subjects(RDF.type, L9['EffectClass']):
 
            classes.append({'uri': e,
 
                            'label': graph.label(e),
 
                            'code': graph.value(e, L9['code'])})
 
        print "sendMessage", classes
 
        self.sendMessage({'classes': classes})
 

	
 
class Static(PrettyErrorHandler, cyclone.web.StaticFileHandler):
 
    def get(self, path, *args, **kw):
 
        if path in ['', 'effects']:
 
            return self.respondStaticJade("light9/subserver/%s.jade" %
light9/curvecalc/curveview.py
Show inline comments
 
@@ -1123,12 +1123,13 @@ class CurveRow(object):
 
        
 
    def setupControls(self, controls, name, curve):
 
        box = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 0)
 
        controls.add(box)
 

	
 
        curve_name_label = Gtk.LinkButton()
 
        print "need to truncate this name length somehow"
 
        def update_label():
 
            # todo: abort if we don't still exist...
 
            p = curve_name_label.props
 
            p.uri = curve.uri
 
            p.label = self.graph.label(curve.uri)
 
        self.graph.addHandler(update_label)
0 comments (0 inline, 0 general)