From e7441df24ad0314b2aaf0fbcfcc9895309a0ff19 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 21 Feb 2006 01:44:39 +0000 Subject: Patch by Ed Catmur to add "gnome" to legal_terms in output.py. svn path=/main/trunk/; revision=2756 --- pym/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/output.py') diff --git a/pym/output.py b/pym/output.py index e361e063d..f23bac263 100644 --- a/pym/output.py +++ b/pym/output.py @@ -95,7 +95,7 @@ def nc_len(mystr): def xtermTitle(mystr): if havecolor and dotitles and os.environ.has_key("TERM") and sys.stderr.isatty(): myt=os.environ["TERM"] - legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode"] + legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome"] for term in legal_terms: if myt.startswith(term): sys.stderr.write("\x1b]2;"+str(mystr)+"\x07") -- cgit v1.2.3-1-g7c22