6 def __init__ ( self , name , version , flag ) :
7 self.connection = dbus.SessionBus()
11 def get_connection ( self ) :
12 return self.connection
16 def __init__ ( self , context ) :
17 self.context = context
19 def rpc_run ( self , object_name , object_path , object_iface , method , wait_reply=False ) :
20 connection = self.context.get_connection()
21 proxy = connection.get_object( object_name , object_path )
22 iface = dbus.Interface( proxy , object_iface )
23 iface = dbus.Interface( proxy , dbus_interface=object_iface )
24 callable = iface.get_dbus_method( method )
29 def __init__ ( self , context ) :
30 self.context = context
31 def system_note_infoprint( self , message ) :
32 print "MESSAGE : %s" % message
34 def SystemNote ( context ) :