[polari/wip/fmuellner/combined-gsoc: 99/136] chatView: Rename a handler
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 99/136] chatView: Rename a handler
- Date: Tue, 26 Jul 2016 23:24:18 +0000 (UTC)
commit 80532faa4058168f052f153b0968950f85aa6c6b
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jul 19 23:53:50 2016 +0200
chatView: Rename a handler
I know I'm usually asking for shortening names, but here it makes
sense to specify which status it is we're talking about (there's
a lot of different stuff in chatView, so it's not exactly clear
from context).
src/chatView.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index b188a4e..0be6fde 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -348,12 +348,12 @@ const ChatView = new Lang.Class({
}));
this._onChannelChanged();
- this._roomStatusChangedId =
+ this._nickStatusChangedId =
this._userTracker.watchUser(this._room, null,
- Lang.bind(this, this._onStatusChanged));
+ Lang.bind(this, this._onNickStatusChanged));
this.connect('destroy', () => {
- this._userTracker.unwatchUser(this._room, this._roomStatusChangedId);
+ this._userTracker.unwatchUser(this._room, this._nickStatusChangedId);
this._userTracker = null;
});
},
@@ -1264,7 +1264,7 @@ const ChatView = new Lang.Class({
this._view.buffer.create_mark(null, iter, true));
},
- _onStatusChanged: function(nick, status) {
+ _onNickStatusChanged: function(nick, status) {
let nickTagName = this._getNickTagName(nick);
let nickTag = this._lookupTag(nickTagName);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]