Merge lp:~jttoivon/update-manager/update-manager into lp:update-manager

Proposed by Jarkko Toivonen on 2020-09-20
Status: Needs review
Proposed branch: lp:~jttoivon/update-manager/update-manager
Merge into: lp:update-manager
Diff against target: 11 lines (+1/-0)
1 file modified
UpdateManager/ (+1/-0)
To merge this branch: bzr merge lp:~jttoivon/update-manager/update-manager
Reviewer Review Type Date Requested Status
Brian Murray 2020-09-20 Needs Information on 2020-10-20
Review via email:

Commit message

Adds the name of the package to the description tab.

Description of the change

If I'm viewing the list of available updates for packages, and I want to find out the
exact name of a package, then I can select Changes tab from under Technical description.
Loading the changes list is sometimes slow and the list doesn't contain much useful information
except the package name. The Description tab however contains useful information, but not
the package name. This patch adds the name of the package to the description tab, so that
the user does not have to switch between the Changes and the Description tabs only to find the exact name.

To post a comment you must log in.
Brian Murray (brian-murray) wrote :

This looks good, thanks for making this change. Would you mind signing a contributor agreement form found here?

review: Needs Information
Jarkko Toivonen (jttoivon) wrote :

I signed the contributor agreement.

Unmerged revisions

2894. By Jarkko Toivonen <email address hidden> on 2020-09-20

Added the name of the package to the description tab

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'UpdateManager/'
2--- UpdateManager/ 2020-04-06 11:32:07 +0000
3+++ UpdateManager/ 2020-09-20 20:30:14 +0000
4@@ -555,6 +555,7 @@
5 # replace all multiple spaces by newlines
6 p = re.compile(r'\s\s+', re.MULTILINE)
7 long_desc = p.sub("\n", long_desc)
8+ long_desc = ("Package: %s\n" % + long_desc
10 desc_buffer = self.textview_descr.get_buffer()
11 desc_buffer.set_text(long_desc)


People subscribed via source and target branches

to status/vote changes: