aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* settings: Add font scaling via GDK_DPI_SCALE. This is not adjustable at ↵Mike Gabriel2023-10-103-0/+13
| | | | runtime (for now).
* po/: Update translation files.Mike Gabriel2023-10-11120-2149/+33117
|
* Merge branch 'Ionic-feature/hidpi-error-handling'Mike Gabriel2023-10-101-4/+23
|\ | | | | | | Attributes GH PR #89: https://github.com/ArcticaProject/arctica-greeter/pull/89
| * src/arctica-greeter.vala: add error handling to check_hidpi ().Mihai Moldovan2023-10-101-4/+23
|/ | | | | | | | Make sure that the value falls in the range 0 < x <= 5. Values higher than 5 are most probably errors (at the time of writing this code), negative values don't make sense at all and a value of 0 would mean not showing anything, which likewise is totally useless.
* Merge branch 'tari01-pr/indicator-dbus-path'Mike Gabriel2023-10-101-4/+4
|\ | | | | | | Attributes GH PR #90: https://github.com/ArcticaProject/arctica-greeter/pull/90
| * src/arctica-greeter.vala: Change D-Bus name and pathRobert Tari2023-10-091-4/+4
|/
* Translated using Weblate (Slovak)Milan Šalka2023-10-061-11/+11
| | | | | | | Currently translated at 100.0% (51 of 51 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/sk/
* Merge branch 'sunweaver-mr/logo-position'Mihai Moldovan2023-10-061-2/+6
|\ | | | | | | Attributes GH PR #87: https://github.com/ArcticaProject/arctica-greeter/pull/87
| * src/background.vala: better positioning of logo, make the positioning ↵Mike Gabriel2023-10-051-2/+6
|/ | | | | | | | | independent of logo height (i.e., adjust the position to the logo height). This introduces BackgroundLoader.logo_width and .logo_height. We currently only use .logo_height for now. But having both geometry values available might be helpful at a later time. And it feels incomplete to only pass-through the height.
* Merge branch 'sunweaver-mr/earlier-hidpi-setup'Mihai Moldovan2023-10-061-17/+24
|\ | | | | | | Attributes GH PR #84: https://github.com/ArcticaProject/arctica-greeter/pull/84
| * src/arctica-greeter.vala: Move HiDPI setup above OptionContext parsing.Mike Gabriel2023-10-061-17/+24
|/
* Merge branch 'sunweaver-mr/earlier-env-var-setup'Mihai Moldovan2023-10-061-3/+13
|\ | | | | | | Attributes GH PR #83: https://github.com/ArcticaProject/arctica-greeter/pull/83
| * Move NM_APPLET_HIDE_POLICY_ITEMS env var setting above OptionContext parsing.Mike Gabriel2023-10-061-3/+13
|/ | | | | | | | | While working on font-scaling support and fixing HiDPI support, I discovered, that GLib.Environment.set_variable() does not take effect after OptionContext.parse() has been called. (For whatever unknown reason...). To mitigate this, let's move all env variable setups to the code portion above the c.parse() call.
* Merge branch 'sunweaver-mr/drop-big-font-code'Mihai Moldovan2023-10-063-54/+6
|\ | | | | | | Attributes GH PR #82: https://github.com/ArcticaProject/arctica-greeter/pull/82
| * Drop big-font setting. Font scaling will be handled differently and more ↵Mike Gabriel2023-10-063-54/+6
|/ | | | statically.
* Merge branch 'sunweaver-mr/greeter-set-env'Mihai Moldovan2023-10-062-32/+35
|\ | | | | | | Attributes GH PR #81: https://github.com/ArcticaProject/arctica-greeter/pull/81
| * Move greeter_set_env to AGUtils.Mike Gabriel2023-10-062-32/+35
|/ | | | | This may be a helpful method we might need in the future in a more global context.
* Merge branch 'sunweaver-mr/show-login-labels'Mihai Moldovan2023-10-063-0/+19
|\ | | | | | | Attributes GH PR #76: https://github.com/ArcticaProject/arctica-greeter/pull/76
| * Show labels for 'Username:' and 'Password:' if configured via gsettings.Mike Gabriel2023-10-063-0/+19
|/ | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/62
* Merge branch 'sunweaver-mr/libexecdir-debian'Mihai Moldovan2023-10-053-9/+9
|\ | | | | | | Attributes GH PR #80: https://github.com/ArcticaProject/arctica-greeter/pull/80
| * debian/: Install all helper scripts to LIBEXECDIR.Mike Gabriel2023-10-053-9/+9
|/
* Merge branch 'sunweaver-mr/drop-commented-out-code'Mihai Moldovan2023-10-051-17/+1
|\ | | | | | | Attributes GH PR #79: https://github.com/ArcticaProject/arctica-greeter/pull/79
| * src/main-window.vala: Drop obsolete / commented out code.Mike Gabriel2023-10-051-17/+1
|/
* Merge branch 'sunweaver-mr/button-grey-tone-in-toggle-box'Mihai Moldovan2023-10-051-1/+1
|\ | | | | | | Attributes GH PR #78: https://github.com/ArcticaProject/arctica-greeter/pull/78
| * src/toggle-box.vala: In high-contrast mode, brighten up the non-selected ↵Mike Gabriel2023-10-031-1/+1
|/ | | | buttons. Provide as much contrast between white, gray and black as possible.
* Merge branch 'tari01-pr/move-orca-onboard-init'Mike Gabriel2023-10-031-4/+11
|\ | | | | | | Attributes GH PR #86: https://github.com/ArcticaProject/arctica-greeter/pull/86
| * src/arctica-greeter.vala: Initialise OnBoard and Orca after the greeter is ↵Robert Tari2023-10-031-4/+11
|/ | | | presented
* Merge branch 'sunweaver-mr/initialize-sr-and-osk'Mike Gabriel2023-10-031-0/+4
|\ | | | | | | Attributes GH PR #77: https://github.com/ArcticaProject/arctica-greeter/pull/77
| * src/arctica-greeter.vala: Initialize screen-reader and OSK as configured in ↵Mike Gabriel2023-10-031-0/+4
|/ | | | gsettings.
* Translated using Weblate (Occitan)Quentin PAGÈS2023-10-031-9/+9
| | | | | | | Currently translated at 100.0% (51 of 51 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/oc/
* Merge branch 'sunweaver-mr/osk-theme-toggling'Mike Gabriel2023-10-033-8/+101
|\ | | | | | | Attributes GH PR #75: https://github.com/ArcticaProject/arctica-greeter/pull/75
| * a11y / OSK: Restart OSK on theme toggling (normal/high-contrast) and adjust ↵Mike Gabriel2023-10-033-8/+101
|/ | | | the OSK theme accordingly.
* Translated using Weblate (Spanish)gallegonovato2023-10-031-8/+7
| | | | | | | Currently translated at 100.0% (51 of 51 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/es/
* Translated using Weblate (German)Mike Gabriel2023-10-031-6/+5
| | | | | | | Currently translated at 100.0% (51 of 51 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/de/
* po/: Translation update.Mike Gabriel2023-10-03119-5616/+5035
|
* Translated using Weblate (Czech)Tomáš Marný2023-10-031-4/+3
| | | | | | | Currently translated at 85.1% (46 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/cs/
* Translated using Weblate (Czech)Tomáš Marný2023-10-031-4/+8
| | | | | | | Currently translated at 83.3% (45 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/cs/
* Translated using Weblate (Czech)Filip Hron2023-10-031-5/+6
| | | | | | | Currently translated at 83.3% (45 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/cs/
* Translated using Weblate (Czech)Tomáš Marný2023-10-031-4/+4
| | | | | | | Currently translated at 75.9% (41 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/cs/
* Translated using Weblate (Japanese)Ryo Nakano2023-10-031-7/+7
| | | | | | | Currently translated at 96.2% (52 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/ja/
* Merge branch 'sunweaver-mr/highcontrast-icon-theme-toggling'Mike Gabriel2023-09-193-28/+64
|\ | | | | | | Attributes GH PR #70: https://github.com/ArcticaProject/arctica-greeter/pull/70
| * src/settings.vala: refactor (icon) theme setting in a cleaner way.Mike Gabriel2023-09-191-8/+19
| |
| * src/arctica-greeter.vala: Check for high-contrast mode when initializing ↵Mike Gabriel2023-09-191-15/+27
| | | | | | | | gtk-theme-name and gtk-icon-theme-name.
| * src/settings.vala: remove default_theme_name_ private variable.Mihai Moldovan2023-09-191-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This functionality doesn't make sense, for two reasons: - If we query the gtk-theme-name property before setting anything else, we will certainly get the default theme name. But that is hardcoded in GTK and not exactly secret. It can't be configured directly, only by changing specific macros in GTK's source code and recompiling it. The chances of someone doing that are... very small. Thus, we can also just hardcode "Adwaita" in AG. - If we query the gtk-theme-name property after setting it to a different value... we will fetch the value we just set. That's totally useless. My initial idea was that GTK is doing some input sanitization on the provided theme name and handles an invalid name by falling back to its built-in default and setting the gtk-theme-name property to this built-in default as well. This, however, is not true. Setting an invalid theme name will just mean that GTK will fail loading the new theme and stay on whatever theme it was before, copying the new value to the gtk-theme-name property regardless. Unfortunately, querying the property is not something we could use for error handling, which makes it completely useless. It's better to just get rid of this.
| * src/settings.vala: Introduce 'high-contrast-icon-theme-name' gsetting and ↵Mike Gabriel2023-09-192-4/+9
| | | | | | | | toggle icon theme if a11y indicator's high contrast switch gets toggled.
| * data/org.ArcticaProject.arctica-greeter.gschema.xml: Switch from ↵Mike Gabriel2023-09-191-1/+1
|/ | | | HighContrastInverse to HighContrast as default GTK+ theme.
* Merge branch 'sunweaver-mr/highcontrast-background-color'Mihai Moldovan2023-09-184-3/+41
|\ | | | | | | Attributes GH PR #71: https://github.com/ArcticaProject/arctica-greeter/pull/71
| * src/background.vala: Produce debug output when current_background gets changed.Mike Gabriel2023-09-181-0/+5
| |
| * src/background.vala: Disable drawing the grid when in high-contrast mode.Mike Gabriel2023-09-181-1/+2
| |
| * a11y: Disable background image when in high-contrast mode.Mike Gabriel2023-09-183-1/+30
| | | | | | | | | | | | This adds a configurable 'high-contrast-background-color' gsetting parameter (defaulting to #000000), so the high contrast bgcolor becomes customizable.