Changed CREATE_FOLDER to SELECT_FOLDER to prevent infinite loop; still allows one to create folder, with no lack of functionality

svn: r16268
This commit is contained in:
Doug Blank 2010-12-12 14:42:22 +00:00
parent 453cf6205f
commit f23992ade1
2 changed files with 2 additions and 2 deletions

View File

@ -1078,7 +1078,7 @@ class GrampsPreferences(ConfigureDialog):
def select_mediapath(self, *obj): def select_mediapath(self, *obj):
f = gtk.FileChooserDialog( f = gtk.FileChooserDialog(
_("Select media directory"), _("Select media directory"),
action=gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER, action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
buttons=(gtk.STOCK_CANCEL, buttons=(gtk.STOCK_CANCEL,
gtk.RESPONSE_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_APPLY, gtk.STOCK_APPLY,

View File

@ -1520,7 +1520,7 @@ class ViewManager(CLIManager):
""" """
f = gtk.FileChooserDialog( f = gtk.FileChooserDialog(
_("Select backup directory"), _("Select backup directory"),
action=gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER, action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
buttons=(gtk.STOCK_CANCEL, buttons=(gtk.STOCK_CANCEL,
gtk.RESPONSE_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_APPLY, gtk.STOCK_APPLY,