elm: Support switching between local and D-Bus main menus on the fly
authorHenrique Dante de Almeida <hdante@profusion.mobi>
Tue, 22 Jan 2013 18:51:16 +0000 (18:51 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Tue, 22 Jan 2013 18:51:16 +0000 (18:51 +0000)
commit0fbcdfb49b08841370e1c80e88a86ea436619068
treeda0cf9fa5de97592d62aa19f974aff1927ad32f0
parentd10860842d59e18078394ddd04a6c5f88f1a6e37
elm: Support switching between local and D-Bus main menus on the fly

With this patch, the main menu now keeps listening for the app menu
registrar all the time. Whenever it's available, it tries to register
itself. If the registrar exits, the menu switches back to local mode.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>

SVN revision: 83098
legacy/elementary/src/lib/elm_dbus_menu.c
legacy/elementary/src/lib/elm_menu.c
legacy/elementary/src/lib/elm_priv.h
legacy/elementary/src/lib/elm_win.c