diff frontends/src/quick_frontend/quick_app.py @ 274:c1ad04586edf

Bridge: rename connection_error to connectionError for function name consistency
author Goffi <goffi@goffi.org>
date Tue, 25 Jan 2011 15:24:31 +0100
parents 1d2e0dfe7114
children f19771d2e63b
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Tue Jan 25 01:37:02 2011 +0100
+++ b/frontends/src/quick_frontend/quick_app.py	Tue Jan 25 15:24:31 2011 +0100
@@ -46,7 +46,7 @@
             sys.exit(1)
         self.bridge.register("connected", self.connected)
         self.bridge.register("disconnected", self.disconnected)
-        self.bridge.register("connection_error", self.connection_error)
+        self.bridge.register("connectionError", self.connectionError)
         self.bridge.register("newContact", self.newContact)
         self.bridge.register("newMessage", self.newMessage)
         self.bridge.register("newAlert", self.newAlert)
@@ -188,7 +188,7 @@
         self.contactList.clear_contacts()
         self.setStatusOnline(False)
     
-    def connection_error(self, error_type, profile):
+    def connectionError(self, error_type, profile):
         """called when something goest wrong with the connection"""
         if not self.check_profile(profile):
             return