Make startup notification work for MicroB menu entry
authorSteven Luo <steven+maemo@steven676.net>
Mon, 22 Feb 2010 04:53:46 +0000 (20:53 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Mon, 22 Feb 2010 08:58:25 +0000 (00:58 -0800)
commit846e68b8ffa979d30ed331c43020212ffdee2bf2
tree5ed62eb9ff635ec93af28312d6328057584204ea
parentd6e7a8bf0f28cdb7156b891ff565d5406047914a
Make startup notification work for MicroB menu entry

To have working startup notification, we have to provide a D-Bus service
with a top_application method; hildon-desktop will then use that to
launch the application instead of invoking the binary directly.  Co-opt
the org.maemo.garage.browser_switchboard name previously used for
locking for this (replacing a - with a _ to get around D-Bus naming
restrictions).

While we're at it, remove the non-standard switchboard_launch_microb
method from the com.nokia.osso_browser interface we implement, instead
providing a launch_microb method in our own interface.
Makefile
dbus-server-bindings.c
dbus-server-bindings.h
dbus-server-glue.xml
main.c
microb
microb.desktop
org.maemo.garage.browser_switchboard.service [new file with mode: 0644]