From 7195d162404747729be038881c2f07da55377677 Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Mon, 3 May 2021 22:41:24 +0200 Subject: [PATCH] * Display total number of thumbnail images in title bar. --- ffpreview.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2