Changeset - e7d5f008b2fa
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-10 19:57:59
drewp@bigasterisk.com
push some subterm logging to debug
Ignore-this: aaf413d177f48ee23497c8848fc571cf
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -219,25 +219,25 @@ class Main(object):
 
        """rebuild all the gtktable 'subterms' widgets and the
 
        self.currentSubterms list"""
 
        song = self.graph.value(self.session, L9['currentSong'])
 

	
 
        newList = []
 
        for st in set(self.graph.objects(song, L9['subterm'])):
 
            log.info("song %s has subterm %s", song, st)
 
            log.debug("song %s has subterm %s", song, st)
 
            term = Subterm(self.graph, st, self.songSubtermsContext(),
 
                               self.curveset)
 
            newList.append(term)
 
        self.currentSubterms[:] = newList
 

	
 
        master = self.wtree.get_object("subterms")
 
        log.info("removing subterm widgets")
 
        log.debug("removing subterm widgets")
 
        [master.remove(c) for c in master.get_children()]
 
        for term in self.currentSubterms:
 
            add_one_subterm(term, self.curveset, master)
 
        master.show_all()
 
        log.info("%s table children showing" % len(master.get_children()))
 
        log.debug("%s table children showing" % len(master.get_children()))
 
        
 
    def refreshTheme(self):
 
        gtk.rc_reparse_all()
 
        reactor.callLater(1, self.refreshTheme)
 

	
 
    def onSubtermChildAdded(self, subtermsTable, *args):
0 comments (0 inline, 0 general)