mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
fix: app description with '...' even when it is short
This commit is contained in:
@@ -105,7 +105,6 @@ class AppImageManager(SoftwareManager):
|
||||
return {AppImage}
|
||||
|
||||
def clean_cache_for(self, pkg: AppImage):
|
||||
# TODO
|
||||
pass
|
||||
|
||||
def get_info(self, pkg: AppImage) -> dict:
|
||||
|
||||
@@ -338,7 +338,7 @@ class AppsTable(QTableWidget):
|
||||
else:
|
||||
desc = '...'
|
||||
|
||||
if desc and desc != '...':
|
||||
if desc and desc != '...' and len(desc) > 40:
|
||||
desc = strip_html(desc[0:40]) + '...'
|
||||
|
||||
item.setText(desc)
|
||||
|
||||
Reference in New Issue
Block a user