[gnome-terminal] Don't need to put TERM in the spawn env



commit a0ecd018f070b96a6ca2ff778ddda0f7fde5b847
Author: Christian Persch <chpe gnome org>
Date:   Tue Oct 26 15:40:33 2010 +0200

    Don't need to put TERM in the spawn env
    
    vte is handling this internally just fine.

 src/terminal-screen.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index bcd22cc..1481024 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1389,7 +1389,6 @@ get_child_environment (TerminalScreen *screen,
   g_hash_table_remove (env_table, "GNOME_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? */
   
 #ifdef GDK_WINDOWING_X11
   /* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]