check for new sms on startup

git-svn-id: http://www.neo1973-germany.de/svn@217 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
fgau 2008-12-10 19:28:04 +00:00
parent ebddff6450
commit da26c60997

View file

@ -252,7 +252,6 @@ class PyneoController(object):
class_.notify_callbacks("gsm_unregistered") class_.notify_callbacks("gsm_unregistered")
elif nw_status in (1, 5): elif nw_status in (1, 5):
class_.notify_callbacks("gsm_registered") class_.notify_callbacks("gsm_registered")
class_.first_check_new_sms
elif nw_status == 2: elif nw_status == 2:
class_.notify_callbacks("gsm_registering") class_.notify_callbacks("gsm_registering")
elif nw_status == 3: elif nw_status == 3:
@ -276,6 +275,7 @@ class PyneoController(object):
class_.notify_callbacks("gsm_signal_strength_change", status['rssi']) class_.notify_callbacks("gsm_signal_strength_change", status['rssi'])
if status.has_key('oper'): if status.has_key('oper'):
class_.first_check_new_sms()
class_.notify_callbacks("gsm_operator_change", status['oper']) class_.notify_callbacks("gsm_operator_change", status['oper'])
if status.has_key('number'): if status.has_key('number'):