343
343
def on_transaction_started(self, backend, pkgname, appname, trans_id,
346
backend, pkgname, appname, trans_id, trans_type)
346
backend, pkgname, appname, trans_id, trans_type)
348
def _register_unity_launcher_transaction_started(self, backend, pkgname,
348
def _add_application_to_unity_launcher(self, backend, pkgname,
351
351
if not self.add_to_launcher_enabled:
353
353
# mvo: use use softwarecenter.utils explictly so that we can monkey
355
355
if not softwarecenter.utils.is_unity_running():
358
358
if not trans_type == TransactionTypes.INSTALL: