[Rigo] fix typos in InstallNotificationBox handling
This commit is contained in:
@@ -1532,7 +1532,8 @@ class RigoServiceController(GObject.Object):
|
||||
block until User answers.
|
||||
"""
|
||||
box = InstallNotificationBox(
|
||||
self._avc, app, self._entropy, install)
|
||||
self._apc, self._avc, app, self._entropy,
|
||||
self._entropy_ws, install)
|
||||
|
||||
def _accepted(widget):
|
||||
ask_meta['res'] = True
|
||||
|
||||
@@ -725,15 +725,17 @@ class InstallNotificationBox(NotificationBox):
|
||||
),
|
||||
}
|
||||
|
||||
def __init__(self, avc, app, entropy_client, install):
|
||||
def __init__(self, apc, avc, app, entropy_client, entropy_ws, install):
|
||||
"""
|
||||
InstallNotificationBox constructor.
|
||||
|
||||
@param entropy_client: Entropy Client object
|
||||
@param install: Application Install queue
|
||||
"""
|
||||
self._apc = apc
|
||||
self._avc = avc
|
||||
self._app = app
|
||||
self._entropy_ws = entropy_ws
|
||||
self._entropy = entropy_client
|
||||
self._install = sorted(
|
||||
install, key = lambda x: x.name)
|
||||
|
||||
Reference in New Issue
Block a user