[gnome-shell/gbsneto/custom-icon-positions: 71/72] appDisplay: Popdown folder dialog when hovering
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/custom-icon-positions: 71/72] appDisplay: Popdown folder dialog when hovering
- Date: Thu, 4 Jun 2020 19:01:31 +0000 (UTC)
commit d03da7d75f6ce78f327545862094c1b551b38fdc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed May 27 15:52:43 2020 -0300
appDisplay: Popdown folder dialog when hovering
So that you can actually select the position to drop the icon.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284
js/ui/appDisplay.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 9d7f3129ec..f881e27f19 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1105,6 +1105,9 @@ class AppDisplay extends BaseAppView {
if (!this._canAccept(source))
return DND.DragMotionResult.NO_DROP;
+ if (this._currentDialog)
+ this._currentDialog.popdown();
+
return DND.DragMotionResult.MOVE_DROP;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]