1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Added images capital extensions to filter of extensions.

This commit is contained in:
2008-05-13 15:32:46 +00:00
parent 2729f660e9
commit e0a8753c13

View File

@@ -402,7 +402,9 @@ class LoadImageFile(object):
f.set_name("All Images") f.set_name("All Images")
for i in ['*.jpg', '*.jpeg', '*.gif', '*.png', '*.tif', '*.tiff', for i in ['*.jpg', '*.jpeg', '*.gif', '*.png', '*.tif', '*.tiff',
'*.tga', '*.pcx', '*.bmp', '*.xbm', '*.xpm', '*.jp2', '*.tga', '*.pcx', '*.bmp', '*.xbm', '*.xpm', '*.jp2',
'*.jpx', '*.pnm']: '*.jpx', '*.pnm', '*.JPG', '*.JPEG', '*.GIF', '*.PNG',
'*.TIF', '*.TIFF', '*.TGA', '*.PCX', '*.BMP', '*.XBM',
'*.XPM', '*.JP2', '*.JPX', '*.PNM']:
f.add_pattern(i) f.add_pattern(i)
self.dialog.add_filter(f) self.dialog.add_filter(f)
f = gtk.FileFilter() f = gtk.FileFilter()