[gnome-shell/gbsneto/custom-icon-positions: 42/44] appDisplay: Increase folder dialog popdown timeout
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/custom-icon-positions: 42/44] appDisplay: Increase folder dialog popdown timeout
- Date: Mon, 6 Jul 2020 22:53:08 +0000 (UTC)
commit 55fd27812871a9267e6e6f1f1956c08a5a68bb1b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jun 25 16:10:53 2020 -0300
appDisplay: Increase folder dialog popdown timeout
App folders are now customizable, and the way to move icons to
another page is by throwing the cursor to either the left or
the right of the grid.
However, doing that triggers the popdown timeout, wich is 600ms
as of now, which is considerably short for such interaction.
Increase this timeout to 1.5 seconds.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284
js/ui/appDisplay.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index e3cdd55500..efb389413d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -19,6 +19,7 @@ const Params = imports.misc.params;
const SystemActions = imports.misc.systemActions;
var MENU_POPUP_TIMEOUT = 600;
+var POPDOWN_DIALOG_TIMEOUT = 1500;
var FOLDER_SUBICON_FRACTION = .4;
@@ -2304,7 +2305,7 @@ var AppFolderDialog = GObject.registerClass({
}
} else if (this._popdownTimeoutId === 0) {
this._popdownTimeoutId =
- GLib.timeout_add(GLib.PRIORITY_DEFAULT, MENU_POPUP_TIMEOUT, () => {
+ GLib.timeout_add(GLib.PRIORITY_DEFAULT, POPDOWN_DIALOG_TIMEOUT, () => {
this._popdownTimeoutId = 0;
this.popdown();
return GLib.SOURCE_REMOVE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]