From a00e2e5f1a136156497051163d1aaeb32c85b41e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 27 Oct 2022 08:37:08 +0000 Subject: [PATCH] appinfo: Add new entries at the bottom The state purpose of !3021 is to add a new fallback to `kgx`. This should not entail changing the order of the existing entries, which changes the order in which terminals are searched for. Move the new entry to the bottom, where fallback will still find it without changing the fallback order. --- gio/gdesktopappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c index d0cdef51a..8d2e35c4d 100644 --- a/gio/gdesktopappinfo.c +++ b/gio/gdesktopappinfo.c @@ -2638,7 +2638,6 @@ prepend_terminal_to_vector (int *argc, const char *exec_arg; } known_terminals[] = { { "xdg-terminal-exec", NULL }, - { "kgx", "-e" }, { "gnome-terminal", "--" }, { "mate-terminal", "-x" }, { "xfce4-terminal", "-x" }, @@ -2648,7 +2647,8 @@ prepend_terminal_to_vector (int *argc, { "color-xterm", "-e" }, { "rxvt", "-e" }, { "dtterm", "-e" }, - { "xterm", "-e" } + { "xterm", "-e" }, + { "kgx", "-e" } }; g_return_val_if_fail (argc != NULL, FALSE);