View Single Post
Posts: 111 | Thanked: 38 times | Joined on Apr 2010
#445
I had a problem with Call Notify 0.2.0-2 not working well with PR 1.2.

If I missed one SMS, it would say that I missed 5+. It would not show a missed call icon if I missed a call.

I opened usr\lib\hildon-desktop\CallNotify.py. Saw this line.

Code:
if isSms:
#Nokia changed the event number from 7 to 11 and also combined the incomming and outgoing sms's
cur.execute("select count(id) from Events where event_type_id = 7 and outgoing = 0")
else:
#Nokia changed the event from 3 to 2
cur.execute("select count(id) from Events where event_type_id = 3 and outgoing = 0")
After reading the commented out lines, I changed the first event_type_id = 7 to event_type_id = 11.

I changed the second event_type_id = 3 to event_type_id = 2.

Everything works for me correctly now on PR 1.2

Attached is the modified CallNotify.py. Extract from .zip and replace in \usr\lib\hildon-desktop

Not sure if it'll work for you.
Attached Files
File Type: zip CallNotify.zip (3.6 KB, 197 views)

Last edited by ceevee; 2010-10-01 at 21:17.
 

The Following 2 Users Say Thank You to ceevee For This Useful Post: