only numerics for sim pin

git-svn-id: http://www.neo1973-germany.de/svn@103 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
fgau 2008-08-29 18:55:11 +00:00
parent 8f56a23473
commit 72cf62094a

View file

@ -114,7 +114,7 @@ class MainScreen(EdjeGroup):
@edje.decorators.signal_callback("dialer_send", "*")
def on_edje_signal_numberkey_triggered(self, emission, source):
if self.res['code'] != 'READY':
if source in ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "#", "*", ):
if source in ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ):
self.text.append(source)
print ''.join(self.text)
self.part_text_set("numberdisplay_text", "".join(self.text))