mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +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}
|
return {AppImage}
|
||||||
|
|
||||||
def clean_cache_for(self, pkg: AppImage):
|
def clean_cache_for(self, pkg: AppImage):
|
||||||
# TODO
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_info(self, pkg: AppImage) -> dict:
|
def get_info(self, pkg: AppImage) -> dict:
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ class AppsTable(QTableWidget):
|
|||||||
else:
|
else:
|
||||||
desc = '...'
|
desc = '...'
|
||||||
|
|
||||||
if desc and desc != '...':
|
if desc and desc != '...' and len(desc) > 40:
|
||||||
desc = strip_html(desc[0:40]) + '...'
|
desc = strip_html(desc[0:40]) + '...'
|
||||||
|
|
||||||
item.setText(desc)
|
item.setText(desc)
|
||||||
|
|||||||
Reference in New Issue
Block a user