diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-dbus.c | 8 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2006-01-03 Crispin Flowerday <gnome@flowerday.cx> + + * src/ephy-dbus.c (ephy_dbus_connect_to_session_bus): + + Tell dbus not to exit the application if the bus disconnects. + 2006-01-03 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: diff --git a/src/ephy-dbus.c b/src/ephy-dbus.c index 1cbed58da..8f7106383 100644 --- a/src/ephy-dbus.c +++ b/src/ephy-dbus.c @@ -173,6 +173,10 @@ ephy_dbus_connect_to_system_bus (EphyDbus *ephy_dbus) return; } + dbus_connection_set_exit_on_disconnect + (dbus_g_connection_get_connection (ephy_dbus->priv->system_bus), + FALSE); + dbus_connection_add_filter (dbus_g_connection_get_connection (ephy_dbus->priv->system_bus), system_filter_func, ephy_dbus, NULL); @@ -218,6 +222,10 @@ ephy_dbus_connect_to_session_bus (EphyDbus *ephy_dbus) return; } + dbus_connection_set_exit_on_disconnect + (dbus_g_connection_get_connection (ephy_dbus->priv->system_bus), + FALSE); + dbus_connection_add_filter (dbus_g_connection_get_connection (ephy_dbus->priv->session_bus), session_filter_func, ephy_dbus, NULL); |