def __init__(self, window_main, action):
        InstallBackend.__init__(self, window_main, action)
        ui_path = os.path.join(window_main.datadir,
                               "gtkbuilder/UpdateProgress.ui")
        BuilderDialog.__init__(self, window_main, ui_path,
                               "pane_update_progress")

        self.client = client.AptClient()
        self.unity = UnitySupport()
        self._expanded_size = None
        self.button_cancel = None
    def __init__(self, window_main, action):
        InstallBackend.__init__(self, window_main, action)
        ui_path = os.path.join(window_main.datadir,
                               "gtkbuilder/UpdateProgress.ui")
        BuilderDialog.__init__(self, window_main, ui_path,
                               "pane_update_progress")

        self.client = client.AptClient()
        self.unity = UnitySupport()
        self._expanded_size = None
        self.button_cancel = None
示例#3
0
 def __init__(self, window_main):
     InstallBackend.__init__(self, window_main, self.ACTION_INSTALL)
 def __init__(self, window_main):
     # Pass None for datadir because of LP: #1026257
     InstallBackend.__init__(self, window_main, self.ACTION_INSTALL)
     self.client = client.AptClient()
     self.unity = UnitySupport()
 def __init__(self, datadir, window_main):
     InstallBackend.__init__(self, datadir, window_main)
     self.client = client.AptClient()
     self.unity = UnitySupport()
     self._expanded_size = None
     self.button_cancel = None
 def __init__(self, window_main):
     InstallBackend.__init__(self, window_main)
     self.client = client.AptClient()
     self.unity = UnitySupport()