Bridge: rename connection_error to connectionError for function name consistency
This commit is contained in:
parent
01fd9c9d42
commit
cf5ee72a52
3 changed files with 8 additions and 8 deletions
|
|
@ -64,8 +64,8 @@ class DbusObject(dbus.service.Object):
|
|||
|
||||
@dbus.service.signal(const_INT_PREFIX+const_COMM_SUFFIX,
|
||||
signature='ss')
|
||||
def connection_error(self, error_type, profile):
|
||||
debug ("connection_error")
|
||||
def connectionError(self, error_type, profile):
|
||||
debug ("connectionError")
|
||||
|
||||
@dbus.service.signal(const_INT_PREFIX+const_COMM_SUFFIX,
|
||||
signature='ss')
|
||||
|
|
@ -375,8 +375,8 @@ class DBusBridge(Bridge):
|
|||
def connected(self, profile):
|
||||
self.dbus_bridge.connected(profile)
|
||||
|
||||
def connection_error(self, error_type, profile):
|
||||
self.dbus_bridge.connection_error(error_type, profile)
|
||||
def connectionError(self, error_type, profile):
|
||||
self.dbus_bridge.connectionError(error_type, profile)
|
||||
|
||||
def contactDeleted(self, entity, profile):
|
||||
self.dbus_bridge.contactDeleted(entity, profile)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ sig_in=s
|
|||
doc=Connection is finished or lost
|
||||
doc_param_0=%(doc_profile)s
|
||||
|
||||
[connection_error]
|
||||
[connectionError]
|
||||
type=signal
|
||||
category=communication
|
||||
sig_in=ss
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ class SatXMPPClient(client.XMPPClient):
|
|||
|
||||
def initializationFailed(self, reason):
|
||||
print ("initializationFailed: %s" % reason)
|
||||
self.host_app.bridge.connection_error("AUTH_ERROR", self.profile)
|
||||
self.host_app.bridge.connectionError("AUTH_ERROR", self.profile)
|
||||
try:
|
||||
client.XMPPClient.initializationFailed(self, reason)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue