def __init__(self, storage, payload, instclass, distributionText=product.distributionText, isFinal=product.isFinal, quitDialog=QuitDialog, gui_lock=None, fullscreen=False): UserInterface.__init__(self, storage, payload, instclass) self._actions = [] self._currentAction = None self._ui = None self._gui_lock = gui_lock self.data = None self.mainWindow = MainWindow(fullscreen=fullscreen) self._distributionText = distributionText self._isFinal = isFinal self._quitDialog = quitDialog self._mehInterface = GraphicalExceptionHandlingIface( self.mainWindow.lightbox_on) ANACONDA_WINDOW_GROUP.add_window(self.mainWindow)
def __init__(self, storage, payload, instclass, distributionText = distributionText, isFinal = isFinal, quitDialog = QuitDialog): UserInterface.__init__(self, storage, payload, instclass) self._actions = [] self._currentAction = None self._ui = None self.data = None self._distributionText = distributionText self._isFinal = isFinal self._quitDialog = quitDialog self._mehInterface = GraphicalExceptionHandlingIface( self.lightbox_over_current_action) # This is a hack to make sure the AnacondaWidgets library gets loaded # before glade tries to use Anaconda types # glade file should contain the following line to make this seamless # # <requires lib="AnacondaWidgets" version="1.0"/> # # but the current (3.4) version of GtkBuilder does not support # requires elements with 3rd party libraries from gi.repository import AnacondaWidgets
def __init__(self, storage, payload, instclass, distributionText=distributionText, isFinal=isFinal, quitDialog=QuitDialog): UserInterface.__init__(self, storage, payload, instclass) self._actions = [] self._currentAction = None self._ui = None self.data = None self._distributionText = distributionText self._isFinal = isFinal self._quitDialog = quitDialog self._mehInterface = GraphicalExceptionHandlingIface( self.lightbox_over_current_action) # This is a hack to make sure the AnacondaWidgets library gets loaded # before glade tries to use Anaconda types # glade file should contain the following line to make this seamless # # <requires lib="AnacondaWidgets" version="1.0"/> # # but the current (3.4) version of GtkBuilder does not support # requires elements with 3rd party libraries from gi.repository import AnacondaWidgets
def __init__(self, storage, payload, instclass, distributionText = product.distributionText, isFinal = product.isFinal, quitDialog = QuitDialog): UserInterface.__init__(self, storage, payload, instclass) self._actions = [] self._currentAction = None self._ui = None self.data = None self._distributionText = distributionText self._isFinal = isFinal self._quitDialog = quitDialog self._mehInterface = GraphicalExceptionHandlingIface( self.lightbox_over_current_action)