[pkg-fso-commits] [SCM] freesmartphone.org demo GUI branch, master, updated. milestone2-25-gf72c138

Jan Luebbe jluebbe at debian.org
Tue Sep 2 10:26:31 UTC 2008


The following commit has been merged in the master branch:
commit 06a354bef9a764a294f747ea41957caa587edf0b
Author: Jan Luebbe <jluebbe at debian.org>
Date:   Thu Aug 28 18:51:53 2008 +0200

    fix missing parameter

diff --git a/src/zhone b/src/zhone
index 4bdb34b..accee37 100755
--- a/src/zhone
+++ b/src/zhone
@@ -1654,9 +1654,11 @@ class GSMAgent( object ):
     def cbAuthCodeReply( self ):
         self.cbAuthStatusReply( "READY" )
 
-    def cbAuthCodeError( self ):
+    def cbAuthCodeError( self, e ):
+        self.setState( "Error while sending PIN" )
+        logger.exception( e )
         # retry
-        self.cbAntennaPowerReply()
+        self.cbDBusReady()
 
     def cbPUKDone( self, puk, *args ):
         self.main.groups["pin_edit"].setup(
@@ -1678,9 +1680,11 @@ class GSMAgent( object ):
     def cbUnlockReply( self ):
         self.cbAuthStatusReply( "READY" )
 
-    def cbUnlockError( self ):
+    def cbUnlockError( self, e ):
+        self.setState( "Error while sending PIN" )
+        logger.exception( e )
         # retry
-        self.cbAntennaPowerReply()
+        self.cbDBusReady()
 
     def cbAntennaPowerReply( self ):
         self.setState( "Registering to network" )

-- 
freesmartphone.org demo GUI



More information about the pkg-fso-commits mailing list