[polari/wip/fmuellner/combined-gsoc: 65/137] UserDetails labels now have the same font size and icons are dimmed.
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 65/137] UserDetails labels now have the same font size and icons are dimmed.
- Date: Thu, 28 Jul 2016 16:20:53 +0000 (UTC)
commit 613205d9c4bed2f418b5bfd7f14c28974241879b
Author: raresv <rares visalom gmail com>
Date: Mon Jul 11 14:27:21 2016 +0300
UserDetails labels now have the same font size and icons are dimmed.
data/resources/user-details.ui | 7 +++++++
src/userList.js | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/data/resources/user-details.ui b/data/resources/user-details.ui
index 7d15f33..519f70d 100644
--- a/data/resources/user-details.ui
+++ b/data/resources/user-details.ui
@@ -42,6 +42,9 @@
<property name="visible">True</property>
<property name="halign">start</property>
<property name="margin-left">0</property>
+ <style>
+ <class name="dim-label" />
+ </style>
</object>
<packing>
<property name="width">1</property>
@@ -89,6 +92,9 @@
<property name="visible">True</property>
<property name="halign">start</property>
<property name="margin-left">0</property>
+ <style>
+ <class name="dim-label" />
+ </style>
</object>
<packing>
<property name="width">1</property>
@@ -103,6 +109,7 @@
<property name="visible">True</property>
<property name="margin-start">20</property>
<property name="hexpand">True</property>
+ <property name="use-markup">True</property>
<style>
<class name="dim-label" />
</style>
diff --git a/src/userList.js b/src/userList.js
index 33a3d53..ae8ad1a 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -251,7 +251,7 @@ const UserDetails = new Lang.Class({
if (!fn)
fn = this._user.alias;
- this._fullnameLabel.label = fn;
+ this._fullnameLabel.label = '<small>' + fn + '</small>';
this._userIcon.visible = true;
if (last) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]