Fixes for sidebar value saving and apply_filter fixes

svn: r1178
This commit is contained in:
Don Allingham 2002-11-10 04:22:50 +00:00
parent 1850bdbfff
commit 0c740b6ea8

View File

@ -407,7 +407,8 @@ class Gramps:
Plugins.PluginStatus() Plugins.PluginStatus()
def on_sidebar_activate(self,obj): def on_sidebar_activate(self,obj):
self.enable_sidebar(obj.get_active()) val = obj.get_active()
self.enable_sidebar(val)
GrampsCfg.save_view(val) GrampsCfg.save_view(val)
def enable_sidebar(self,val): def enable_sidebar(self,val):
@ -1431,7 +1432,7 @@ class Gramps:
6, val[6], 7, val[7]) 6, val[6], 7, val[7])
else: else:
if self.id2col.has_key(key): if self.id2col.has_key(key):
(model,iter) = self.id2col[key] (model,iter,page) = self.id2col[key]
model.remove(iter) model.remove(iter)
def on_home_clicked(self,obj): def on_home_clicked(self,obj):