Fix /usr/bin/microb script to work with new Fremantle MicroB launching code
authorSteven Luo <steven+maemo@steven676.net>
Fri, 27 Aug 2010 14:01:43 +0000 (07:01 -0700)
committerSteven Luo <steven+maemo@steven676.net>
Fri, 27 Aug 2010 14:01:43 +0000 (07:01 -0700)
commit74a6732ecf36c1e32bda26fee8cc6da888e21a6a
tree90e8bcb20959e3dff538275612f74fbbf277312a
parent50dddc3250ae5a7116a6e3310a3407344df74f7c
Fix /usr/bin/microb script to work with new Fremantle MicroB launching code

The new Fremantle MicroB launching code breaks the assumption in the
microb script that the existence of the MicroB browser process implies
that MicroB is handling com.nokia.osso_browser.  Revise the script to
check directly whether Browser Switchboard is handling that name, by
comparing its owner to that of org.maemo.garage.browser-switchboard
(using the org.freedesktop.DBus.GetNameOwner method).
microb