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
henryk_github
hploetz 15 years ago
parent 7e809d1122
commit b12c6b643f
  1. 3
      gui/__init__.py
  2. 2
      gui/passport/passport.glade

@ -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()

@ -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>

Loading…
Cancel
Save