[gnome-shell/benzea/use-app-info-launch: 2/2] runDialog: Use new app based launch helper




commit c776cc47299ab7ca0dba654aed8b8cc4f8180eff
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

 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]