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:
parent
7e809d1122
commit
b12c6b643f
|
@ -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_entry1").set_text(mrz[0])
|
||||||
self.main_window_xml.get_widget("mrz_entry2").set_text(mrz[1])
|
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:
|
if self.card_factory:
|
||||||
try:
|
try:
|
||||||
card_object = self.card_factory.connect()
|
card_object = self.card_factory.connect()
|
||||||
|
|
|
@ -1060,6 +1060,7 @@ Nationality</property>
|
||||||
<property name="has_frame">True</property>
|
<property name="has_frame">True</property>
|
||||||
<property name="invisible_char">*</property>
|
<property name="invisible_char">*</property>
|
||||||
<property name="activates_default">False</property>
|
<property name="activates_default">False</property>
|
||||||
|
<property name="width_chars">50</property>
|
||||||
<accessibility>
|
<accessibility>
|
||||||
<atkrelation target="mrz_entry2" type="flows-to"/>
|
<atkrelation target="mrz_entry2" type="flows-to"/>
|
||||||
</accessibility>
|
</accessibility>
|
||||||
|
@ -1086,6 +1087,7 @@ Nationality</property>
|
||||||
<property name="has_frame">True</property>
|
<property name="has_frame">True</property>
|
||||||
<property name="invisible_char">*</property>
|
<property name="invisible_char">*</property>
|
||||||
<property name="activates_default">False</property>
|
<property name="activates_default">False</property>
|
||||||
|
<property name="width_chars">50</property>
|
||||||
<accessibility>
|
<accessibility>
|
||||||
<atkrelation target="mrz_entry1" type="flows-to"/>
|
<atkrelation target="mrz_entry1" type="flows-to"/>
|
||||||
</accessibility>
|
</accessibility>
|
||||||
|
|
Loading…
Reference in New Issue