Merge lp:~evfool/software-center/lp874430 into lp:software-center/5.2

Proposed by Robert Roth on 2012-05-17
Status: Merged
Merged at revision: 3021
Proposed branch: lp:~evfool/software-center/lp874430
Merge into: lp:software-center/5.2
Diff against target: 10 lines (+1/-0)
1 file modified
softwarecenter/ui/gtk3/widgets/buttons.py (+1/-0)
To merge this branch: bzr merge lp:~evfool/software-center/lp874430
Reviewer Review Type Date Requested Status
Gary Lasker (community) 2012-05-17 Approve on 2012-05-18
Review via email: mp+106188@code.launchpad.net

Description of the change

Show tooltip with the title of the application tile on hover, to see the full name even if it's ellipsized (LP: #874430).

To post a comment you must log in.
Gary Lasker (gary-lasker) wrote :

Does the trick. Thank you, Robert!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/ui/gtk3/widgets/buttons.py'
2--- softwarecenter/ui/gtk3/widgets/buttons.py 2012-03-16 16:52:54 +0000
3+++ softwarecenter/ui/gtk3/widgets/buttons.py 2012-05-17 13:32:52 +0000
4@@ -201,6 +201,7 @@
5 GObject.markup_escape_text(label))
6 self.title.set_alignment(0.0, 0.5)
7 self.title.set_use_markup(True)
8+ self.title.set_tooltip_text(label)
9 self.title.set_ellipsize(Pango.EllipsizeMode.END)
10 self.content_right.pack_start(self.title, False, False, 0)
11

Subscribers

People subscribed via source and target branches