diff src/bridge/DBus.py @ 1060:aa15453ec54d

core (xmpp), stdui (profile_manager), bridge, frontends: raise an exception if the XMPP connection failed instead of sending a signal
author souliane <souliane@mailoo.org>
date Fri, 23 May 2014 09:59:35 +0200
parents b2b9c184033f
children 95758ef3faa8
line wrap: on
line diff
--- a/src/bridge/DBus.py	Fri May 23 10:40:54 2014 +0200
+++ b/src/bridge/DBus.py	Fri May 23 09:59:35 2014 +0200
@@ -137,11 +137,6 @@
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
                          signature='ss')
-    def connectionError(self, error_type, profile):
-        pass
-
-    @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
-                         signature='ss')
     def contactDeleted(self, entity_jid, profile):
         pass
 
@@ -547,9 +542,6 @@
     def connected(self, profile):
         self.dbus_bridge.connected(profile)
 
-    def connectionError(self, error_type, profile):
-        self.dbus_bridge.connectionError(error_type, profile)
-
     def contactDeleted(self, entity_jid, profile):
         self.dbus_bridge.contactDeleted(entity_jid, profile)