fixes in editable properties of some entries in vcard (fix #438)

This commit is contained in:
Yann Leboulanger 2005-06-26 21:35:52 +00:00
parent 7921b1fbe6
commit ea7d45ac2a
2 changed files with 11 additions and 11 deletions

View File

@ -6528,7 +6528,7 @@ Custom</property>
<widget class="GtkExpander" id="expander4">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="expanded">True</property>
<property name="expanded">False</property>
<property name="spacing">0</property>
<child>
@ -6665,7 +6665,7 @@ Custom</property>
<widget class="GtkEntry" id="N_FAMILY_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -6686,7 +6686,7 @@ Custom</property>
<widget class="GtkEntry" id="N_GIVEN_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -6707,7 +6707,7 @@ Custom</property>
<widget class="GtkEntry" id="N_MIDDLE_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -6728,7 +6728,7 @@ Custom</property>
<widget class="GtkEntry" id="N_PREFIX_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -6749,7 +6749,7 @@ Custom</property>
<widget class="GtkEntry" id="N_SUFFIX_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -7711,7 +7711,7 @@ Custom</property>
<widget class="GtkEntry" id="TEL_WORK_NUMBER_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
@ -7732,7 +7732,7 @@ Custom</property>
<widget class="GtkEntry" id="EMAIL_WORK_USERID_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="editable">False</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>

View File

@ -298,9 +298,9 @@ class VcardWindow:
'TEL_HOME_NUMBER', 'N_FAMILY', 'N_GIVEN', 'N_MIDDLE', 'N_PREFIX',
'N_SUFFIX', 'ADR_HOME_STREET', 'ADR_HOME_EXTADR', 'ADR_HOME_LOCALITY',
'ADR_HOME_REGION', 'ADR_HOME_PCODE', 'ADR_HOME_CTRY', 'ORG_ORGNAME',
'ORG_ORGUNIT', 'TITLE', 'ROLE', 'ADR_WORK_STREET', 'ADR_WORK_EXTADR',
'ADR_WORK_LOCALITY', 'ADR_WORK_REGION', 'ADR_WORK_PCODE',
'ADR_WORK_CTRY']
'ORG_ORGUNIT', 'TITLE', 'ROLE', 'TEL_WORK_NUMBER', 'EMAIL_WORK_USERID',
'ADR_WORK_STREET', 'ADR_WORK_EXTADR', 'ADR_WORK_LOCALITY',
'ADR_WORK_REGION', 'ADR_WORK_PCODE', 'ADR_WORK_CTRY']
vcard = {}
for e in entries:
txt = self.xml.get_widget(e + '_entry').get_text()