Patch by Ed Catmur to add "gnome" to legal_terms in output.py.
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Feb 2006 01:44:39 +0000 (01:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Feb 2006 01:44:39 +0000 (01:44 -0000)
svn path=/main/trunk/; revision=2756

pym/output.py

index e361e063d66f1737cc2a658d52433f19bddb8d6f..f23bac263222a327eb20421c16e4b4af0f3af83b 100644 (file)
@@ -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")