[gnome-shell/gbsneto/custom-icon-positions: 6/7] 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: 6/7] appDisplay: Popdown folder dialog when hovering
- Date: Wed, 27 May 2020 18:54:34 +0000 (UTC)
commit b832bd2d59a5c2b2383958c070ba28ee125a7811
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 d6c39adfe8..24f06a0c31 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1109,6 +1109,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]