[gnome-shell/eos3.8: 150/255] fixup! Allow opening the background menu popup from the APPS view
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 150/255] fixup! Allow opening the background menu popup from the APPS view
- Date: Wed, 10 Jun 2020 19:10:35 +0000 (UTC)
commit acf1c1a1fd74711e7f439ac298b4ef407a9e36f7
Author: Andre Moreira Magalhaes <andre endlessm com>
Date: Sat Mar 28 00:02:25 2020 -0300
fixup! Allow opening the background menu popup from the APPS view
Let's cancel the background action when launching apps or opening
folders to avoid showing the background menu.
https://phabricator.endlessm.com/T28780
js/ui/appDisplay.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 0d0616d585..0edc2322f5 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -624,6 +624,7 @@ class AppDisplay extends BaseAppView {
return;
}
icon = new FolderIcon(item, this);
+ icon.connect('clicked', () => this._bgAction.release());
} else {
icon.update();
}
@@ -636,6 +637,7 @@ class AppDisplay extends BaseAppView {
icon = new AppIcon(app, {
isDraggable: favoritesWritable,
});
+ icon.connect('clicked', () => this._bgAction.release());
}
appIcons.push(icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]