Merge lp:~elementary-apps/appcenter/hidpi-icon-size into lp:~elementary-apps/appcenter/appcenter

Proposed by Danielle Foré
Status: Merged
Approved by: Corentin Noël
Approved revision: 211
Merged at revision: 212
Proposed branch: lp:~elementary-apps/appcenter/hidpi-icon-size
Merge into: lp:~elementary-apps/appcenter/appcenter
Diff against target: 12 lines (+2/-0)
1 file modified
src/Widgets/PackageRow.vala (+2/-0)
To merge this branch: bzr merge lp:~elementary-apps/appcenter/hidpi-icon-size
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+298045@code.launchpad.net

Commit message

Enforce pixel size for PackageRow icons on HiDPI

To post a comment you must log in.
211. By Danielle Foré

comment style

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/PackageRow.vala'
2--- src/Widgets/PackageRow.vala 2016-06-21 17:43:40 +0000
3+++ src/Widgets/PackageRow.vala 2016-06-21 18:13:34 +0000
4@@ -65,6 +65,8 @@
5
6 image = new Gtk.Image ();
7 image.icon_size = Gtk.IconSize.DIALOG;
8+ /* Needed to enforce size on icons from Filesystem/Remote */
9+ image.pixel_size = 48;
10
11 package_name = new Gtk.Label (null);
12 package_name.get_style_context ().add_class ("h3");

Subscribers

People subscribed via source and target branches

to all changes: