Commit graph

32 commits

Author SHA1 Message Date
488ad80e00
fix: Typo with jsdelivr being jsdeliver 2023-06-27 15:58:04 +03:00
2f9f8791ed
feat: add keyboard shortcuts (#777) 2023-05-28 21:42:58 +00:00
b3f0fdac19
feat: add the ability to use jsdeliver instead of GitHub 2023-05-23 20:13:52 +02:00
tfuxu
e412a2c537
GNOME Shell theming support (#679)
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
Co-authored-by: 0xMRTT <0xMRTT@evta.fr>
Co-authored-by: 0xMRTT <0xMRTT@proton.me>
Co-authored-by: daudix-UFO <ddaudix@gmail.com>
2023-05-04 13:24:18 +00:00
tfuxu
dc8971f324
frontend: stop using libportal for opening URI
* fix Github tab opening twice in Report Preset button
2023-04-23 14:40:26 +02:00
tfuxu
4e5d2a03a1
frontend: move settings_schema to schemas/ subfolder
* rename settings_schema to preset_schema
    * update frontend/struct.md
2023-03-06 18:34:37 +01:00
tfuxu
a8edade954
monet-engine: backport a fix for theme variant menu not working in non-english locales
Fixes #726
2023-02-25 16:56:29 +01:00
c5078fa115 fix: GTK4.9 build (#722) 2023-02-24 18:59:24 +03:00
tfuxu
210ac398dd
frontend/main: for now disable tone option in Monet Engine 2023-02-03 03:47:46 +01:00
tfuxu
10496c3fdb
frontend/widgets: fix a lack of buffer clearing function for a TextView 2023-02-02 02:11:32 +01:00
tfuxu
787bb49d11 frontend/main: fix list index out of range errors 2023-01-06 23:47:36 +01:00
tfuxu
def149a76f frontend/main: extract show_unsaved_dialog function into two smaller
* show 'preset unsaved' dialog when selecting a preset from quick switcher menu
    * make `on_save_preset_entry_change` function global
    * change `save_preset` function name to `on_save_dialog_response`
2023-01-06 16:36:40 +01:00
tfuxu
caacb24fae
UI: disable preset preview MenuButton
This also incudes removing some leftover code that was used for this MenuButton.

Fixes #670
2023-01-04 21:24:54 +01:00
tfuxu
3d2f16c4e2
frontend/main: rename show_exit_dialog to show_unsaved_dialog
* add new `discard` parameter to GradienceSaveDialog
    * clean some placeholder functions in main module
2023-01-04 21:00:48 +01:00
tfuxu
4107c60c2b
frontend: move dialogs to external modules
* move action helper functions to new `utils/actions` helper module
2023-01-03 19:35:21 +01:00
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
bf341d7b82
frontend/main: use external globals where possible 2023-01-03 17:21:20 +01:00
tfuxu
6e612e7701
frontend/main: fix built-in presets selection in quick preset manager 2023-01-03 15:10:21 +01:00
tfuxu
a8f1bc8ab8
frontend: move About Window constructor to an external module
* frontend/main: add missing exception variable assignment
2023-01-01 21:15:36 +01:00
tfuxu
70eca65be9
frontend/main: fix favorites list 2022-12-27 21:31:03 +01:00
tfuxu
d5fa02b2a6
linting: fix a majority of coding errors pointed by pylint 2022-12-27 21:28:58 +01:00
tfuxu
38e790c595
codebase: update some logger messages to utilize new exc option 2022-12-26 22:26:14 +01:00
tfuxu
dfb6104e1e
app: improve exception handling, remove duplicate code
* modify `get_presets_list` function from theming/preset_utils module
2022-12-22 01:11:19 +01:00
tfuxu
527a9dc90f
backend: seperate JSON encoding in Preset module to a new function
* add more checks in new_preset_from_monet function
* return full Preset object instead of dict data
* remove some unused code
2022-12-10 15:21:13 +01:00
tfuxu
e1e244db72
backend/theming: move apply, restore and reset preset functions to backend 2022-12-09 00:12:02 +01:00
tfuxu
22f476f766
backend: create new modules for preset generation utilities 2022-12-08 14:05:38 +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
tfuxu
771c0e58c1
feat: add error messages to preview demo functions
* allow demo functions to fail if shell returns an error
2022-12-06 19:37:20 +01:00
tfuxu
a8c83d1935
feat: introduce new backend/logger module
This commit introduces a new logger module and converts any log message that used buglog() to use one of five new functions from Logger class.
2022-12-04 00:00:18 +01:00
tfuxu
df73f3d006
misc: make code more readable 2022-12-02 23:37:41 +01:00
tfuxu
5e42501691
rename: change module name from utils.py to common.py 2022-12-02 23:21:55 +01:00
tfuxu
30a9fdb613
move modules to new backend/frontend directories 2022-12-02 22:52:47 +01:00
Renamed from gradience/main.py (Browse further)