[polari/wip/fmuellner/combined-gsoc: 67/137] removed the old nick-popover-status css class



commit 872dbfadd5d8eb40d3f20fe42f0dd961b22635b0
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]