Merge lp:~kamstrup/unity-lens-applications/sorted-filters into lp:unity-lens-applications

Proposed by Mikkel Kamstrup Erlandsen
Status: Merged
Approved by: Neil J. Patel
Approved revision: 231
Merged at revision: 231
Proposed branch: lp:~kamstrup/unity-lens-applications/sorted-filters
Merge into: lp:unity-lens-applications
Diff against target: 12 lines (+2/-0)
1 file modified
src/daemon.vala (+2/-0)
To merge this branch: bzr merge lp:~kamstrup/unity-lens-applications/sorted-filters
Reviewer Review Type Date Requested Status
Neil J. Patel Pending
Review via email: mp+75015@code.launchpad.net

Description of the change

Use new API from lp:~kamstrup/libunity/sorted-filters to sort application filter options according to translated labels (respecting locale collation rules)

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/daemon.vala'
2--- src/daemon.vala 2011-09-12 11:46:34 +0000
3+++ src/daemon.vala 2011-09-12 14:52:56 +0000
4@@ -209,6 +209,8 @@
5 /* Type filter */
6 {
7 var filter = new RadioOptionFilter ("type", _("Type"));
8+ filter.sort_type = Unity.OptionsFilter.SortType.DISPLAY_NAME;
9+
10 filter.add_option ("accessories", _("Accessories"));
11 filter.add_option ("education", _("Education"));
12 filter.add_option ("game", _("Games"));

Subscribers

People subscribed via source and target branches