Merge lp:~mhr3/unity-lens-applications/force-small-icons-for-suggestions into lp:unity-lens-applications/6.0

Proposed by Michal Hruby
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: 311
Merged at revision: 313
Proposed branch: lp:~mhr3/unity-lens-applications/force-small-icons-for-suggestions
Merge into: lp:unity-lens-applications/6.0
Diff against target: 21 lines (+3/-1)
1 file modified
src/daemon.vala (+3/-1)
To merge this branch: bzr merge lp:~mhr3/unity-lens-applications/force-small-icons-for-suggestions
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
Timo Jyrinki Needs Information
Review via email: mp+129400@code.launchpad.net

Commit message

Force small icons for "More suggestions" category

Description of the change

Force small icons for "More suggestions" category.

To post a comment you must log in.
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

SRU needs approving first, so don't approve before.

review: Needs Information
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

+1

review: Approve

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 2012-09-27 08:38:36 +0000
3+++ src/daemon.vala 2012-10-12 11:54:20 +0000
4@@ -119,6 +119,7 @@
5
6 public bool display_recent_apps { get; set; default = true; }
7 public bool display_available_apps { get; set; default = true; }
8+ public bool force_small_icons_for_suggestions { get; set; default = true; }
9
10 private PurchaseInfoHelper purchase_info = null;
11
12@@ -941,7 +942,8 @@
13 {
14 annotated_icon.ribbon = _("Free");
15 }
16- if (use_small_icon || app_icon.to_string () == GENERIC_APP_ICON)
17+ if (force_small_icons_for_suggestions || use_small_icon
18+ || app_icon.to_string () == GENERIC_APP_ICON)
19 {
20 annotated_icon.size_hint = IconSizeHint.SMALL;
21 }

Subscribers

People subscribed via source and target branches

to all changes: