Remove unused argument to store_profile_values()

This commit is contained in:
Chris Jones 2010-01-26 00:30:43 +00:00
parent 9bb77729b4
commit 02a5c07ccf
1 changed files with 3 additions and 4 deletions

View File

@ -255,7 +255,7 @@ class PrefsEditor:
self.config['tab_position'] = value self.config['tab_position'] = value
## Profile tab ## Profile tab
self.store_profile_values(self.previous_selection) self.store_profile_values()
## Layouts tab ## Layouts tab
# FIXME: Implement this # FIXME: Implement this
@ -433,8 +433,7 @@ class PrefsEditor:
else: else:
widget.set_active(0) widget.set_active(0)
# FIXME: Why do we have a profile argument that we don't use? def store_profile_values(self):
def store_profile_values(self, profile):
"""Pull out all the settings before switching profile""" """Pull out all the settings before switching profile"""
guiget = self.builder.get_object guiget = self.builder.get_object
@ -701,7 +700,7 @@ class PrefsEditor:
if self.previous_selection is not None: if self.previous_selection is not None:
dbg('PrefsEditor::on_profile_selection_changed: Storing: %s' % dbg('PrefsEditor::on_profile_selection_changed: Storing: %s' %
self.previous_selection) self.previous_selection)
self.store_profile_values(self.previous_selection) self.store_profile_values()
(listmodel, rowiter) = selection.get_selected() (listmodel, rowiter) = selection.get_selected()
if not rowiter: if not rowiter: