diff --git a/todo b/todo index 68464fd..35a0c47 100644 --- a/todo +++ b/todo @@ -23,11 +23,8 @@ optipng for png and gif, jpegoptim for jpeg. both are available in ubuntu as dep ========================================== todo app wise -- implement drag and drop on table -- implement threading (and include advpng then) +- implement threading - errors need to go to standarderror -- implement a case insensitive file dialog open - ^ we can do this, but this is only needed for linux. for now lets just add uppercase equivalents - make icon todo else diff --git a/trimage-icon.png b/trimage-icon.png index 74d6b75..d478605 100644 Binary files a/trimage-icon.png and b/trimage-icon.png differ diff --git a/trimage.py b/trimage.py index d0a3ba6..4341742 100644 --- a/trimage.py +++ b/trimage.py @@ -96,7 +96,8 @@ class StartQT4(QMainWindow): images = fd.getOpenFileNames(self, "Select one or more image files to compress", "", # directory - "Image files (*.png *.jpg *.jpeg)") + # this is a fix for file dialog differenciating between cases + "Image files (*.png *.jpg *.jpeg *.PNG *.JPG *.JPEG)") for image in images: if self.checkname(image): self.compress_file(image)