mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 04:45:48 +01:00
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:
commit
63af8ed0ea
@ -2514,6 +2514,10 @@ prepend_terminal_to_vector (int *argc,
|
|||||||
term_argv = g_new0 (char *, 3);
|
term_argv = g_new0 (char *, 3);
|
||||||
|
|
||||||
check = g_find_program_in_path ("gnome-terminal");
|
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)
|
if (check != NULL)
|
||||||
{
|
{
|
||||||
term_argv[0] = check;
|
term_argv[0] = check;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user