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
=== modified file 'src/Widgets/AppEntry.vala'
--- src/Widgets/AppEntry.vala 2015-12-30 11:27:52 +0000
+++ src/Widgets/AppEntry.vala 2016-01-17 13:59:03 +0000
@@ -88,6 +88,7 @@
88 app_label.set_line_wrap (true);88 app_label.set_line_wrap (true);
89 app_label.lines = 2;89 app_label.lines = 2;
90 app_label.set_single_line_mode (false);90 app_label.set_single_line_mode (false);
91 app_label.wrap_mode = Pango.WrapMode.WORD_CHAR;
91 app_label.set_ellipsize (Pango.EllipsizeMode.END);92 app_label.set_ellipsize (Pango.EllipsizeMode.END);
9293
93 image = new Gtk.Image ();94 image = new Gtk.Image ();

Subscribers

People subscribed via source and target branches