[polari] Add some color to nicks



commit a9adf74b2a14cafcbf01bd5476cc4d3a76c8aae7
Author: William Jon McCann <william jon mccann gmail com>
Date:   Thu Oct 17 15:09:13 2013 -0400

    Add some color to nicks
    
    Makes the log view a little easier to read and gives it a bit of
    life.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710410

 src/chatView.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index c238a4e..87ee7d1 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -119,6 +119,7 @@ const ChatView = new Lang.Class({
         context.save();
         context.add_class('dim-label');
         let dimColor = context.get_color(Gtk.StateFlags.NORMAL);
+        let selectedColor = context.get_background_color(Gtk.StateFlags.SELECTED);
         context.restore();
 
         let [found, linkColor] = context.lookup_color("link_color");
@@ -131,7 +132,7 @@ const ChatView = new Lang.Class({
         let tagTable = buffer.get_tag_table();
         let tags = [
           { name: 'nick',
-            foreground_rgba: dimColor },
+            foreground_rgba: selectedColor },
           { name: 'status',
             foreground_rgba: dimColor },
           { name: 'action',


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