[polari/wip/fmuellner/combined-gsoc: 119/136] fix labels in user details. font size is bigger and there is a single space between them (horizontal
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 119/136] fix labels in user details. font size is bigger and there is a single space between them (horizontal
- Date: Tue, 26 Jul 2016 23:25:58 +0000 (UTC)
commit af84793dfb5d743be291c8067e03afc2b7ee52e2
Author: raresv <rares visalom gmail com>
Date: Mon Jul 25 13:22:29 2016 +0300
fix labels in user details. font size is bigger and there is a single space between them (horizontally).
data/resources/user-details.ui | 2 +-
src/userList.js | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/resources/user-details.ui b/data/resources/user-details.ui
index 1b2a888..705eeba 100644
--- a/data/resources/user-details.ui
+++ b/data/resources/user-details.ui
@@ -57,7 +57,6 @@
<property name="label" translatable="yes">Last Activity:</property>
<property name="valign">start</property>
<property name="halign">start</property>
- <property name="use-markup">True</property>
<property name="visible">True</property>
<property name="margin-start">20</property>
<style>
@@ -77,6 +76,7 @@
<property name="hexpand">True</property>
<property name="visible">True</property>
<property name="hexpand">True</property>
+ <property name="halign">start</property>
<style>
<class name="dim-label" />
</style>
diff --git a/src/userList.js b/src/userList.js
index d02a86b..b02348d 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -267,14 +267,14 @@ const UserDetails = new Lang.Class({
if (!fn)
fn = this._user.alias;
- this._fullnameLabel.label = '<small>' + fn + '</small>';
+ this._fullnameLabel.label = fn;
this._userIcon.visible = true;
if (last) {
- this._lastHeader.label = '<small>' + _("Last Activity:") + '</small>';
+ this._lastHeader.label = _("Last Activity:");
this._lastHeader.show();
- this._lastLabel.label = '<small>' + this._formatLast(last) + '</small>';
+ this._lastLabel.label = this._formatLast(last);
this._lastLabel.show();
} else {
this._lastHeader.hide();
@@ -285,7 +285,7 @@ const UserDetails = new Lang.Class({
},
_trackFallbackNick: function(nickname) {
- this._lastHeader.label = '<small>' + _("Last Activity:") + '</small>';
+ this._lastHeader.label = _("Last Activity:");
this._lastHeader.show();
this._userIcon.visible = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]