* src/EditPerson.py (EditPerson.__init__): use AutoCombo for name type

* src/edit_person.glade: allow a name type that is not in the list

* src/ImageSelect.py: make sure that description doesn't exceed the image
size
* src/MediaView.py: mark <local copy> for translation
* src/gramps.glade: eliminate fixed size for side panel, helps with translations.


svn: r2593
This commit is contained in:
Don Allingham 2004-01-07 04:58:51 +00:00
parent 1736deaa54
commit 6068598e28
2 changed files with 2 additions and 3 deletions

View File

@ -284,8 +284,7 @@ class EditPerson:
types = const.NameTypesMap.keys() types = const.NameTypesMap.keys()
types.sort() types.sort()
self.ntype_field.set_popdown_strings(types) self.autotype = AutoComp.AutoCombo(self.ntype_field,types)
self.autotype = AutoComp.AutoEntry(self.ntype_field.entry,types)
self.write_primary_name() self.write_primary_name()
if person.getGender() == RelLib.Person.male: if person.getGender() == RelLib.Person.male:

View File

@ -593,7 +593,7 @@
<child> <child>
<widget class="GtkCombo" id="ntype"> <widget class="GtkCombo" id="ntype">
<property name="visible">True</property> <property name="visible">True</property>
<property name="value_in_list">True</property> <property name="value_in_list">False</property>
<property name="allow_empty">False</property> <property name="allow_empty">False</property>
<property name="case_sensitive">False</property> <property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property> <property name="enable_arrow_keys">True</property>