fix set_current_folder when None

This commit is contained in:
Marcos Pinto 2008-04-12 05:08:33 +00:00
parent c012427edc
commit 4b620896a5
1 changed files with 2 additions and 1 deletions

View File

@ -281,7 +281,8 @@ class Preferences(component.Component):
widget.set_sensitive(True)
if modifier == "filename":
widget.set_current_folder(value)
if value:
widget.set_current_folder(value)
elif modifier == "active":
widget.set_active(value)
elif modifier == "not_active":