[Rigo] fix typos in InstallNotificationBox handling

This commit is contained in:
Fabio Erculiani
2012-04-05 15:11:37 +02:00
parent 172f49534d
commit 77b958f120
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -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
+3 -1
View File
@@ -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)