Changeset 1669

Show
Ignore:
Timestamp:
09/18/09 14:01:58 (11 years ago)
Author:
arnonym
Message:

some cleanup I forgot.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4/ffado/widgets/crossbarrouter.py

    r1668 r1669  
    113113 
    114114    def disconnectRoute(self, checked): 
    115         log.debug("disconnectRoute( %s ) sender: %s" % (str(checked),str(self.sender()))) 
     115        log.debug("disconnectRoute( %s )" % str(checked)) 
    116116        dest = self.interface.getDestinationIndex(self.outname) 
    117117        src = self.interface.getSourceName( self.interface.getSourceForDestination( dest ) ) 
    118118        #log.debug(" source=%s destination=%s  possible? %s" % (src, self.outname, self.interface.canConnectNamed(src, self.outname))) 
    119         if not self.interface.setConnectionStateNamed(src, self.outname, False): 
    120             log.debug(" Changing the connection table was successfull.") 
    121         else: 
     119        if self.interface.setConnectionStateNamed(src, self.outname, False): 
    122120            log.warning(" Failed to change the connection table!") 
    123121        self.peakValue(0) 
     
    150148                idx = self.interface.getDestinationIndex(self.outname) 
    151149                sourceidx = self.interface.getSourceForDestination(idx) 
    152                 #print self.interface.getConnectionState(sourceidx, idx) 
    153150                source = self.interface.getSourceName(sourceidx) 
    154151                self.lock = True