[hdf-compass] 25/295: Add All Files entry to file selection dialog

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit e6efa9e0699a49ce38ec65bee83c7ebe15e7ffde
Author: Andrew Collette <andrew.collette at gmail.com>
Date:   Tue Jul 22 08:17:46 2014 -0600

    Add All Files entry to file selection dialog
---
 compass_viewer/frame.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compass_viewer/frame.py b/compass_viewer/frame.py
index 92b380c..2dae3a8 100644
--- a/compass_viewer/frame.py
+++ b/compass_viewer/frame.py
@@ -109,6 +109,7 @@ class BaseFrame(wx.Frame):
             
         # The wxPython wildcard string is a bunch of filter strings pasted together
         wc_string = [s.file_extensions for s in compass_model.getstores() if len(s.file_extensions) != 0]
+        wc_string.append({"All Files": ["*"]})
         wc_string = "|".join([make_filter_string(x) for x in wc_string])
         
         from . import open_store

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git



More information about the debian-science-commits mailing list