Commit graph

7 commits

Author SHA1 Message Date
tfuxu
fa12fa5560
frontend/views: move no_plugin_window to views
* directly define some properties in views
    * general refactor in some frontend modules
2023-01-03 19:20:21 +01:00
tfuxu
9f9a547634
backend/globals: move plugin dir variables to globals module
* change parent variable naming in about_window to make it similar to dialogs
    * misc refactoring changes
2023-01-03 15:07:41 +01:00
tfuxu
d5fa02b2a6
linting: fix a majority of coding errors pointed by pylint 2022-12-27 21:28:58 +01:00
tfuxu
61eb5fb865
frontend/cli: reenable monet command on Flatpak builds
* move sandbox check from `frontend/cli` module to `backend/globals`
2022-12-19 20:28:53 +01:00
tfuxu
24d34296de
backend/globals: move official Gradience preset repositories list to globals module 2022-12-11 12:57:30 +01:00
tfuxu
e1e244db72
backend/theming: move apply, restore and reset preset functions to backend 2022-12-09 00:12:02 +01:00
tfuxu
e834e55b11
backend/models: refactor Preset model object
This commit is the first in a series of commits that will introduce new CLI interface for Gradience. Currently we need to move some parts of code that reside mostly in frontend modules to their new backend modules, and this commit is the beggining of this whole ordeal.

* Refactor Preset model object, in order to make it more readable and to allow `new` function that directly takes new values for properties
* Move presets_dir from models/preset to new backend/globals module
* Create new utils/colors module (will be used in later commits)
* Update all modules that are affected by above changes
2022-12-08 12:43:12 +01:00