projects
/
gc-dialer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75643b2
)
I got mixed up, I thought this attribute meant supports that orientation, not force...
author
Ed Page
<eopage@byu.net>
Tue, 26 Apr 2011 22:47:24 +0000
(17:47 -0500)
committer
Ed Page
<eopage@byu.net>
Tue, 26 Apr 2011 22:47:24 +0000
(17:47 -0500)
src/util/qui_utils.py
patch
|
blob
|
history
diff --git
a/src/util/qui_utils.py
b/src/util/qui_utils.py
index
ac43ee6
..
11b3453
100644
(file)
--- a/
src/util/qui_utils.py
+++ b/
src/util/qui_utils.py
@@
-352,8
+352,8
@@
def _maemo_set_window_orientation(window, orientation):
window.setAttribute(QtCore.Qt.WA_Maemo5LandscapeOrientation, True)
window.setAttribute(QtCore.Qt.WA_Maemo5PortraitOrientation, False)
elif orientation is None:
window.setAttribute(QtCore.Qt.WA_Maemo5LandscapeOrientation, True)
window.setAttribute(QtCore.Qt.WA_Maemo5PortraitOrientation, False)
elif orientation is None:
- window.setAttribute(QtCore.Qt.WA_Maemo5LandscapeOrientation, True)
- window.setAttribute(QtCore.Qt.WA_Maemo5PortraitOrientation, True)
+ window.setAttribute(QtCore.Qt.WA_Maemo5LandscapeOrientation, False)
+ window.setAttribute(QtCore.Qt.WA_Maemo5PortraitOrientation, False)
else:
raise RuntimeError("Unknown orientation: %r" % orientation)
else:
raise RuntimeError("Unknown orientation: %r" % orientation)