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
|
# import gtk libs
|
||||||
# check just in case anyone runs it on a non-gnome system.
|
# check just in case anyone runs it on a non-gnome system.
|
||||||
try:
|
try:
|
||||||
|
import pygtk
|
||||||
|
pygtk.require ("2.0")
|
||||||
|
|
||||||
import gobject, gtk, pango
|
import gobject, gtk, pango
|
||||||
except:
|
except:
|
||||||
err (_("You need to install the python bindings for " \
|
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
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
||||||
|
import pygtk
|
||||||
|
pygtk.require ("2.0")
|
||||||
import gobject, gtk, pango
|
import gobject, gtk, pango
|
||||||
|
|
||||||
#import version details
|
#import version details
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
"""Terminator by Chris Jones <cmsj@tenshu.net>"""
|
||||||
|
import pygtk
|
||||||
|
pygtk.require ("2.0")
|
||||||
import gobject, gtk, pango
|
import gobject, gtk, pango
|
||||||
import os, platform, sys
|
import os, platform, sys
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue