diff --git a/ChangeLog b/ChangeLog index 5154069c1..6e06687f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-14 Don Allingham + * src/DisplayTabs.py: fix scrolled window + * src/EditFamily.py: delete button + * src/gramps.glade: clean up the window. + 2006-01-13 Don Allingham * src/const.py.in: remove unused variables * src/gramps.glade: remove unused dialogs diff --git a/src/DisplayTabs.py b/src/DisplayTabs.py index 83c7711fc..544f4f078 100644 --- a/src/DisplayTabs.py +++ b/src/DisplayTabs.py @@ -51,8 +51,9 @@ class EmbeddedList(gtk.HBox): self.selection.connect('changed',self.selection_changed) scroll = gtk.ScrolledWindow() + scroll.set_shadow_type(gtk.SHADOW_IN) scroll.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC) - scroll.add_with_viewport(self.tree) + scroll.add(self.tree) self.pack_start(scroll,True) self.columns = [] self.build_columns() diff --git a/src/EditFamily.py b/src/EditFamily.py index 2febd8a52..69f5cc49d 100644 --- a/src/EditFamily.py +++ b/src/EditFamily.py @@ -145,7 +145,10 @@ class ChildEmbedList(DisplayTabs.EmbeddedList): print "Add Button Clicked" def del_button_clicked(self,obj): - print "Del Button Clicked" + handle = self.get_selected() + if handle: + self.family.remove_child_handle(handle) + self.rebuild() def edit_button_clicked(self,obj): handle = self.get_selected() diff --git a/src/gramps.glade b/src/gramps.glade index 750f47674..ab2399826 100644 --- a/src/gramps.glade +++ b/src/gramps.glade @@ -2234,7 +2234,7 @@ 6 True 3 - 8 + 3 False 6 12 @@ -2259,7 +2259,7 @@ 0 - 8 + 3 0 1 fill @@ -2333,7 +2333,7 @@ 2 - 8 + 3 2 3 fill @@ -2355,9 +2355,10 @@ 2 - 8 + 3 1 2 + fill