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

Proposed by The Lemon Man on 2016-01-17
Status: Merged
Approved by: Daniel Fore on 2016-01-17
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 code 2016-01-17 Approve on 2016-01-17
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 on 2016-01-17
624. By The Lemon Man on 2016-01-17

Wrap long lines in the AppEntry label.

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