Add the full message of the commits in the updater (#343)

This commit is contained in:
Alfredo Monclus 2021-12-04 14:29:17 -03:00 committed by GitHub
parent 873f61d74b
commit eca3385ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,10 +202,15 @@ class SystemPanel(ScreenPanel):
label = Gtk.Label()
label.set_ellipsize(True)
label.set_ellipsize(Pango.EllipsizeMode.END)
label.set_markup("%s\n<i>%s</i>\n" % (c['subject'], c['author']))
label.set_markup("<b>%s</b>\n<i>%s</i>\n" % (c['subject'], c['author']))
label.set_halign(Gtk.Align.START)
grid.attach(label, 0, i, 1, 1)
i = i + 1
details = Gtk.Label(label=c['message']+"\n\n\n")
details.set_halign(Gtk.Align.START)
grid.attach(details, 0, i, 1, 1)
i = i + 1
else:
label.set_markup("<b>" + _("%s will be updated to version") % program.capitalize() +
": %s</b>" % (info['remote_version']))