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
=== modified file 'src/daemon.vala'
--- src/daemon.vala 2011-09-12 11:46:34 +0000
+++ src/daemon.vala 2011-09-12 14:52:56 +0000
@@ -209,6 +209,8 @@
209 /* Type filter */209 /* Type filter */
210 {210 {
211 var filter = new RadioOptionFilter ("type", _("Type"));211 var filter = new RadioOptionFilter ("type", _("Type"));
212 filter.sort_type = Unity.OptionsFilter.SortType.DISPLAY_NAME;
213
212 filter.add_option ("accessories", _("Accessories"));214 filter.add_option ("accessories", _("Accessories"));
213 filter.add_option ("education", _("Education"));215 filter.add_option ("education", _("Education"));
214 filter.add_option ("game", _("Games"));216 filter.add_option ("game", _("Games"));

Subscribers

People subscribed via source and target branches