From f23992ade19f1bb12eaf44ffc1fec50b360fd182 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 12 Dec 2010 14:42:22 +0000 Subject: [PATCH] Changed CREATE_FOLDER to SELECT_FOLDER to prevent infinite loop; still allows one to create folder, with no lack of functionality svn: r16268 --- src/gui/configure.py | 2 +- src/gui/viewmanager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/configure.py b/src/gui/configure.py index 758d4694f..e3ce85ce0 100644 --- a/src/gui/configure.py +++ b/src/gui/configure.py @@ -1078,7 +1078,7 @@ class GrampsPreferences(ConfigureDialog): def select_mediapath(self, *obj): f = gtk.FileChooserDialog( _("Select media directory"), - action=gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER, + action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_APPLY, diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 00418d196..30cb53890 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -1520,7 +1520,7 @@ class ViewManager(CLIManager): """ f = gtk.FileChooserDialog( _("Select backup directory"), - action=gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER, + action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_APPLY,