[polari/gnome-3-32] roomList: Pop up popover



commit 0272172b7cfedf47610521d6e490eda203f9b36d
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Apr 20 12:19:06 2019 +0000

    roomList: Pop up popover
    
    At one point, GTK removed the hack to animate popover visibility changes on
    show()/hide() and added explicit popup()/popdown() methods for transitions.
    
    We want to animate the popover reveal, so switch to the appropriate method.
    
    https://gitlab.gnome.org/GNOME/polari/merge_requests/121

 src/roomList.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/roomList.js b/src/roomList.js
index 77ad504..68b90fe 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -193,7 +193,7 @@ var RoomRow = GObject.registerClass({
                                    _onPopoverVisibleChanged);
             this._popover.position = Gtk.PositionType.BOTTOM;
         }
-        this._popover.show();
+        this._popover.popup();
     }
 
     _clearConnectingTimeout() {


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