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

This commit is contained in:
Alfredo Monclus authored and GitHub committed 2021-12-04 12:29:17 -05:00
1 parent 873f61d74b
commit eca3385ffe
1 file changed
+6 -1
+6 -1
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']))