[maemo-developers] [pymaemo] PyMaemo (Python for maemo) alpha release for Fremantle

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Tue Apr 7 23:13:49 EEST 2009
On Fri, Apr 3, 2009 at 7:00 AM, Anderson Lizardo
<anderson.lizardo at openbossa.org> wrote:
> On Fri, Apr 3, 2009 at 4:20 AM, Jose Manrique Lopez de la Fuente
> <jsmanrique at gmail.com> wrote:
>> 2009/4/2 Anderson Lizardo <anderson.lizardo at openbossa.org>:
>>> [cross-posting to pymaemo-developers and maemo-developers]
>>> ...
>>> * python-hildon lacks some of the new API for fremantle. For this
>>> alpha release, only the deprecated API (not available on the C API)
>>> was removed.
>>> ...
>>
>> Is set_menu attribute for hildon.Window deprecated?
>> AttributeError: 'hildon.Window' object has no attribute 'set_menu'

Hi again,

It seems I didn't look close enough to notice that, in fact, this
method is deprecated. Again, looking at:

http://maemo.org/api_refs/5.0/pre-alpha2/apis/libhildon-2.1.34/HildonWindow.html#hildon-window-set-menu

You see this comment:

"hildon_window_set_menu is deprecated and should not be used in
newly-written code. Hildon 2.2: use hildon_window_set_main_menu()"

(which, in python, would be "hildon.Window.set_main_menu()")

OTOH, the current python-hildon in extras-devel lacks this method too.
We are working on fixing all these missing API issues.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - Instituto Nokia de Tecnologia
Manaus - Brazil

More information about the maemo-developers mailing list