add support for several external connectors (of which only one is used)
[lilass.git] / selector_window.py
index adee7e42c7d70d1771060e674a952e4b3e9e1cc4..7df0a4483d65476485eabdc94dfc7a400e0ff47d 100644 (file)
@@ -14,10 +14,10 @@ class PositionSelection(QtGui.QDialog):
        RIGHT = 20
        EXTERNAL_ONLY = 30
        
        RIGHT = 20
        EXTERNAL_ONLY = 30
        
-       def __init__(self, internalResolutions, externalResolutions):
+       def __init__(self, externalName, internalResolutions, externalResolutions):
                # set up main window
                super(PositionSelection, self).__init__()
                # set up main window
                super(PositionSelection, self).__init__()
-               self.setWindowTitle('External screen setup')
+               self.setWindowTitle('External screen setup (connector: %s)' % externalName)
                
                # position selection
                posBox = QtGui.QGroupBox('Position of external screen', self)
                
                # position selection
                posBox = QtGui.QGroupBox('Position of external screen', self)