little change to make sure we don't get given gtk1. seems pretty unlikely to happen, but we might as well handle it nicely
This commit is contained in:
parent
d8a39862f1
commit
ce0266b0e4
|
@ -43,6 +43,9 @@ import terminatorlib.config
|
|||
# import gtk libs
|
||||
# check just in case anyone runs it on a non-gnome system.
|
||||
try:
|
||||
import pygtk
|
||||
pygtk.require ("2.0")
|
||||
|
||||
import gobject, gtk, pango
|
||||
except:
|
||||
err (_("You need to install the python bindings for " \
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
||||
import pygtk
|
||||
pygtk.require ("2.0")
|
||||
import gobject, gtk, pango
|
||||
|
||||
#import version details
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
||||
import pygtk
|
||||
pygtk.require ("2.0")
|
||||
import gobject, gtk, pango
|
||||
import os, platform, sys
|
||||
|
||||
|
|
Loading…
Reference in New Issue