diff -r c02818d7e29f -r 7e61baa047f0 dialogs/BrowseLocationsDialog.py --- a/dialogs/BrowseLocationsDialog.py Mon Aug 14 22:30:41 2017 +0300 +++ b/dialogs/BrowseLocationsDialog.py Mon Aug 14 23:27:15 2017 +0300 @@ -35,6 +35,7 @@ # Helpers #------------------------------------------------------------------------------- + def GetDirFilterChoiceOptions(): _ = lambda x : x return [(_("All"), [LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY]), @@ -43,6 +44,7 @@ (_("Memory"), [LOCATION_VAR_MEMORY])] DIRFILTERCHOICE_OPTIONS = dict([(_(option), filter) for option, filter in GetDirFilterChoiceOptions()]) + def GetTypeFilterChoiceOptions(): _ = lambda x : x return [_("All"), @@ -59,6 +61,7 @@ # Browse Locations Dialog #------------------------------------------------------------------------------- + class BrowseLocationsDialog(wx.Dialog): def __init__(self, parent, var_type, controller):