mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 05:54:15 +02:00
improvement: showing only the recent installed app
This commit is contained in:
@@ -895,9 +895,9 @@ class ManageWindow(QWidget):
|
|||||||
if self._can_notify_user():
|
if self._can_notify_user():
|
||||||
util.notify_user(msg='{} ({}) {}'.format(res['pkg'].model.name, res['pkg'].model.get_type(), self.i18n['installed']))
|
util.notify_user(msg='{} ({}) {}'.format(res['pkg'].model.name, res['pkg'].model.get_type(), self.i18n['installed']))
|
||||||
|
|
||||||
|
self._finish_refresh_apps({'installed': [res['pkg'].model], 'total': 1, 'types': [res['pkg'].model.__class__]})
|
||||||
self.ref_bt_installed.setVisible(False)
|
self.ref_bt_installed.setVisible(False)
|
||||||
self.ref_bt_refresh.setVisible(True)
|
self.ref_checkbox_only_apps.setVisible(False)
|
||||||
self.table_apps.refresh(res['pkg'])
|
|
||||||
else:
|
else:
|
||||||
if self._can_notify_user():
|
if self._can_notify_user():
|
||||||
util.notify_user('{}: {}'.format(res['pkg'].model.name, self.i18n['notification.install.failed']))
|
util.notify_user('{}: {}'.format(res['pkg'].model.name, self.i18n['notification.install.failed']))
|
||||||
|
|||||||
Reference in New Issue
Block a user