mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 04:04:15 +02:00
improvements
This commit is contained in:
@@ -295,5 +295,5 @@ class GenericApplicationManager(ApplicationManager):
|
|||||||
suggestions = []
|
suggestions = []
|
||||||
for man in self.managers:
|
for man in self.managers:
|
||||||
if self._is_enabled(man):
|
if self._is_enabled(man):
|
||||||
suggestions.extend(man.list_suggestions(5))
|
suggestions.extend(man.list_suggestions(6))
|
||||||
return suggestions
|
return suggestions
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ class FlatpakManager(ApplicationManager):
|
|||||||
|
|
||||||
if limit != 0:
|
if limit != 0:
|
||||||
|
|
||||||
for app_id in ('com.spotify.Client', 'com.skype.Client', 'com.dropbox.Client', 'us.zoom.Zoom', 'com.visualstudio.code', 'org.inkscape.Inkscape', 'org.libretro.RetroArch', 'org.kde.kdenlive', 'org.videolan.VLC'):
|
for app_id in ('com.spotify.Client', 'com.skype.Client', 'com.dropbox.Client', 'us.zoom.Zoom', 'com.visualstudio.code', 'org.telegram.desktop', 'org.inkscape.Inkscape', 'org.libretro.RetroArch', 'org.kde.kdenlive', 'org.videolan.VLC'):
|
||||||
|
|
||||||
app_json = flatpak.search(app_id, app_id=True)
|
app_json = flatpak.search(app_id, app_id=True)
|
||||||
|
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ class SnapManager(ApplicationManager):
|
|||||||
suggestions = []
|
suggestions = []
|
||||||
|
|
||||||
if limit != 0:
|
if limit != 0:
|
||||||
for name in ('whatsdesk', 'slack', 'yakyak', 'instagraph', 'eclipse', 'gimp', 'supertuxkart'):
|
for name in ('whatsdesk', 'slack', 'yakyak', 'instagraph', 'pycharm-professional', 'eclipse', 'gimp', 'supertuxkart'):
|
||||||
res = snap.search(name, exact_name=True)
|
res = snap.search(name, exact_name=True)
|
||||||
if res:
|
if res:
|
||||||
suggestions.append(self.map_json(res[0], installed=False, disk_loader=None))
|
suggestions.append(self.map_json(res[0], installed=False, disk_loader=None))
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ class AppsTable(QTableWidget):
|
|||||||
col_bt.clicked.connect(callback)
|
col_bt.clicked.connect(callback)
|
||||||
|
|
||||||
layout = QHBoxLayout()
|
layout = QHBoxLayout()
|
||||||
layout.setContentsMargins(2, 2, 2, 1)
|
layout.setContentsMargins(2, 3, 2, 0)
|
||||||
layout.setAlignment(Qt.AlignCenter)
|
layout.setAlignment(Qt.AlignCenter)
|
||||||
layout.addWidget(col_bt)
|
layout.addWidget(col_bt)
|
||||||
col.setLayout(layout)
|
col.setLayout(layout)
|
||||||
|
|||||||
Reference in New Issue
Block a user