[pywin32-bugs] [ pywin32-Patches-3543626 ] GUI: File Dialogs: Allow Multiple File Types
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-11-24 05:04:09
|
Patches item #3543626, was opened at 2012-07-13 09:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3543626&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: felix (fkjt79) Assigned to: Nobody/Anonymous (nobody) Summary: GUI: File Dialogs: Allow Multiple File Types Initial Comment: /GUI/BaseFileDialogs.py Function win_filter def win_filter(file_types): filters = [] if file_types: for ftype in file_types: suffix = ftype.suffix if suffix: suffixes = suffix.split(";") # new pattern = "*." + ";*.".join(suffixes) # modified filters.append("%s (%s)|%s" % (ftype.name, pattern, pattern)) return "|".join(filters) + "||" ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2012-11-23 21:04 Message: Thanks, but not a pywin32 patch ---------------------------------------------------------------------- Comment By: Roger Upole (rupole) Date: 2012-07-13 10:05 Message: I think this is meant for the PyGUI package, which isn't part of Pywin32. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3543626&group_id=78018 |