Include version number on new version available message

Closes #13640
This commit is contained in:
Adrià Tarroja Caubet committed 2025-03-09 11:42:59 +01:00
1 parent e0260c74aa
commit 6d2cfee131
1 file changed
+1 -1
+1 -1
View File
@@ -972,7 +972,7 @@ def check_version(box, version=__version__):
if check_version(box, version):
info_bar = Gtk.InfoBar()
info_bar.get_content_area().pack_start(
Gtk.Label(label=_("A new version is available!")),
Gtk.Label(label=_(f"A new version ({version}) is available.")),
expand=True, fill=True, padding=0)
info_bar.set_show_close_button(True)
info_bar.add_button(_("Download"), Gtk.ResponseType.ACCEPT)