Do explicit pygtk initialization on application startup.
This commit is contained in:
parent
54ddf2a9ac
commit
7ea738bd92
@ -5,7 +5,6 @@ representation of a UML diagram. Diagrams can be visualized and edited.
|
||||
"""
|
||||
|
||||
from zope import component
|
||||
import gobject
|
||||
import gaphas
|
||||
import uuid
|
||||
from uml2 import Namespace, PackageableElement
|
||||
|
@ -9,6 +9,9 @@ import os
|
||||
|
||||
import misc.logger
|
||||
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
|
||||
if os.name == 'nt':
|
||||
home = 'USERPROFILE'
|
||||
else:
|
||||
|
@ -3,5 +3,4 @@ This module contains user interface related code, such as the
|
||||
main screen and diagram windows.
|
||||
"""
|
||||
|
||||
|
||||
# vim:sw=4:et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user