projects
/
lilass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9dcdd8e
)
repair question frontend
author
Constantin Berhard
<git.mail.enormator@xoxy.net>
Tue, 5 Apr 2016 09:54:54 +0000
(11:54 +0200)
committer
Constantin Berhard
<git.mail.enormator@xoxy.net>
Tue, 5 Apr 2016 09:54:54 +0000
(11:54 +0200)
question_frontend.py
patch
|
blob
|
history
diff --git
a/question_frontend.py
b/question_frontend.py
index 4244ba8d1234763f1f128ecae7bb9b9810e8f980..8fe4a7aabce209d1b1102e26364883200873d2b0 100644
(file)
--- a/
question_frontend.py
+++ b/
question_frontend.py
@@
-53,13
+53,13
@@
class QuestionFrontend:
if operationmode is None:
return None
elif operationmode is OperationMode.INTERNAL_ONLY:
if operationmode is None:
return None
elif operationmode is OperationMode.INTERNAL_ONLY:
- intres = self.selectResolution("the internal screen", situation.internal
Resolutions
())
+ intres = self.selectResolution("the internal screen", situation.internal
Connector.getResolutionList
())
if intres is None:
return None
else:
return ScreenSetup(intres, None, None, False)
elif operationmode is OperationMode.EXTERNAL_ONLY:
if intres is None:
return None
else:
return ScreenSetup(intres, None, None, False)
elif operationmode is OperationMode.EXTERNAL_ONLY:
- extres = self.selectResolution("the external screen", situation.external
Resolutions
())
+ extres = self.selectResolution("the external screen", situation.external
Connector.getResolutionList
())
if extres is None:
return None
else:
if extres is None:
return None
else:
@@
-78,10
+78,10
@@
class QuestionFrontend:
return None
return ScreenSetup(commonres,commonres,relpos,False)
# select resolutions independently
return None
return ScreenSetup(commonres,commonres,relpos,False)
# select resolutions independently
- intres = self.selectResolution("the internal screen", situation.internal
Resolutions
())
+ intres = self.selectResolution("the internal screen", situation.internal
Connector.getResolutionList
())
if intres is None:
return None
if intres is None:
return None
- extres = self.selectResolution("the external screen", situation.external
Resolutions
())
+ extres = self.selectResolution("the external screen", situation.external
Connector.getResolutionList
())
if extres is None:
return None
extprim = self.userChoose("Select primary screen", ["Internal screen is primary","External screen is primary"], [False,True], None)
if extres is None:
return None
extprim = self.userChoose("Select primary screen", ["Internal screen is primary","External screen is primary"], [False,True], None)