[gnome-boxes] list-view-row: Smaller text for info
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] list-view-row: Smaller text for info
- Date: Thu, 27 Aug 2015 15:03:16 +0000 (UTC)
commit e6ed72fee47f14cdd112295b81ba3f5304b05936
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Aug 26 18:18:51 2015 +0100
list-view-row: Smaller text for info
Name is the most important bit so make info label, smaller in
comparison.
src/list-view-row.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/list-view-row.vala b/src/list-view-row.vala
index 55a6a7d..d57bf4e 100644
--- a/src/list-view-row.vala
+++ b/src/list-view-row.vala
@@ -105,9 +105,10 @@ private class Boxes.ListViewRow: Gtk.Box {
}
private void update_info () {
- info_label.label = machine.info;
+ var info = (machine.info != null && machine.info != "")? "<small>" + machine.info + "</small>": "";
+ info_label.label = info;
- info_label.visible = (info_label.label != "");
+ info_label.visible = (info != "");
}
private void update_state () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]