Commit graph

105 commits

Author SHA1 Message Date
Jonathan Lestrelin
976270150d
Parse firefox profiles.ini files to get paths of profiles. (#664)
# Parse firefox profiles.ini files to get paths of profiles

This parses firefox profiles.ini files to get the paths of the profiles
instead of just treating any subdir of the firefox dir as a profile.

This allows supporting profiles without a dot in their name which the
existing glob didn't match which can happen if they are named manually,
as well as profiles configured to be outside of the firefox directory
that were ignored and profiles that are symlinked (by adding a resolve()
on the path before the is_dir()).

There is also an additional try condition to avoid failing for the
remaining profiles if encountering a profile without the
customChrome.css, as it might be installed on some profiles only.

## Changelog

- Fixed theming Firefox profiles that don't have a dot in their name
- Fixed theming Firefox profiles that are outside of the Firefox dir
- Fixed theming Firefox profiles that are symlinks
- Fixed failing to theme remaining profiles after encountering one on
which the firefox-gnome-theme is not present

Please note that I have only tested on non-flatpak Firefox.

Signed-off-by: 0xMRTT <0xMRTT@proton.me>
Co-authored-by: 0xMRTT <0xMRTT@proton.me>
2022-11-30 07:13:57 +01:00
e5dc62cabb feat: bump 0.3.3 and add release notes 2022-11-29 19:23:08 +03:00
dfa96acb7f feat: logout message without logout action 2022-11-24 22:44:23 +03:00
6e4c0c7b79 fix: typos 2022-11-24 20:20:38 +03:00
8612ed1fd0 feat: improve "Details" tab of "About" window 2022-11-21 00:36:04 +03:00
3ee0da09e3 Revert "feat: improve "Details" tab of "About" window"
This reverts commit 2bd0944ed5.
2022-11-21 00:33:32 +03:00
2bd0944ed5 feat: improve "Details" tab of "About" window 2022-11-21 00:32:38 +03:00
5e36436528 feat: 0.3.2 release notes 2022-11-20 22:59:46 +03:00
ed047c1d47 feat: 0.3.2 release notes 2022-11-20 22:46:31 +03:00
ff8b903697 Revert "Revert "feat: update release notes""
This reverts commit c77673b64a.
2022-11-20 22:38:00 +03:00
374de8b968 Revert "Revert "Revert "feat: update release notes"""
This reverts commit c415151eed.
2022-11-20 22:36:28 +03:00
c415151eed Revert "Revert "feat: update release notes""
This reverts commit 1ebd0cbd7b.
2022-11-20 22:34:11 +03:00
1ebd0cbd7b Revert "feat: update release notes"
This reverts commit 85603f0e63.
2022-11-20 22:34:00 +03:00
85603f0e63 feat: update release notes 2022-11-20 21:01:20 +03:00
tfuxu
cd0918bef4
ux: add mnemonics to the rest of dialogs 2022-11-11 22:10:00 +01:00
Hari Rana
5edbd1f96c
Improve UI and UX (#648)
## Global description

This improves UX by allowing users to close through dialogs by pressing
Esc. I added mnemonics for the file picker, and set `save` as the
default response.

## Changelog

- Allow Esc shortcut to close dialogs
- Add mnemonics for dialogs
- Set `save` as default response

Signed-off-by: 0xMRTT <0xMRTT@proton.me>
Co-authored-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
Co-authored-by: 0xMRTT <0xMRTT@proton.me>
2022-11-11 22:04:46 +01:00
tfuxu
9c8fa556f2
UX: add new toasts for exceptions in reset_color_scheme
* update toast text in reset_color_scheme and restore_color_scheme
2022-11-05 14:07:19 +01:00
Kian-Meng Ang
0f297aece3 docs: fix typos
Found via `codespell -S po,builddir`.
2022-11-05 09:37:58 +08:00
tfuxu
aa89bd0729 feat: move from cssutils to in-house solution
This commit replaces cssutils module with a GTK CSS "parser" based on regex expressions
2022-10-14 23:25:12 +02:00
tfuxu
0607561ff2
Remove to_slug_case function
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2022-10-11 20:13:45 +00:00
0xMRTT
b0c82c7a08
Merge branch 'main' into fix-rename
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-10-11 20:06:10 +00:00
tfuxu
281e848ab1
fix: Use different variables for display name and filename 2022-10-11 22:02:32 +02:00
0xMRTT
0b19a9e5a7
fix: #624 2022-10-11 19:13:53 +02:00
0xMRTT
9b6b87b326
feat: begin adding theme utility 2022-10-11 18:58:42 +02:00
tfuxu
07a8011e52 refactor: change views names to better describe what are they 2022-10-10 22:40:44 +02:00
tfuxu
9df749df2b refactor: tidy up some modules 2022-10-10 21:45:47 +02:00
tfuxu
16ca8d5a3b refactor: Move utilities from modules/ to utils/ 2022-10-10 21:30:39 +02:00
tfuxu
491942af5e refactor: Move ui Python modules to gradience/ui/ directory 2022-10-10 21:20:35 +02:00
ec2a5088d8 feat: fix odd Libadwaita, GTK 3 and GTK 4 names 2022-10-08 03:27:23 +03:00
35a88f96fe feat: update release notes 2022-10-07 20:14:55 +03:00
fdb32233ee feat: 0.3.1 release notes 2022-10-07 20:00:12 +03:00
0xMRTT
98dee96142
fix: typo errors #590 2022-10-07 18:52:03 +02:00
0xMRTT
12cafc9461
feat: update release notes in the app #590 2022-10-07 18:47:03 +02:00
e819390b15 feat: add @not-my-segfault (Michal S.) 2022-10-05 22:23:35 +03:00
22afbf02d6 feat: add missing translators 2022-10-05 22:20:19 +03:00
0xMRTT
556fba976b
feat: add logout 2022-10-05 14:30:28 +02:00
e173230820 feat: remove you 2022-10-05 14:59:41 +03:00
11836ef3f3 fix: fix 2022-10-05 14:57:33 +03:00
316e1ea83b feat: replace download-symbolic with system icon 2022-10-05 14:56:09 +03:00
bc77f66e9f feat: sort contributors alphabetically 2022-10-05 14:14:15 +03:00
5ce6b4fa3a feat: add @libreajans (Sabri Ünal) as translator 2022-10-05 13:33:55 +03:00
1ebd44f092 Add @MarongHappy (JungHee Lee) as translator 2022-10-05 13:27:42 +03:00
7b9bb9462e fix: double line 2022-10-05 00:12:12 +03:00
66aa730b12 feat: change categories names and make them translatable 2022-10-05 00:04:56 +03:00
f93bc0ecb4 feat: add all other contributors 2022-10-04 23:59:36 +03:00
57f2480ee5 feat: sort contributors in alphabet order 2022-10-04 22:23:47 +03:00
cadd657ac3 feat: move @ArtyIF to the top 2022-10-04 22:14:18 +03:00
096f2721ac feat: add GradienceTeam/Community contributors
@0xMRTT
@daudix-UFO
@JoshM-Yoru
@tfuxu
@badlydrawnface
@subpop
@arslee07
@lopeztel
@ThatOneCalculator
@mskf1383
@crispyricepc
@TeryVeneno
@zehkira
@cmagnificent
@hericiumvevo
@salarua
@halfmexican
2022-10-04 22:11:42 +03:00
2652206bbc fix: change name of @halfmexican to José Hunter 2022-10-04 21:48:17 +03:00
b2b95be562 fix: add space 2022-10-04 21:42:18 +03:00