[polari] roomList: Pop up popover
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] roomList: Pop up popover
- Date: Sun, 12 May 2019 21:48:38 +0000 (UTC)
commit 6b069e04aacbc8965323a83f40732da2851c234e
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 6933ac1..53e7ea3 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -195,7 +195,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]