[polari] entryArea: Rename a variable



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

    entryArea: Rename a variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781161

 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]