[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Feb 2 18:51:49 UTC 2009


The following commit has been merged in the master branch:
commit a2b8903ce40444d5d7d30c4fb477d7bb9edee922
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Fri Jan 2 17:09:29 2009 +0100

    cli-framework: use dbus-hlid

diff --git a/tools/cli-framework b/tools/cli-framework
index a08b6b1..9cc448b 100755
--- a/tools/cli-framework
+++ b/tools/cli-framework
@@ -10,7 +10,7 @@ Interactive console for the freesmartphone.org framework
 GPLv2 or later
 """
 
-__version__ = "0.9.1.5"
+__version__ = "0.9.1.6"
 
 import dbus.service
 import dbus.mainloop.glib
@@ -70,7 +70,7 @@ def getInterface( busname, objectpath, interface ):
 #----------------------------------------------------------------------------#
 def getObjectsForInterface( interface ):
 #----------------------------------------------------------------------------#
-    paths = framework.ListObjectsByInterface( interface, dbus_interface="org.freesmartphone.Framework" )
+    paths = dbus_hlid.ListObjectsByInterface( "org.freesmartphone.frameworkd", interface, dbus_interface="org.freesmartphone.DBus" )
     result = {}
     for path in paths:
         result[str(path)] = getInterface( "org.freesmartphone.frameworkd", path, interface )
@@ -82,6 +82,9 @@ bus = dbus.SystemBus()
 
 # FIXME use introspection
 
+# dbus_hlid object
+dbus_hlid = getObject( "org.freesmartphone.DBus", "/org/freesmartphone/DBus" )
+
 # framework object
 framework = getObject( "org.freesmartphone.frameworkd", "/org/freesmartphone/Framework" )
 

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list