mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 14:24:16 +02:00
0.9.0
This commit is contained in:
@@ -15,7 +15,7 @@ def new_pkgs_info() -> dict:
|
||||
|
||||
|
||||
def update_info(pkgv: PackageView, pkgs_info: dict):
|
||||
pkgs_info['available_types'][pkgv.model.get_type()] = pkgv.model.get_type_icon_path()
|
||||
pkgs_info['available_types'][pkgv.model.get_type()] = {'icon': pkgv.model.get_type_icon_path(), 'label': pkgv.get_type_label()}
|
||||
|
||||
if pkgv.model.is_application():
|
||||
pkgs_info['apps_count'] += 1
|
||||
|
||||
Reference in New Issue
Block a user