--- nautilus-terminal.py 2010-09-21 14:12:55.415297000 -0400 +++ nautilus-terminal.py 2010-09-22 14:47:01.584401051 -0400 @@ -39,7 +39,7 @@ __author__ = "Fabien LOISON " __version__ = "0.6" __appname__ = "nautilus-terminal" - +DEBUG=False import os import signal @@ -56,7 +56,9 @@ import vte import nautilus - +if DEBUG: + import logging + logging.basicConfig(filename="/tmp/nautilus-python.log", level=logging.DEBUG) #Paths BASE_PATH = "/usr/share/nautilus-terminal" @@ -637,6 +639,9 @@ def get_widget(self, uri, window): """Returns the widgets to display to Nautilus.""" + + if uri.startswith('x-nautilus-desktop'): + return #Kill old child process try: window.nt_lastpid