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:
parent
453cf6205f
commit
f23992ade1
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user