[gnome-usage] process-row: Set pixel-size instead of requesting width/height
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] process-row: Set pixel-size instead of requesting width/height
- Date: Mon, 4 Dec 2017 13:04:14 +0000 (UTC)
commit 121c89e246c4179f2257d7c67ff19c4e5121d99e
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Dec 4 12:29:45 2017 +0100
process-row: Set pixel-size instead of requesting width/height
data/ui/process-row.ui | 1 +
src/process-row.vala | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/data/ui/process-row.ui b/data/ui/process-row.ui
index 029e99b..0fc0444 100644
--- a/data/ui/process-row.ui
+++ b/data/ui/process-row.ui
@@ -20,6 +20,7 @@
<property name="visible">True</property>
<property name="margin_right">10</property>
<property name="margin_left">10</property>
+ <property name="pixel_size">24</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/process-row.vala b/src/process-row.vala
index dcca9d0..526aa27 100644
--- a/src/process-row.vala
+++ b/src/process-row.vala
@@ -83,8 +83,6 @@ namespace Usage
if(icon.pixbuf == null)
{
icon.set_from_icon_name("system-run-symbolic", Gtk.IconSize.BUTTON);
- icon.width_request = 24;
- icon.height_request = 24;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]