3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/glib/elementary-terminal-support.patch
Jan Tojnar ca0b2cdd67 glib: add support for Pantheon’s terminal emulator
Just like we did for GNOME’s in the parent commit.
2022-03-29 10:23:52 +02:00

17 lines
615 B
Diff

diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index a441bfec9..6bcd3e690 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -2678,6 +2678,11 @@ prepend_terminal_to_vector (int *argc,
if (check != NULL)
pass_cmd_as_single_arg = TRUE;
}
+ if (check == NULL) {
+ check = g_find_program_in_path ("io.elementary.terminal");
+ if (check != NULL)
+ pass_cmd_as_single_arg = TRUE;
+ }
if (check == NULL)
check = g_find_program_in_path ("tilix");
if (check == NULL)