summaryrefslogtreecommitdiff
path: root/recipes/freesmartphone/frameworkd/oeventsd-use-opimd-signals.patch
blob: 4dc5dd3a845473134c8c8e0e0fa1854ed7167581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/framework/subsystems/oeventsd/fso_triggers.py	2009-07-12 13:44:53.000000000 +0200
+++ b/framework/subsystems/oeventsd/fso_triggers.py	2009-07-12 13:42:43.000000000 +0200
@@ -197,8 +197,7 @@
 class IncomingMessageTrigger(DBusTrigger):
 #============================================================================#
     """
-    A custom dbus trigger for org.freesmartphone.GSM.SIM.IncomingStoredMessage
-    TODO: change to opimd interface
+    A custom dbus trigger for org.freesmartphone.PIM.Messages.IncomingMessage
     """
 
     function_name = 'IncomingMessage'
@@ -207,10 +206,10 @@
         bus = dbus.SystemBus()
         super(IncomingMessageTrigger, self).__init__(
             bus,
-            'org.freesmartphone.ogsmd',
-            '/org/freesmartphone/GSM/Device',
-            'org.freesmartphone.GSM.SIM',
-            'IncomingStoredMessage'
+            'org.freesmartphone.opimd',
+            '/org/freesmartphone/PIM/Messages',
+            'org.freesmartphone.PIM.Messages',
+            'IncomingMessage'
         )
     def on_signal(self, index):
         logger.info("Receive IncomingMessage on index = %s" % index)