[polari/wip/raresv/nick-popover] work so far 5, added css class



commit f7984db5728cbcf9dea88e5718321234b761e715
Author: raresv <rares visalom gmail com>
Date:   Tue Jun 21 15:18:35 2016 +0300

    work so far 5, added css class

 data/resources/application.css |    4 ++++
 src/userList.js                |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 17b0a9c..6b4c196 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -153,3 +153,7 @@
     border: solid @borders;
     border-width: 0 0 1px;
 }
+
+.nick-popover-status {
+    font-size: 10px;
+}
diff --git a/src/userList.js b/src/userList.js
index a831d16..d11b8bc 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -327,7 +327,7 @@ const UserPopover = new Lang.Class({
         this.bind_property('visible', this._userDetails, 'expanded', 0);
 
         let context = this._statusLabel.get_style_context();
-        context.add_class('subtitle');
+        context.add_class('nick-popover-status');
         //context.save();
 
         this._vbox = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]