Listen on D-Bus system bus as well as session bus
authorSteven Luo <steven+maemo@steven676.net>
Thu, 26 Aug 2010 02:28:11 +0000 (19:28 -0700)
committerSteven Luo <steven+maemo@steven676.net>
Thu, 26 Aug 2010 12:03:06 +0000 (05:03 -0700)
commitdbcb6cd8e6d1a12daa21a6aa17738adf026cf069
treed09a7edc0a1940f82cc974ffcbf8fce51bd9de62
parent074b02973ab2530b312ef04cbaced00ab7351e57
Listen on D-Bus system bus as well as session bus

Discussion on https://bugs.maemo.org/show_bug.cgi?id=8369 (Hermes
doesn't work when Browser Switchboard is installed) revealed that
MicroB listens on the D-Bus system bus as well as the session bus.
While it's not appropriate for applications to request opening a
browser via the system bus (which is supposed to be for requesting
system services, not applications), the fact that MicroB listens
there means that we need to too.

This fixes Browser Switchboard bug 5910.  Thanks to Andrew Flegg and
Marcin Juszkiewicz for providing the information needed to track down
this bug.
browser-switchboard.h
dbus-server-bindings.c
main.c