Merge branch 'mate-xfce4-term' into 'master'

gdesktopappinfo: Add support for MATE and Xfce4 terminals

See merge request GNOME/glib!795
This commit is contained in:
Philip Withnall 2019-04-26 11:27:19 +00:00
commit 63af8ed0ea

View File

@ -2514,6 +2514,10 @@ prepend_terminal_to_vector (int *argc,
term_argv = g_new0 (char *, 3);
check = g_find_program_in_path ("gnome-terminal");
if (check == NULL)
check = g_find_program_in_path ("mate-terminal");
if (check == NULL)
check = g_find_program_in_path ("xfce4-terminal");
if (check != NULL)
{
term_argv[0] = check;