#NEWLINE# @ inlineCallbacks #NEWLINE# def onJoin( self , details ) : #NEWLINE# #INDENT# conn = ( yield client . connect ( reactor , 'session' ) ) #NEWLINE# print ( 'Dbus connection created' ) #NEWLINE# self . _notifier = ( yield conn . getRemoteObject ( 'org.freedesktop.Notifications' , '/org/freedesktop/Notifications' ) ) #NEWLINE# print ( 'Dbus notification object created' ) #NEWLINE# ( yield self . subscribe ( conn ) ) #NEWLINE# print ( 'Dbus notifier subscribed' )