[polari] application: Use new signal to enable/disable user list



commit d647b583a2405785f7efa1d7ef202c2f6b15f727
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Feb 21 17:10:32 2014 +0100

    application: Use new signal to enable/disable user list
    
    Since the availability of the user list now also depends on the
    active room's channel property, updating on room changes is not
    enough. Use the new ChatroomManager::active-state-changed signal
    instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724902

 src/application.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 0012f15..52c3ad5 100644
--- a/src/application.js
+++ b/src/application.js
@@ -197,7 +197,7 @@ const Application = new Lang.Class({
     },
 
     _userListCreateHook: function(action) {
-        this._chatroomManager.connect('active-changed', Lang.bind(this,
+        this._chatroomManager.connect('active-state-changed', Lang.bind(this,
             function() {
                 this._updateUserListAction(action);
             }));


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