diff options
author | monsta <[email protected]> | 2018-01-20 12:05:51 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-23 17:59:30 +0100 |
commit | d3f29749a5e2ca5a21f9900717d6c0fc4ace906c (patch) | |
tree | b89e7d21d8d9957306a25fcda1de5d85565c3bfd /src/terminal-screen.c | |
parent | 254253a47dfbf70a2c969c8ef2163ec5c0239618 (diff) | |
download | mate-terminal-d3f29749a5e2ca5a21f9900717d6c0fc4ace906c.tar.bz2 mate-terminal-d3f29749a5e2ca5a21f9900717d6c0fc4ace906c.tar.xz |
screen: stop setting TERM and COLORTERM environment variables
closes https://github.com/mate-desktop/mate-terminal/issues/209
taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=a0ecd018f070b96a6ca2ff778ddda0f7fde5b847
https://git.gnome.org/browse/gnome-terminal/commit/?id=1d5c1b6ca6373c1301494edbc9e43c3e6a9c9aaf
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r-- | src/terminal-screen.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c index bbdbf6e..421b144 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -1424,9 +1424,6 @@ get_child_environment (TerminalScreen *screen, g_hash_table_remove (env_table, "LINES"); g_hash_table_remove (env_table, "MATE_DESKTOP_ICON"); - g_hash_table_replace (env_table, g_strdup ("COLORTERM"), g_strdup (EXECUTABLE_NAME)); - g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */ - /* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */ g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window)))); g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display))); |