diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 4ccd08014..04ddaab87 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2005-06-02 Alex Roitman + * 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 * src/EditPerson.py: Start event_ref integration * src/EventEdit.py: Start event_ref integration diff --git a/gramps2/src/ListModel.py b/gramps2/src/ListModel.py index 9bd13cfaa..f4b575e4d 100644 --- a/gramps2/src/ListModel.py +++ b/gramps2/src/ListModel.py @@ -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) diff --git a/gramps2/src/gramps.glade b/gramps2/src/gramps.glade index 3c27f37cd..2ce92f13a 100644 --- a/gramps2/src/gramps.glade +++ b/gramps2/src/gramps.glade @@ -33441,6 +33441,7 @@ Family name Given name False False True + repository_flowed 2 @@ -33485,147 +33486,136 @@ Family name Given name - + + 6 True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_NONE - GTK_CORNER_TOP_LEFT + False + 6 - - 6 + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + True + False + True + + + + + + 0 + True + True + + + + + True False 6 - + + 36 True + Add a new reference to a Repository where this Source is held True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT + GTK_RELIEF_NORMAL + True + - + True - True - True - True - False - True - + gtk-add + 4 + 0.5 + 0.5 + 0 + 0 - - 0 - True - True - - - - - - True - False - 6 - - - - 36 - True - Add a new reference to a Repository where this Source is held - True - GTK_RELIEF_NORMAL - True - - - - - True - gtk-add - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - Edit the properties of the selected object - True - GTK_RELIEF_NORMAL - True - - - - - 36 - True - edit_sm.png - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - Remove selected Repository Reference from this Source - True - GTK_RELIEF_NORMAL - True - - - - - True - gtk-remove - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - 0 False - True + False + + + + + + True + Edit the properties of the selected object + True + GTK_RELIEF_NORMAL + True + + + + + 36 + True + edit_sm.png + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + + + + + True + Remove selected Repository Reference from this Source + True + GTK_RELIEF_NORMAL + True + + + + + True + gtk-remove + 4 + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + 0 + False + True + @@ -34507,24 +34497,6 @@ Family name Given name - - - True - Very Low -Low -Normal -High -Very High - - - 2 - 4 - 6 - 7 - fill - - - True @@ -34593,6 +34565,20 @@ Very High + + + + True + + + 2 + 4 + 6 + 7 + fill + fill + + 0