Store sidebar state in the configuration file
svn: r16274
This commit is contained in:
@@ -479,7 +479,6 @@ class GeoView(HtmlView):
|
||||
self.filter.pack_start(self.hpaned, True, True)
|
||||
self.signal_map = {'place-add': self._place_changed,
|
||||
'place-update' : self._place_changed}
|
||||
self.init_config()
|
||||
self.context_id = 0
|
||||
self.active = False
|
||||
self.already_testing = False
|
||||
|
||||
@@ -474,7 +474,6 @@ class HtmlView(PageView):
|
||||
# The two toolkits ( webkit and mozilla ) are available.
|
||||
# The user is able to choose what toolkit he will use.
|
||||
try:
|
||||
self.init_config()
|
||||
# preferences.webkit is useful only in geoview;
|
||||
# not in htmlview.
|
||||
if self._config.get('preferences.webkit'):
|
||||
|
||||
@@ -868,7 +868,6 @@ class PedigreeView(NavigationView):
|
||||
We use this to create immediately the config file with this ident.
|
||||
"""
|
||||
NavigationView.set_ident(self, ident)
|
||||
self.init_config()
|
||||
|
||||
# Automatic resize
|
||||
self.force_size = self._config.get('interface.pedview-tree-size')
|
||||
|
||||
@@ -189,7 +189,6 @@ class RelationshipView(NavigationView):
|
||||
We use this to create immediately the config file with this ident.
|
||||
"""
|
||||
NavigationView.set_ident(self, ident)
|
||||
self.init_config()
|
||||
self.show_siblings = self._config.get('preferences.family-siblings')
|
||||
self.show_details = self._config.get('preferences.family-details')
|
||||
self.use_shade = self._config.get('preferences.relation-shade')
|
||||
|
||||
Reference in New Issue
Block a user