Merge lp:~lemonboy/slingshot/wrap into lp:~elementary-pantheon/slingshot/trunk

Proposed by The Lemon Man
Status: Merged
Approved by: Danielle Foré
Approved revision: 624
Merged at revision: 625
Proposed branch: lp:~lemonboy/slingshot/wrap
Merge into: lp:~elementary-pantheon/slingshot/trunk
Diff against target: 11 lines (+1/-0)
1 file modified
src/Widgets/AppEntry.vala (+1/-0)
To merge this branch: bzr merge lp:~lemonboy/slingshot/wrap
Reviewer Review Type Date Requested Status
Adam Bieńkowski (community) code Approve
Review via email: mp+282869@code.launchpad.net

Commit message

Wrap long app labels

Description of the change

To post a comment you must log in.
lp:~lemonboy/slingshot/wrap updated
624. By The Lemon Man

Wrap long lines in the AppEntry label.

Revision history for this message
Adam Bieńkowski (donadigo) wrote :

Code looks good. XD

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/AppEntry.vala'
2--- src/Widgets/AppEntry.vala 2015-12-30 11:27:52 +0000
3+++ src/Widgets/AppEntry.vala 2016-01-17 13:59:03 +0000
4@@ -88,6 +88,7 @@
5 app_label.set_line_wrap (true);
6 app_label.lines = 2;
7 app_label.set_single_line_mode (false);
8+ app_label.wrap_mode = Pango.WrapMode.WORD_CHAR;
9 app_label.set_ellipsize (Pango.EllipsizeMode.END);
10
11 image = new Gtk.Image ();

Subscribers

People subscribed via source and target branches