summary refs log tree commit diff
path: root/pkgs/development/libraries/glib/elementary-terminal-support.patch
blob: 0b8c8a70871cf99a9d6513b9f98bc28304b573f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)