monsta 2018-01-20 12:05:51 +03:00 committed by raveit65
parent 254253a47d
commit d3f29749a5
2 changed files with 0 additions and 4 deletions

View File

@ -64,7 +64,6 @@ nodist_mate_terminal_SOURCES= $(BUILT_SOURCES)
mate_terminal_CPPFLAGS = \ mate_terminal_CPPFLAGS = \
-DTERMINAL_COMPILATION \ -DTERMINAL_COMPILATION \
-DEXECUTABLE_NAME=\"mate-terminal\" \
-DTERM_DATADIR="\"$(datadir)\"" \ -DTERM_DATADIR="\"$(datadir)\"" \
-DTERM_LOCALEDIR="\"$(datadir)/locale\"" \ -DTERM_LOCALEDIR="\"$(datadir)/locale\"" \
-DTERM_PKGDATADIR="\"$(pkgdatadir)\"" \ -DTERM_PKGDATADIR="\"$(pkgdatadir)\"" \

View File

@ -1424,9 +1424,6 @@ get_child_environment (TerminalScreen *screen,
g_hash_table_remove (env_table, "LINES"); g_hash_table_remove (env_table, "LINES");
g_hash_table_remove (env_table, "MATE_DESKTOP_ICON"); 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... */ /* 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 ("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))); g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display)));