mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Add kgx (gnome console) known terminals lists
This commit is contained in:
parent
14fcafe2f7
commit
ae65753b16
@ -2638,6 +2638,7 @@ 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" },
|
||||
|
@ -1357,6 +1357,8 @@ get_terminal_divider (const char *terminal_name)
|
||||
{
|
||||
if (g_str_equal (terminal_name, "xdg-terminal-exec"))
|
||||
return NULL;
|
||||
if (g_str_equal (terminal_name, "kgx"))
|
||||
return "-e";
|
||||
if (g_str_equal (terminal_name, "gnome-terminal"))
|
||||
return "--";
|
||||
if (g_str_equal (terminal_name, "tilix"))
|
||||
@ -1597,6 +1599,7 @@ main (int argc,
|
||||
guint i;
|
||||
const gchar *supported_terminals[] = {
|
||||
"xdg-terminal-exec",
|
||||
"kgx",
|
||||
"gnome-terminal",
|
||||
"mate-terminal",
|
||||
"xfce4-terminal",
|
||||
|
Loading…
Reference in New Issue
Block a user