mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
Merge branch 'kgx' into 'main'
Add kgx (gnome console) to known terminals lists See merge request GNOME/glib!3021
This commit is contained in:
commit
0f471fabfb
@ -2638,6 +2638,7 @@ prepend_terminal_to_vector (int *argc,
|
|||||||
const char *exec_arg;
|
const char *exec_arg;
|
||||||
} known_terminals[] = {
|
} known_terminals[] = {
|
||||||
{ "xdg-terminal-exec", NULL },
|
{ "xdg-terminal-exec", NULL },
|
||||||
|
{ "kgx", "-e" },
|
||||||
{ "gnome-terminal", "--" },
|
{ "gnome-terminal", "--" },
|
||||||
{ "mate-terminal", "-x" },
|
{ "mate-terminal", "-x" },
|
||||||
{ "xfce4-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"))
|
if (g_str_equal (terminal_name, "xdg-terminal-exec"))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
if (g_str_equal (terminal_name, "kgx"))
|
||||||
|
return "-e";
|
||||||
if (g_str_equal (terminal_name, "gnome-terminal"))
|
if (g_str_equal (terminal_name, "gnome-terminal"))
|
||||||
return "--";
|
return "--";
|
||||||
if (g_str_equal (terminal_name, "tilix"))
|
if (g_str_equal (terminal_name, "tilix"))
|
||||||
@ -1597,6 +1599,7 @@ main (int argc,
|
|||||||
guint i;
|
guint i;
|
||||||
const gchar *supported_terminals[] = {
|
const gchar *supported_terminals[] = {
|
||||||
"xdg-terminal-exec",
|
"xdg-terminal-exec",
|
||||||
|
"kgx",
|
||||||
"gnome-terminal",
|
"gnome-terminal",
|
||||||
"mate-terminal",
|
"mate-terminal",
|
||||||
"xfce4-terminal",
|
"xfce4-terminal",
|
||||||
|
Loading…
Reference in New Issue
Block a user