From ca16cd25ccee828849ce4ae33fcc82f21bc907d7 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 4 Oct 2010 11:01:59 -0500 Subject: [PATCH] Fixing backgrund images on Maemo 4.1 and hildinizing the menu for Maemo 4.1 --- src/windows/_base.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 1.7.9.5