mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 22:24:14 +02:00
[web] improvement: default pre-selected installation category is now 'Network'
This commit is contained in:
@@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- checking for javascript fixes based on the Electron version (saved on disk as `~/.local/share/bauh/web/fixes/electron_{branch}/{app_name}.js`)
|
- checking for javascript fixes based on the Electron version (saved on disk as `~/.local/share/bauh/web/fixes/electron_{branch}/{app_name}.js`)
|
||||||
- handling http redirect errors
|
- handling http redirect errors
|
||||||
- installation form title
|
- installation form title
|
||||||
|
- default pre-selected installation category is now "Network" (Internet)
|
||||||
|
|
||||||
- UI
|
- UI
|
||||||
- only displaying a confirmation dialog for custom actions that start immediately
|
- only displaying a confirmation dialog for custom actions that start immediately
|
||||||
|
|||||||
@@ -485,6 +485,11 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
if opt.value == app.categories[0]:
|
if opt.value == app.categories[0]:
|
||||||
def_cat = opt
|
def_cat = opt
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
for op in cat_ops:
|
||||||
|
if op.value == 'Network':
|
||||||
|
def_cat = op
|
||||||
|
break
|
||||||
|
|
||||||
inp_cat = SingleSelectComponent(label=self.i18n['category'], type_=SelectViewType.COMBO, options=cat_ops, default_option=def_cat)
|
inp_cat = SingleSelectComponent(label=self.i18n['category'], type_=SelectViewType.COMBO, options=cat_ops, default_option=def_cat)
|
||||||
op_wv = InputOption(id_='widevine', label=self.i18n['web.install.option.widevine.label'] + ' (DRM)', value="--widevine", tooltip=self.i18n['web.install.option.widevine.tip'])
|
op_wv = InputOption(id_='widevine', label=self.i18n['web.install.option.widevine.label'] + ' (DRM)', value="--widevine", tooltip=self.i18n['web.install.option.widevine.tip'])
|
||||||
|
|||||||
Reference in New Issue
Block a user