Commit graph

4295 commits

Author SHA1 Message Date
0xMRTT
fc34ead7b7
fix:make the welcome dialog shorter 2023-09-04 23:06:57 +02:00
5cdcfc9b8e
fix: replace logout dialog with a toast (#758) (#816)
## Description

Replace logout message with toast
[HIG](https://developer.gnome.org/hig/patterns/feedback/toasts.html)

Fixes #758 

## Type of change

<!-- What type of change does your pull request introduce? Put an `x` in
the appropriate box . -->
- [ ] Bugfix (Change which fixes an issue)
- [ ] New feature (Change which adds new functionality)
- [x] Enhancement (Change which slightly improves existing code)
- [ ] Breaking change (This change will introduce incompatibility with
existing functionality)

## Testing

- [x] I have tested my changes and verified that they work as expected
<!-- Make sure you did this step before marking your PR as ready for
merge. -->
2023-09-04 23:54:31 +03:00
0xMRTT
212aef6a4a
fix: replace logout dialog with a toast (#758) 2023-09-04 22:43:29 +02:00
Davide
52fbc0c79c
translate: translated using Weblate (Italian)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/it/
2023-08-27 20:55:07 +02:00
Eryk Michalak
a6f8a8a327
translate: translated using Weblate (Polish)
Currently translated at 82.8% (247 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/pl/
2023-08-27 20:55:04 +02:00
rene-coty
a97489e348
translate: translated using Weblate (French)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/fr/
2023-08-27 20:55:04 +02:00
K.B.Dharun Krishna
11fa8ccafb
translate: translated using Weblate (Tamil)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/ta/
2023-08-27 16:55:29 +02:00
Burak Orcun OZKABLAN
8924f5ea1a
translate: translated using Weblate (Turkish)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/tr/
2023-08-27 12:09:12 +02:00
Jiri Grönroos
a0dc2c9e20
translate: translated using Weblate (Finnish)
Currently translated at 75.5% (225 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/fi/
2023-08-26 12:55:31 +02:00
Costeer
16f943b62b
translate: translated using Weblate (German)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/de/
2023-08-26 12:55:30 +02:00
tfuxu
49529fdd0f
flatpak: add access to Snap Firefox (release)
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2023-08-25 21:25:38 +00:00
tfuxu
58ef96da13
flatpak: add access to Snap Firefox (release)
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2023-08-25 21:24:43 +00:00
Sabri Ünal
95d3121642
translate: translated using Weblate (Turkish)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/tr/
2023-08-23 17:49:04 +02:00
Philip Goto
6667ef69cc
translate: translated using Weblate (Dutch)
Currently translated at 100.0% (298 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/nl/
2023-08-23 09:49:20 +02:00
Sabri Ünal
33b5ffa43f
translate: translated using Weblate (Turkish)
Currently translated at 95.9% (286 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/tr/
2023-08-22 19:48:08 +02:00
Sabri Ünal
3ff1061109
translate: translated using Weblate (Turkish)
Currently translated at 93.6% (279 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/tr/
2023-08-22 16:49:16 +02:00
db124a200a
Refactor shell theming module (#806)
## Description

This PR refactors a few operations to make the code handle edge cases
efficiently with marginal performance improvements.

## Type of change

- [ ] Bugfix (Change which fixes an issue)
- [ ] New feature (Change which adds new functionality)
- [x] Enhancement (Change which slightly improves existing code)
- [ ] Breaking change (This change will introduce incompatibility with
existing functionality)

## Changelog <!-- This is optional, but highly appreciated. -->

- Stores the comma separated string representation of valid versions for
later use in raising exceptions.
- Uses tuple for `async_data` in `ShellTheme` since its members are
immutable.
- Uses tuple decomposition to assign theme variant and preset from
`async_data` later.
- Replaces `Gio.File.make_directory_with_parents` with Python's builtin
`os.makedirs` with `exist_ok` as True to implicitly create directories
when nonexistent.
- Instead of relying on `KeyError`s when accessing dictionary values,
the `get` method is used to supply a default value.
- When a key might exist in one dictionary, the `get` method (which may
return `None`) is coupled with the nullish `or` operator to use the
value that is not `None`.
- Uses predefined `main_source` attribute as argument to the
`_compile_sass` function.
- Uses the walrus operator to scope a template match to the condition
when it is not `None`.
- Removes unnecessary implicit `.close()`s on file handles when using
context managers.

## Testing

- [x] I have tested my changes and verified that they work as expected
<!-- Make sure you did this step before marking your PR as ready for
merge. -->

### How to test the changes

<!-- Optional, it can speed up review process if you provide the
information on how to test your changes. -->
Just run `./local.sh`
2023-08-16 23:34:51 +02:00
tfuxu
7d2c082b30
Update UI definitions to Blueprint 0.8.0 syntax (#807)
Updates Blueprint UI definitions to 0.8.0 syntax, to get rid off those deprecation warnings.
2023-08-16 19:48:27 +00:00
tfuxu
0028a1599c
Merge branch 'main' into blueprint-update 2023-08-16 19:40:41 +00:00
tfuxu
f234ac39e6
Merge branch 'main' into refactor-shell 2023-08-16 17:21:54 +00:00
Philip Goto
2751d85759
translate: translated using Weblate (Dutch)
Currently translated at 93.9% (280 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/nl/
2023-08-16 09:53:25 +02:00
1d96348fde
feat: Update dependencies
Prepare for beta re-tag
2023-08-16 01:07:04 +03:00
tfuxu
50e38bc198
chore: update UI definitions to Blueprint 0.8.0 syntax
* update `blueprint-compiler` in release Flatpak manifest to 0.10.0
2023-08-15 23:58:35 +02:00
2482446faa Revert "feat: use adw 1.4 widgets"
This reverts commit f9069c28fc.
2023-08-15 23:30:23 +02:00
f9069c28fc feat: use adw 1.4 widgets 2023-08-15 22:33:53 +02:00
0c5947ec43 fix: indent lol 2023-08-15 22:11:07 +02:00
be6f252c5c feat: set legacy theme to adw-gtk3 2023-08-15 22:10:03 +02:00
dd09facffe fix: cons in Quick Settings items not using foreground color for accent-colored elements 2023-08-15 21:53:11 +02:00
da37b65d60
Merge branch 'main' into refactor-shell 2023-08-15 21:45:17 +02:00
1e596c6def fix: background theming in QS 2023-08-15 21:27:16 +02:00
28ea9fa92a feat: move plugins to submodules 2023-08-15 21:10:36 +02:00
Himadri Bhattacharjee
eafe746b66 fix: use predefined attribuite for main SCSS theme source 2023-08-15 09:22:48 +05:30
Himadri Bhattacharjee
dd82ace409 fix: dict is not callable 2023-08-15 08:35:48 +05:30
Himadri Bhattacharjee
925b9931d2 refactor 2023-08-15 08:29:54 +05:30
32614c5434
Update README.md
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-08-13 07:03:12 +03:00
Said Isazada
ef7f7a3880
translate: translated using Weblate (Azerbaijani)
Currently translated at 6.3% (19 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/az/
2023-08-08 02:45:46 +02:00
Said Isazada
4265f7678c
translate: added translation using Weblate (Azerbaijani) 2023-08-08 00:18:08 +02:00
Jiri Grönroos
8c1f282138
translate: translated using Weblate (Finnish)
Currently translated at 74.1% (221 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/fi/
2023-07-25 19:05:47 +02:00
e5871a08f7
Update README.md
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-07-23 23:41:34 +03:00
97d8797369
Update README.md
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-07-23 23:41:13 +03:00
e885346516
Update README.md
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-07-23 23:39:53 +03:00
ab2b7fbec6
Update README.md
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-07-23 23:39:32 +03:00
26b02d006e
feat: Use new GitHub warning syntax
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-07-23 23:38:38 +03:00
Vitor Henrique
7e27a9fa1c
translate: translated using Weblate (Portuguese (Brazil))
Currently translated at 79.1% (236 of 298 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/pt_BR/
2023-07-20 02:08:40 +02:00
1ab4e87440
feat: Update text 2023-07-13 21:51:32 +03:00
5182992e01 sub: update 2023-07-13 14:25:21 +02:00
46f71614d3 git: add plugins sub 2023-07-13 14:21:33 +02:00
c90c7ea2f5 fix: remove plugins 2023-07-13 14:21:33 +02:00
94a8863dfc bump: sub commit 2023-07-13 14:21:33 +02:00
f2a656daea git: add plugins sub 2023-07-13 14:21:33 +02:00