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
|
||||
* changelog
|
||||
* better image filetype determination
|
||||
* 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
|
||||
|
||||
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",
|
||||
author = "Kilian Valkhof, Paul Chaplin",
|
||||
author_email = "help@trimage.org",
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from imghdr import what as determinetype
|
|||
|
||||
from ui import Ui_trimage
|
||||
|
||||
VERSION = "1.0.0b2"
|
||||
VERSION = "1.0.0b3"
|
||||
|
||||
|
||||
class StartQT4(QMainWindow):
|
||||
|
|
@ -131,7 +131,11 @@ class StartQT4(QMainWindow):
|
|||
# this is a fix for file dialog differentiating between cases
|
||||
"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):
|
||||
"""Send each file in the current file list to compress_file again."""
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<body>
|
||||
<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>
|
||||
<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>,
|
||||
|
|
@ -123,6 +123,7 @@
|
|||
<ul>
|
||||
<li>Neil Wallace</li>
|
||||
<li>Jeroen Goudsmit</li>
|
||||
<li>Kálmán Tarnay</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="block">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue