Update for gtkmacintegration-2.0

svn: r20628
This commit is contained in:
John Ralls 2012-11-02 20:05:59 +00:00
parent 6ef5008b6d
commit d630052347

View File

@ -104,7 +104,7 @@ from gen.utils.configmanager import safe_eval
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
if constfunc.is_quartz(): if constfunc.is_quartz():
try: try:
import gtk_osxapplication as QuartzApp import gtkosx_application as QuartzApp
_GTKOSXAPPLICATION = True _GTKOSXAPPLICATION = True
except: except:
_GTKOSXAPPLICATION = False _GTKOSXAPPLICATION = False
@ -301,7 +301,7 @@ class ViewManager(CLIManager):
""" """
CLIManager.__init__(self, dbstate, False) CLIManager.__init__(self, dbstate, False)
if _GTKOSXAPPLICATION: if _GTKOSXAPPLICATION:
self.macapp = QuartzApp.OSXApplication() self.macapp = QuartzApp.Application()
self.view_category_order = view_category_order self.view_category_order = view_category_order