[polari/wip/raresv/popoverRebasedOnTracker] removed the old nick-popover-status css class
- From: Rares Visalom <raresvisalom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/popoverRebasedOnTracker] removed the old nick-popover-status css class
- Date: Mon, 11 Jul 2016 19:21:16 +0000 (UTC)
commit 60051b8ee4776b4a6e2cfa3518e432cb7913d311
Author: raresv <rares visalom gmail com>
Date: Mon Jul 11 22:15:03 2016 +0300
removed the old nick-popover-status css class
src/userList.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index 31002ce..1cca0a6 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -327,7 +327,7 @@ const UserPopover = new Lang.Class({
this.parent(params);
this._nickLabel = new Gtk.Label({ halign: Gtk.Align.START, margin_top: 0 });
- this._statusLabel = new Gtk.Label({ halign: Gtk.Align.START, margin_bottom: 0 });
+ this._statusLabel = new Gtk.Label({ halign: Gtk.Align.START, margin_bottom: 0, use_markup: true });
this._headervbox = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL, halign: Gtk.Align.FILL });
this._headervbox.add(this._nickLabel);
@@ -377,12 +377,12 @@ const UserPopover = new Lang.Class({
let labelStatus = "";
if (bestMatchingContact)
- labelStatus = "Online";
+ labelStatus = "<small>Online</small>";
else
if (this._userTracker.getNickStatus(this._nickname) == Tp.ConnectionPresenceType.OFFLINE)
- labelStatus = "Offline";
+ labelStatus = "<small>Offline</small>";
else
- labelStatus = "Available in another room.";
+ labelStatus = "<small>Available in another room.</small>";
this._statusLabel.set_label(labelStatus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]