projects
/
watersofshiloah
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad88fd0
)
Fixing backgrund images on Maemo 4.1 and hildinizing the menu for Maemo 4.1
author
Ed Page
<eopage@byu.net>
Mon, 4 Oct 2010 16:01:59 +0000
(11:01 -0500)
committer
Ed Page
<eopage@byu.net>
Mon, 4 Oct 2010 16:01:59 +0000
(11:01 -0500)
src/windows/_base.py
patch
|
blob
|
history
diff --git
a/src/windows/_base.py
b/src/windows/_base.py
index
dce4f58
..
cbd7ca8
100644
(file)
--- a/
src/windows/_base.py
+++ b/
src/windows/_base.py
@@
-58,7
+58,7
@@
class BasicWindow(gobject.GObject, go_utils.AutoSignal):
def __init__(self, app, player, store):
gobject.GObject.__init__(self)
self._isDestroyed = False
def __init__(self, app, player, store):
gobject.GObject.__init__(self)
self._isDestroyed = False
- self._isPortrait = True
+ self._isPortrait = hildonize.IS_FREMANTLE_SUPPORTED
self._app = app
self._player = player
self._app = app
self._player = player
@@
-103,6
+103,10
@@
class BasicWindow(gobject.GObject, go_utils.AutoSignal):
appMenu.append(aboutMenuItem)
appMenu.show_all()
self._window.set_app_menu(appMenu)
appMenu.append(aboutMenuItem)
appMenu.show_all()
self._window.set_app_menu(appMenu)
+ menuBar = hildonize.hildonize_menu(
+ self._window,
+ menuBar,
+ )
self._layout.pack_start(self._errorBanner.toplevel, False, True)
self._layout.pack_start(self._errorBanner.toplevel, False, True)