From 97642f79f69571b31fa213db33989cdbf126fae0 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 8 Jun 2005 15:37:44 +0000 Subject: [PATCH] * src/gramps_main.py (column_order): add Repository View; (init_interface): Remove unneeded callback svn: r4806 --- gramps2/ChangeLog | 2 ++ gramps2/src/gramps_main.py | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8e36675a9..df3fd77e6 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -4,6 +4,8 @@ * src/GrampsDbBase.py: fix column_order methods * src/DisplayModels.py (RepositoryModel): Remove parish column because it is not editable anyway + * src/gramps_main.py (column_order): add Repository View; + (init_interface): Remove unneeded callback 2005-06-08 Alex Roitman * src/ChooseParens.py: Support for (int,str) relationships. diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index ee05c6ec0..2f64838a0 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -427,7 +427,6 @@ class Gramps(GrampsDBCallback.GrampsDBCallback): "on_add_repository_clicked" : self.repository_view.on_add_clicked, "on_addperson_clicked" : self.load_new_person, "on_apply_filter_clicked" : self.on_apply_filter_clicked, - "on_arrow_left_clicked" : self.pedigree_view.on_show_child_menu, "on_contents_activate" : self.on_contents_activate, "on_faq_activate" : self.on_faq_activate, "on_default_person_activate" : self.on_default_person_activate, @@ -622,6 +621,10 @@ class Gramps(GrampsDBCallback.GrampsDBCallback): ColumnOrder.ColumnOrder(self.db.get_source_column_order(), SourceView.column_names, self.set_source_column_order) + elif cpage == REPOSITORY_VIEW: + ColumnOrder.ColumnOrder(self.db.get_repository_column_order(), + RepositoryView.column_names, + self.set_repository_column_order) elif cpage == PLACE_VIEW: ColumnOrder.ColumnOrder(self.db.get_place_column_order(), PlaceView.column_names,