aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-dbus.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84ad8a253..f795328c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);