[pkg-fso-commits] [SCM] freesmartphone.org demo GUI branch, debian, updated. debian/0-git20081111-1-18-g695b819
Michael 'Mickey' Lauer
mickey at vanille-media.de
Mon Jan 12 19:29:14 UTC 2009
The following commit has been merged in the debian branch:
commit b222777ac3f2d6e7db90e666e50a0789f557aea2
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Fri Jan 2 15:41:06 2009 +0100
do not use ListObjectsByInterface, if not necessary
diff --git a/src/zhone b/src/zhone
index 02cd6fd..3413313 100755
--- a/src/zhone
+++ b/src/zhone
@@ -20,8 +20,11 @@ You have been warned :)
"""
+__version__ = "0.0.0"
+MODULE_NAME = "zhone"
+
import logging
-logger = logging.getLogger( "zhone" )
+logger = logging.getLogger( MODULE_NAME )
logging.basicConfig( level = logging.DEBUG,
format = '%(asctime)s %(levelname)s %(message)s',
filename = '/tmp/zhone.log',
@@ -1213,7 +1216,7 @@ class pyphone_location( edje_group ):
logger.debug( "gps time changed: %s (%s)" % (time.strftime("%H:%M:%S", time.gmtime(timestamp))) )
self.time = timestamp
self.update()
-
+
def onUBXDebugPacket( self, clid, length, data ):
logger.debug( "gps got ubxdebug packet" )
if clid == "NAV-SVINFO":
@@ -2396,8 +2399,7 @@ class DBusObject( object ):
if ( self.device_obj is not None ) and ( self.device_iface is None ):
self.device_iface = Interface( self.device_obj, 'org.freesmartphone.Device' )
- self.idlenotifier_obj = self.tryGetProxy( "org.freesmartphone.odeviced", self.fw.ListObjectsByInterface( "org.freesmartphone.Device.IdleNotifier" )[0] )
-
+ self.idlenotifier_obj = self.tryGetProxy( "org.freesmartphone.odeviced", "/org/freesmartphone/Device/IdleNotifier/0" )
self.idlenotifier_iface = Interface( self.idlenotifier_obj, "org.freesmartphone.Device.IdleNotifier" )
self.idlenotifier_iface.connect_to_signal( "State", self.cbIdleStateChanged )
--
freesmartphone.org demo GUI
More information about the pkg-fso-commits
mailing list