use pygtk.require to determine database

svn: r1205
This commit is contained in:
Don Allingham
2002-11-26 04:06:23 +00:00
parent dbe98f4068
commit f53f056885
55 changed files with 961 additions and 43 deletions

View File

@ -18,6 +18,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
try:
import pygtk; pygtk.require('2.0')
except ImportError: # not set up for parallel install
pass
import gtk
import gnome.ui
from intl import gettext as _