mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
fix file dialog error with wrong type, update version
This commit is contained in:
parent
591536fa9e
commit
cbd4d76b6e
4 changed files with 17 additions and 9 deletions
11
debian/changelog
vendored
11
debian/changelog
vendored
|
|
@ -1,6 +1,9 @@
|
||||||
trimage (1.0.0b2-0ubuntu1) jaunty; urgency=low
|
trimage (1.0.0b3-0ubuntu1) jaunty; urgency=low
|
||||||
|
|
||||||
* correct parsing of unicode characters in filenames
|
* better image filetype determination
|
||||||
* changelog
|
* use unicode strings everywhere
|
||||||
|
* fix bug where Trimage would crash if a directory didn't end in a slash
|
||||||
|
* avoid a segfault when parsing empty directories
|
||||||
|
* ../../debian/changelog
|
||||||
|
|
||||||
-- Kilian Valkhof <kilian@kdesktop> Sun, 28 Mar 2010 16:09:45 +0200
|
-- Kilian Valkhof <kilian@kdesktop> Mon, 29 Mar 2010 13:08:18 +0200
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -3,7 +3,7 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
setup(name = "trimage",
|
setup(name = "trimage",
|
||||||
version = "1.0.0b2",
|
version = "1.0.0b3",
|
||||||
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
|
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
|
||||||
author = "Kilian Valkhof, Paul Chaplin",
|
author = "Kilian Valkhof, Paul Chaplin",
|
||||||
author_email = "help@trimage.org",
|
author_email = "help@trimage.org",
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ from imghdr import what as determinetype
|
||||||
|
|
||||||
from ui import Ui_trimage
|
from ui import Ui_trimage
|
||||||
|
|
||||||
VERSION = "1.0.0b2"
|
VERSION = "1.0.0b3"
|
||||||
|
|
||||||
|
|
||||||
class StartQT4(QMainWindow):
|
class StartQT4(QMainWindow):
|
||||||
|
|
@ -131,7 +131,11 @@ class StartQT4(QMainWindow):
|
||||||
# this is a fix for file dialog differentiating between cases
|
# this is a fix for file dialog differentiating between cases
|
||||||
"Image files (*.png *.jpg *.jpeg *.PNG *.JPG *.JPEG)")
|
"Image files (*.png *.jpg *.jpeg *.PNG *.JPG *.JPEG)")
|
||||||
|
|
||||||
self.delegator(images)
|
imagelist = []
|
||||||
|
for i, image in enumerate(images):
|
||||||
|
imagelist.append(unicode(image))
|
||||||
|
|
||||||
|
self.delegator(imagelist)
|
||||||
|
|
||||||
def recompress_files(self):
|
def recompress_files(self):
|
||||||
"""Send each file in the current file list to compress_file again."""
|
"""Send each file in the current file list to compress_file again."""
|
||||||
|
|
@ -356,7 +360,7 @@ class Worker(QThread):
|
||||||
if len(self.images)==0:
|
if len(self.images)==0:
|
||||||
import time
|
import time
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
#make sure the app quits after all images are done
|
#make sure the app quits after all images are done
|
||||||
quit()
|
quit()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
<h1><img src="trimage-icon.png" alt=""> Trimage image compressor – 1.0.0b2 (beta)</h1>
|
<h1><img src="trimage-icon.png" alt=""> Trimage image compressor – 1.0.0b3 (beta)</h1>
|
||||||
<span class="subtitle">A cross-platform tool for losslessly optimizing PNG and JPG files.</span>
|
<span class="subtitle">A cross-platform tool for losslessly optimizing PNG and JPG files.</span>
|
||||||
<p class="tri">Trimage is a cross-platform GUI and command-line interface to optimize image
|
<p class="tri">Trimage is a cross-platform GUI and command-line interface to optimize image
|
||||||
files via <a href="http://optipng.sourceforge.net/">optipng</a>,
|
files via <a href="http://optipng.sourceforge.net/">optipng</a>,
|
||||||
|
|
@ -123,6 +123,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Neil Wallace</li>
|
<li>Neil Wallace</li>
|
||||||
<li>Jeroen Goudsmit</li>
|
<li>Jeroen Goudsmit</li>
|
||||||
|
<li>Kálmán Tarnay</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue