[fix] plugins in simple theme

The previous commit introduced a new plugin Resource API.
This commit implements the necessary changes in the simple theme.

(There's no change to infinite_scroll.py because it hasn't actually
 yet been implemented in the Simple theme.)
This commit is contained in:
Martin Fischer 2022-01-18 18:35:50 +01:00
parent 3f77ff29a3
commit 1af96e2a7e
7 changed files with 46 additions and 52 deletions

View file

@ -26,4 +26,5 @@ preference_section = 'ui'
js_dependencies = (
Resource(path='plugins/js/search_on_category_select.js', themes=('oscar',)),
Resource(path='themes/simple/src/js/plugins/search_on_category_select.js', themes=('simple',)),
)

View file

@ -12,5 +12,6 @@ preference_section = 'ui'
js_dependencies = (
Resource(path='plugins/js/vim_hotkeys.js', themes=('oscar',)),
Resource(path='themes/simple/src/js/plugins/vim_hotkeys.js', themes=('simple',)),
)
css_dependencies = (Resource(path='plugins/css/vim_hotkeys.css', themes=('oscar',)),)