[gnome-terminal] screen: Stop setting COLORTERM env var



commit 1d5c1b6ca6373c1301494edbc9e43c3e6a9c9aaf
Author: Christian Persch <chpe gnome org>
Date:   Sat Apr 26 19:13:21 2014 +0200

    screen: Stop setting COLORTERM env var
    
    COLORTERM is a long-obsolete slang-only variable used to work around
    broken termcap/terminfo entries.

 src/Makefile.am       |    1 -
 src/terminal-screen.c |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 52d0824..faea290 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -84,7 +84,6 @@ nodist_gnome_terminal_server_SOURCES = $(gnome_terminal_server_built)
 
 gnome_terminal_server_CPPFLAGS = \
        -DTERMINAL_COMPILATION \
-       -DEXECUTABLE_NAME=\"gnome-terminal\" \
        -DTERM_LOCALEDIR="\"$(datadir)/locale\"" \
        -DTERM_HELPDIR="\"$(HELP_DIR)\"" \
        -DTERM_LIBEXECDIR="\"$(libexecdir)\"" \
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index d9c96a5..c265869 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1084,8 +1084,6 @@ get_child_environment (TerminalScreen *screen,
   g_hash_table_remove (env_table, "LINES");
   g_hash_table_remove (env_table, "GNOME_DESKTOP_ICON");
  
-  g_hash_table_replace (env_table, g_strdup ("COLORTERM"), g_strdup (EXECUTABLE_NAME));
-  
 #ifdef GDK_WINDOWING_X11
   if (GDK_IS_X11_SCREEN (gtk_widget_get_screen (window)))
     {


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