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



commit 6fbe778a58c9cc5ff211a80308214fa5c8fe856b
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]