order InputChannel list.. (DVI, Scart, YPbPr)
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 29 Mar 2008 12:12:39 +0000 (12:12 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 29 Mar 2008 12:12:39 +0000 (12:12 +0000)
lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py

index 0e67fb6..cb64f9a 100644 (file)
@@ -79,6 +79,7 @@ class VideoWizard(Wizard):
                for port in self.hw.getPortList():
                        if self.hw.isPortUsed(port):
                                list.append((port,port))
                for port in self.hw.getPortList():
                        if self.hw.isPortUsed(port):
                                list.append((port,port))
+               list.sort(key = lambda x: x[0])
                print "listInputChannels:", list
                return list
 
                print "listInputChannels:", list
                return list