[polari/wip/fmuellner/3-24-1-candidates: 9/10] entryArea: Rename a variable



commit 11b03f7d6d3e210c6dcdcdd4fd85b2f0527f0e93
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Mar 23 23:10:08 2017 +0100

    entryArea: Rename a variable

 src/entryArea.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/entryArea.js b/src/entryArea.js
index 1aaca97..2ea8ccb 100644
--- a/src/entryArea.js
+++ b/src/entryArea.js
@@ -386,11 +386,11 @@ const EntryArea = new Lang.Class({
         this._updateCompletions();
 
         if (room.channel)
-            this._nicknameChangedId =
+            this._selfAliasChangedId =
                 room.channel.connection.connect('notify::self-contact',
                                                 Lang.bind(this, this._updateNick));
         else
-            this._nicknameChangedId = 0;
+            this._selfAliasChangedId = 0;
         this._updateNick();
     },
 
@@ -443,9 +443,9 @@ const EntryArea = new Lang.Class({
         if (this._membersChangedId)
             this._room.disconnect(this._membersChangedId);
         this._membersChangedId = 0;
-        if (this._nicknameChangedId)
-            this._room.channel.connection.disconnect(this._nicknameChangedId);
-        this._nicknameChangedId = 0;
+        if (this._selfAliasChangedId)
+            this._room.channel.connection.disconnect(this._selfAliasChangedId);
+        this._selfAliasChangedId = 0;
         if (this._channelChangedId)
             this._room.disconnect(this._channelChangedId);
         this._channelChangedId = 0;


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