From 2c4f2896afcbebcb2f90a2c37cce08c6c0ce549d Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 25 Jun 2007 16:23:21 +0000
Subject: [PATCH] don't stop Gajim when dbus is stopped. Fixes #3032

---
 src/common/dbus_support.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/common/dbus_support.py b/src/common/dbus_support.py
index 5a8be077b7..94b973c5d9 100644
--- a/src/common/dbus_support.py
+++ b/src/common/dbus_support.py
@@ -60,6 +60,8 @@ class SystemBus:
 				return False
 			if self.system_bus is None:
 				return False
+			# Don't exit Gajim when dbus is stopped
+			self.system_bus.set_exit_on_disconnect(False)
 		return True
 
 system_bus = SystemBus()
-- 
GitLab