Add mrz display field width

Process drawing events before entering the (blocking) smart card read code


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@253 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
hploetz 2007-11-15 07:44:54 +00:00
parent 7e809d1122
commit b12c6b643f
2 changed files with 5 additions and 0 deletions

View File

@ -154,6 +154,9 @@ class PassportGUI:
self.main_window_xml.get_widget("mrz_entry1").set_text(mrz[0])
self.main_window_xml.get_widget("mrz_entry2").set_text(mrz[1])
while gtk.events_pending():
gtk.main_iteration_do(block=False)
if self.card_factory:
try:
card_object = self.card_factory.connect()

View File

@ -1060,6 +1060,7 @@ Nationality</property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<property name="width_chars">50</property>
<accessibility>
<atkrelation target="mrz_entry2" type="flows-to"/>
</accessibility>
@ -1086,6 +1087,7 @@ Nationality</property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<property name="width_chars">50</property>
<accessibility>
<atkrelation target="mrz_entry1" type="flows-to"/>
</accessibility>