* src/ListModel.py: Check for the list to be long enough.
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; remove unneeded scrollwed window (caused warning). svn: r4757
This commit is contained in:
parent
1946c31ba6
commit
0258aad197
@ -1,3 +1,8 @@
|
||||
2005-06-02 Alex Roitman <shura@gramps-project.org>
|
||||
* src/ListModel.py: Check for the list to be long enough.
|
||||
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; remove
|
||||
unneeded scrollwed window (caused warning).
|
||||
|
||||
2005-06-01 Don Allingham <don@gramps-project.org>
|
||||
* src/EditPerson.py: Start event_ref integration
|
||||
* src/EventEdit.py: Start event_ref integration
|
||||
|
@ -42,7 +42,7 @@ class ListModel:
|
||||
self.mylist = []
|
||||
self.data_index = 0
|
||||
for l in dlist:
|
||||
if l[3] == TOGGLE:
|
||||
if len(l)>3 and l[3] == TOGGLE:
|
||||
self.mylist.append(TYPE_BOOLEAN)
|
||||
else:
|
||||
self.mylist.append(TYPE_STRING)
|
||||
|
@ -33441,6 +33441,7 @@ Family name Given name
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">repository_flowed</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
@ -33484,15 +33485,6 @@ Family name Given name
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkScrolledWindow" id="scrolledwindow89">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
||||
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox110">
|
||||
<property name="border_width">6</property>
|
||||
@ -33626,8 +33618,6 @@ Family name Given name
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="tab_expand">False</property>
|
||||
<property name="tab_fill">True</property>
|
||||
@ -34507,24 +34497,6 @@ Family name Given name
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkComboBox" id="repos_ref_media_type">
|
||||
<property name="visible">True</property>
|
||||
<property name="items" translatable="yes">Very Low
|
||||
Low
|
||||
Normal
|
||||
High
|
||||
Very High</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">6</property>
|
||||
<property name="bottom_attach">7</property>
|
||||
<property name="y_options">fill</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="repos_ref_callnumber">
|
||||
<property name="visible">True</property>
|
||||
@ -34593,6 +34565,20 @@ Very High</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkComboBoxEntry" id="repos_ref_media_type">
|
||||
<property name="visible">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">6</property>
|
||||
<property name="bottom_attach">7</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options">fill</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user