[polari] roomList: update room name in pop-over when room name changes



commit 44014f596428ad9463f16f8e46eeab21bb4f6263
Author: Sankaranarayanan Viswanathan <rationalrevolt gmail com>
Date:   Sun Mar 20 20:08:20 2016 -0400

    roomList: update room name in pop-over when room name changes
    
    Modify onDisplayNameChanged to invoke onConnectionStatusChanged
    so that the pop-over status label is refreshed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763178

 src/roomList.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/roomList.js b/src/roomList.js
index f26f2c4..cd79d68 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -202,6 +202,9 @@ const RoomListHeader = new Lang.Class({
     _onDisplayNameChanged: function() {
         this._label.label = this._account.display_name;
 
+       /* update pop-over status label */
+       this._onConnectionStatusChanged();
+
         let parent;
         do
           parent = this.get_parent();


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