From: Ed Page Date: Mon, 4 Oct 2010 16:01:59 +0000 (-0500) Subject: Fixing backgrund images on Maemo 4.1 and hildinizing the menu for Maemo 4.1 X-Git-Url: http://git.maemo.org/git/?p=watersofshiloah;a=commitdiff_plain;h=ca16cd25ccee828849ce4ae33fcc82f21bc907d7 Fixing backgrund images on Maemo 4.1 and hildinizing the menu for Maemo 4.1 --- diff --git a/src/windows/_base.py b/src/windows/_base.py index dce4f58..cbd7ca8 100644 --- 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 - self._isPortrait = True + self._isPortrait = hildonize.IS_FREMANTLE_SUPPORTED 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) + menuBar = hildonize.hildonize_menu( + self._window, + menuBar, + ) self._layout.pack_start(self._errorBanner.toplevel, False, True)