people with python-gnome installed who aren't running gnome need this to be called

This commit is contained in:
Chris Jones 2008-07-06 15:54:10 +01:00
parent c7003f4836
commit b240340378
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ class TerminatorTerm (gtk.VBox):
# gnome.url_show() is really useful # gnome.url_show() is really useful
dbg ('url_show: importing gnome module') dbg ('url_show: importing gnome module')
import gnome import gnome
gnome.init ('terminator', 'terminator)
self.url_show = gnome.url_show self.url_show = gnome.url_show
except: except:
# webbrowser.open() is not really useful, but will do as a fallback # webbrowser.open() is not really useful, but will do as a fallback