Ticket #557: 0001-opimd-bind-to-the-well-known-name-for-ogsmd.patch

File 0001-opimd-bind-to-the-well-known-name-for-ogsmd.patch, 1.2 KB (added by PaulFertser, 2 years ago)
  • framework/subsystems/opimd/pimd_messages.py

    From af1ed254847225e67ec6784964368cce303690c0 Mon Sep 17 00:00:00 2001
    From: Paul Fertser <fercerpav@gmail.com>
    Date: Fri, 7 May 2010 10:50:25 +0400
    Subject: [PATCH] opimd: bind to the well-known name for ogsmd
    
    This fixes the problem "signals not getting through after fsogsmd restart" for
    me.
    ---
     framework/subsystems/opimd/pimd_messages.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/framework/subsystems/opimd/pimd_messages.py b/framework/subsystems/opimd/pimd_messages.py
    index fb3326a..4c78d76 100644
    a b class MessagesFSO(object): 
    561561 
    562562                 
    563563        try: 
    564             self.gsm = self.bus.get_object('org.freesmartphone.ogsmd', '/org/freesmartphone/GSM/Device') 
     564            self.gsm = self.bus.get_object('org.freesmartphone.ogsmd', '/org/freesmartphone/GSM/Device', True, True) 
    565565            self.gsm_sim_iface = Interface(self.gsm, 'org.freesmartphone.GSM.SIM') 
    566566            self.gsm_sms_iface = Interface(self.gsm, 'org.freesmartphone.GSM.SMS') 
    567567            self.gsm_device_iface = Interface(self.gsm, 'org.freesmartphone.GSM.Device')