2007-01-17 Don Allingham <don@gramps-project.org>

* src/DataViews/_PersonView.py: optimizations
	* src/ViewManager.py: optimizations
	* src/gramps_main.py: optimizations
	* src/PageView.py: optimizations



svn: r7927
This commit is contained in:
Don Allingham 2007-01-18 04:29:52 +00:00
parent 00765912ee
commit e0be7c4f13
5 changed files with 20 additions and 17 deletions

View File

@ -1,3 +1,9 @@
2007-01-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimizations
* src/ViewManager.py: optimizations
* src/gramps_main.py: optimizations
* src/PageView.py: optimizations
2007-01-17 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportDialog.py: 0000832: Please enable cm/inch toggle in
custom size for relationship graph

View File

@ -721,14 +721,13 @@ class ListView(BookMarkView):
for sig in self.signal_map:
db.connect(sig, self.signal_map[sig])
if Config.get(Config.FILTER):
search = EMPTY_SEARCH
else:
search = self.search_bar.get_value()
# if Config.get(Config.FILTER):
# search = EMPTY_SEARCH
# else:
# search = self.search_bar.get_value()
# self.model = self.make_model(self.dbstate.db, 0, search=search)
# self.list.set_model(self.model)
self.model = self.make_model(self.dbstate.db, 0, search=search)
self.list.set_model(self.model)
self.build_columns()
self.bookmarks.update_bookmarks(self.get_bookmarks())
if self.active:

View File

@ -935,7 +935,6 @@ class ViewManager:
self.state.db.enable_signals()
self.state.signal_change()
# self.state.db.request_rebuild()
Config.set(Config.RECENT_FILE,filename)

View File

@ -233,13 +233,12 @@ class Gramps:
ah.handle_args()
self.vm.post_init_interface()
state.db.request_rebuild()
state.change_active_person(state.db.get_default_person())
# state.db.request_rebuild()
# state.change_active_person(state.db.get_default_person())
if Config.get(Config.USE_TIPS):
TipOfDay.TipOfDay(self.vm.uistate)
def welcome(self):
return
# if not Config.get(Config.BETAWARN):