[gnome-shell/gbsneto/folders-as-dialogs: 34/41] appDisplay: Add the folder popup to AllView itself
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/folders-as-dialogs: 34/41] appDisplay: Add the folder popup to AllView itself
- Date: Mon, 20 Jan 2020 20:21:50 +0000 (UTC)
commit 59d542c0c270ffe3567d2557cee850966969c7f8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jan 20 17:04:37 2020 -0300
appDisplay: Add the folder popup to AllView itself
Now the the folder popup behaves like a dialog, it must be
above the app grid, and not be affected by the scroll view
translation.
Add the folder popup to the AllView itself, instead of the
internal Shell.Stack that is inside the scroll view.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896
js/ui/appDisplay.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 6808892088..c481198ac2 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -704,7 +704,7 @@ var AllView = GObject.registerClass({
}
addFolderPopup(popup) {
- this._stack.add_actor(popup);
+ this.add_child(popup);
popup.connect('open-state-changed', (o, isOpen) => {
this._eventBlocker.visible = isOpen;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]