From: Urban Wallasch Date: Mon, 3 May 2021 20:41:24 +0000 (+0200) Subject: * Display total number of thumbnail images in title bar. X-Git-Tag: v0.1~20 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=7195d162404747729be038881c2f07da55377677;p=ffpreview.git * Display total number of thumbnail images in title bar. --- diff --git a/ffpreview.py b/ffpreview.py index cf8b0cf..71a4a08 100755 --- a/ffpreview.py +++ b/ffpreview.py @@ -415,6 +415,7 @@ try: tlabel = Label(scrollframe, text=s2hms(th[2]), image=thumb, compound='top', relief='solid') tlabel.bind('', click_thumb) tlabels.append(tlabel) + root.title(root.title() + ' [%d]' % thinfo["count"]) except Exception as e: eprint(str(e)) exit(2)