add the total number of files to the title and the systray tooltip

This commit is contained in:
Kilian Valkhof 2010-04-21 18:20:01 +02:00
parent 45410e7b4b
commit 1be7cc83af

View file

@ -169,6 +169,8 @@ class StartQT4(QMainWindow):
print >> sys.stderr, u"[error] %s not a supported image file" % image.fullpath print >> sys.stderr, u"[error] %s not a supported image file" % image.fullpath
self.update_table() self.update_table()
self.systemtray.trayIcon.setToolTip("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
self.setWindowTitle("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
self.thread.compress_file(delegatorlist, self.showapp, self.verbose, self.thread.compress_file(delegatorlist, self.showapp, self.verbose,
self.imagelist) self.imagelist)