[gnome-shell/benzea/use-app-info-launch: 7/7] runDialog: Use new app based launch helper
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/benzea/use-app-info-launch: 7/7] runDialog: Use new app based launch helper
- Date: Fri, 31 Jul 2020 15:12:41 +0000 (UTC)
commit 869f8f480c1ecab699f0f82c45799884babe9c16
Author: Benjamin Berg <bberg redhat com>
Date: Fri Jul 31 15:43:25 2020 +0200
runDialog: Use new app based launch helper
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
js/ui/runDialog.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 356a974363..8ab77d4208 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]