0001937: Don't know GTK color !

Changes make this warning appear less, so partially resolved


svn: r10375
This commit is contained in:
Benny Malengier 2008-03-22 15:39:33 +00:00
parent d8a8f12207
commit fa1e30080c
2 changed files with 2 additions and 5 deletions

View File

@ -419,7 +419,6 @@ class PersonView(PageView.PersonNavView):
is no need to store the database, since we will get the value is no need to store the database, since we will get the value
from self.state.db from self.state.db
""" """
self.build_columns()
self.setup_filter() self.setup_filter()
self.db = db self.db = db
db.connect('person-add', self.person_added) db.connect('person-add', self.person_added)

View File

@ -830,7 +830,6 @@ class ListView(BookMarkView):
def build_tree(self): def build_tree(self):
if self.active: if self.active:
if Config.get(Config.FILTER): if Config.get(Config.FILTER):
filter_info = (True, self.generic_filter) filter_info = (True, self.generic_filter)
else: else:
@ -839,6 +838,7 @@ class ListView(BookMarkView):
self.model = self.make_model(self.dbstate.db, self.sort_col, self.model = self.make_model(self.dbstate.db, self.sort_col,
search=filter_info) search=filter_info)
self.list.set_model(self.model) self.list.set_model(self.model)
self.build_columns()
if const.USE_TIPS and self.model.tooltip_column != None: if const.USE_TIPS and self.model.tooltip_column != None:
self.tooltips = TreeTips.TreeTips( self.tooltips = TreeTips.TreeTips(
@ -881,8 +881,6 @@ class ListView(BookMarkView):
def change_db(self, db): def change_db(self, db):
for sig in self.signal_map: for sig in self.signal_map:
db.connect(sig, self.signal_map[sig]) db.connect(sig, self.signal_map[sig])
self.build_columns()
self.bookmarks.update_bookmarks(self.get_bookmarks()) self.bookmarks.update_bookmarks(self.get_bookmarks())
if self.active: if self.active:
self.build_tree() self.build_tree()