[polari/wip/raresv/nick-popover: 22/27] chatView: add tab before the nickTag into the buffer.



commit a79cffc81025163400481835825a45919a6de853
Author: raresv <rares visalom gmail com>
Date:   Sat Aug 20 19:50:03 2016 +0300

    chatView: add tab before the nickTag into the buffer.

 src/chatView.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 2801bd0..9077cfb 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -1181,7 +1181,8 @@ const ChatView = new Lang.Class({
 
                 if (needsGap)
                     tags.push(this._lookupTag('gap'));
-                this._insertWithTags(iter, message.nick + '\t', tags);
+                this._insertWithTags(iter, message.nick, tags);
+                buffer.insert(iter, '\t', -1);
             }
             state.lastNick = message.nick;
             tags.push(this._lookupTag('message'));


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