summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-07-31 15:43:25 +0200
committerBenjamin Berg <bberg@redhat.com>2020-07-31 17:11:24 +0200
commit869f8f480c1ecab699f0f82c45799884babe9c16 (patch)
tree4f7b73e76cd425ae4bdb065578a514276116d8da
parent4e54cbcc60fccb19e57fb628db42571757495901 (diff)
downloadgnome-shell-benzea/use-app-info-launch.tar.gz
runDialog: Use new app based launch helperbenzea/use-app-info-launch
Doing this has the advantage of using the GLib GDesktopAppInfo launching API, resulting in the automatic registration of the application with systemd. See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1596 Closes: #3025 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1384
-rw-r--r--js/ui/runDialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 356a97436..8ab77d420 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -196,7 +196,7 @@ class RunDialog extends ModalDialog.ModalDialog {
let execArg = this._terminalSettings.get_string(EXEC_ARG_KEY);
command = '%s %s %s'.format(exec, execArg, input);
}
- Util.trySpawnCommandLine(command);
+ Util.trySpawnAppCommandline(command);
} catch (e) {
// Mmmh, that failed - see if @input matches an existing file
let path = null;