aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * src/user-list.vala: Add debug output on high-contrast toggle switch ↵Mike Gabriel2023-09-181-1/+4
|/ | | | | | background change requests. Also reference the conncted-to gsettings by its class property name (KEY_HIGHT_CONTRAST).
* Merge branch 'tari01-pr/use-ayatana-a11y'Mike Gabriel2023-09-164-281/+165
|\ | | | | | | Attributes GH PR #52: https://github.com/ArcticaProject/arctica-greeter/pull/52
| * Drop all internal a11y indicator related codeRobert Tari2023-09-162-269/+13
| |
| * src/arctica-greeter.vala: Toggle Orca, high contrast and OnBoard via D-BusRobert Tari2023-09-161-11/+151
| |
| * data/org.ArcticaProject.arctica-greeter.gschema.xml: Use Ayatana a11y indicatorRobert Tari2023-09-161-1/+1
|/
* Merge branch 'sunweaver-mr/hide-default-xsessions'Mihai Moldovan2023-09-153-11/+32
|\ | | | | | | Attributes GH PR #67: https://github.com/ArcticaProject/arctica-greeter/pull/67
| * src/arctica-greeter.vala: In validate_session() make it easier for the human ↵Mike Gabriel2023-09-151-8/+16
| | | | | | | | eye to identified code-blocks.
| * src/arctica-greeter.vala: Use '&&' operators instead of '&' in if-clauses.Mike Gabriel2023-09-151-4/+4
| |
| * Introduce gsetting (bool): hide-default-xsession.Mike Gabriel2023-09-153-2/+15
|/
* Merge branch 'sunweaver-mr/hide-enforce-only-sessions'Mihai Moldovan2023-09-153-0/+41
|\ | | | | | | Attributes GH PR #69: https://github.com/ArcticaProject/arctica-greeter/pull/69
| * Introduce gsettings (list): includeonly-sessions, excluded-sessions.Mike Gabriel2023-09-153-0/+41
|/
* Merge branch 'sunweaver-mr/session-chooser-fix-sorting'Mihai Moldovan2023-09-151-7/+3
|\ | | | | | | Attributes GH PR #66: https://github.com/ArcticaProject/arctica-greeter/pull/66
| * src/session-list.vala: Rework case-insensitive session sorting. Do the ↵Mike Gabriel2023-09-151-7/+3
|/ | | | | | | | sorting on a deep copy of the session list from LightDM. This resolves the issue of loosing all session types starting with lower case letters from the session chooser when accessing the chooser list the second time.
* Merge branch 'sunweaver-mr/fix-font-size-without-unit'Mihai Moldovan2023-09-151-1/+1
|\ | | | | | | Attributes GH PR #65: https://github.com/ArcticaProject/arctica-greeter/pull/65
| * src/toggle-box.vala: Fix runtime Gtk.Warning about missing size unit. Using ↵Mike Gabriel2023-09-151-1/+1
|/ | | | size unit 'pt' now (and reducing font size by 3).
* Merge branch 'sunweaver-mr/preferred-sessions-gsettings'Mihai Moldovan2023-09-153-8/+10
|\ | | | | | | Attributes GH PR #64: https://github.com/ArcticaProject/arctica-greeter/pull/64
| * Introduce gsetting (array of strings): preferred-sessions.Mike Gabriel2023-09-153-8/+10
|/ | | | | The preferred-session gsetting shall provide an ordered list of preferred sessions for detecing the default session type.
* Merge branch 'sunweaver-mr/default-to-gtk-drop-auto-detection'Mihai Moldovan2023-09-151-16/+10
|\ | | | | | | Attributes GH PR #63: https://github.com/ArcticaProject/arctica-greeter/pull/63
| * configure.ac: Drop auto-recognition of GTK library, default to GTK-3.Mike Gabriel2023-09-151-16/+10
|/
* Merge branch 'Ionic-feature/gtk34-chooser'Mike Gabriel2023-09-153-17/+80
|\ | | | | | | Attributes GH PR #61: https://github.com/ArcticaProject/arctica-greeter/pull/61
| * {src,tests}/Makefile.am: implement proper GTK+ 3/GTK 4 switching support.Mihai Moldovan2023-09-122-0/+30
| | | | | | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/56
| * configure.ac: add --disable-gtk4 flag.Mihai Moldovan2023-09-121-17/+50
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the HAVE_GTK_4_0 macro has been enabled whenever GTK 4 development files were found on the system. We keep that behavior, and actually modify the build system to actually build and link against GTK 4, but also add a new configure flag --disable-gtk4 that disables GTK 4 usage. The logic goes like that: - If --disable-gtk4 has not been provided, configure will first look for GTK 4 and use that if available, otherwise fall back to GTK+ 3. - If --disable-gtk4 has been provided, GTK 4 detection is skipped and only GTK+ 3 is detected. - If --enable-gtk4 has been provided, configure will check for GTK 4 and not fall back to GTK+ 3, but error out if GTK 4 has not been found. Note that making GTK 4 the default might not be the best option currently, because the greeter does not build against GTK 4, but is paving the way for the future. For now, users will have to use --disable-gtk4, up until all code has been fully ported to support GTK 4. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/56
* Merge branch 'sunweaver-pr/fix-multiseat-support-with-systemd'Mike Gabriel2023-09-114-52/+38
|\ | | | | | | Attributes GH PR #59: https://github.com/ArcticaProject/arctica-greeter/pull/59
| * src/arctica-greeter.vala: Add FIXME for new/direct indicator startup method.Mike Gabriel2023-09-111-0/+6
| |
| * data/50-arctica-greeter.conf.in: Reenable lightdm-arctica-greeter-session ↵Mike Gabriel2023-09-111-0/+1
| | | | | | | | | | | | greeter-wrapper again. Fixes https://github.com/ArcticaProject/arctica-greeter/issues/36
| * src/arctica-greeter.vala: Drop indicator startup via systemctl and ↵Mike Gabriel2023-09-111-48/+30
| | | | | | | | | | | | | | | | | | spawn_async them directly. This assures DBUS_SESSION_BUS_ADDRESS being shared between greeter and indicators, so DBus session bus operation work out-of-the-box (which is not the case when launching indicators via systemd).
| * debian/control: Drop dbus-x11 from B-D.Mike Gabriel2023-09-111-1/+0
| |
| * lightdm-arctica-greeter-session: Switch from dbus-launch to dbus-run-session.Mike Gabriel2023-09-111-3/+1
|/
* Merge branch 'Ionic-bugfix/shutdown-dialog-resize'Mike Gabriel2023-09-111-5/+50
|\ | | | | | | Attributes GH PR #60: https://github.com/ArcticaProject/arctica-greeter/pull/60
| * src/shutdown-dialog.vala: keep dialog size fixed.Mihai Moldovan2023-09-111-5/+50
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the dialog resized whenever the timer was shown or hidden. We want to avoid this, but unfortunately, GTK doesn't provide a way to hide a widget and retain its size in the parent (for instance, a container). To work around this, create a new private class FakeHideLabel, subclassing Gtk.Label, that exposes a fake_hide () property. If the property is set to true, the widget is "fake hidden" by changing the draw () method to first draw normally, and then paint everything fully transparent. The usual hide () and show () methods are not used any longer (other than at widget creation). Additionally, a dummy text is inserted at widget creation, including setting the widget to "fake hidden", so that text line actually has a size. While this should work fine visually, this WILL definitely create accessibility issues, which we must fix at a later time. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/58
* Translated using Weblate (Spanish)gallegonovato2023-09-091-4/+5
| | | | | | | Currently translated at 100.0% (54 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/es/
* Merge branch 'sunweaver/rephrase-shutdown-timeout-message'Mihai Moldovan2023-09-071-2/+2
|\ | | | | | | Attributes GH PR #57: https://github.com/ArcticaProject/arctica-greeter/pull/57
| * src/shutdown-dialog.vala: Rephrase shutdown dialog's new timeout message(s) ↵Mike Gabriel2023-09-071-2/+2
|/ | | | slightly.
* Translated using Weblate (Swedish)bittin1ddc447d824349b22023-09-071-10/+10
| | | | | | | Currently translated at 100.0% (54 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/sv/
* Translated using Weblate (Ukrainian)Serhii Horichenko2023-09-041-40/+40
| | | | | | | Currently translated at 100.0% (54 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/uk/
* Translated using Weblate (Russian)Serhii Horichenko2023-09-041-27/+27
| | | | | | | Currently translated at 100.0% (54 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/ru/
* Translated using Weblate (Spanish)gallegonovato2023-09-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/es/
* Translated using Weblate (German)Mike Gabriel2023-08-311-6/+7
| | | | | | | Currently translated at 100.0% (54 of 54 strings) Translation: Arctica Framework/Arctica Greeter Translate-URL: https://hosted.weblate.org/projects/arctica-framework/greeter/de/
* po/: Update translation files.Mike Gabriel2023-08-31119-5494/+8124
|
* Merge branch 'Ionic-feature/shutdown-dialog-timeout'Mike Gabriel2023-08-313-13/+112
|\ | | | | | | Attributes GH PR #55: https://github.com/ArcticaProject/arctica-greeter/pull/55
| * src/shutdown-dialog.vala: implement timer function triggering focused button.Mihai Moldovan2023-08-311-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the shutdown dialog is created/realized/shown, a new message will show up at the bottom of the dialog signifying that the default action will be triggered automatically in a configurable amount of seconds. This message will be updated once per second, counting down. Once the countdown reaches zero, the currently focused button (if any) is automatically clicked. The message will keep showing for another 10 seconds, just in case the user removed the focus and no button is actually focused. Multiple actions will cancel the timer: - Pressing escape. - Selecting a different button via (Shift +) Tab or the left or right arrow keys. - Clicking within the dialog (but not on any button). - Closing the dialog. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/39
| * src/shutdown-dialog.vala: remove focus_{next,prev}.Mihai Moldovan2023-08-311-12/+0
| | | | | | | | | | They are not GTK overrides and the only consumers have been removed, so get rid of them. They only confused me.
| * settings: add shutdown-dialog-timeout integer option.Mihai Moldovan2023-08-312-0/+5
|/ | | | | Defaulting to 60, this sets the amount in seconds until the focused button is triggered in the shutdown dialog.
* Merge branch 'Ionic-bugfix/tiny-window-on-startup'Mike Gabriel2023-08-301-0/+2
|\ | | | | | | Attributes GH PR #54: https://github.com/ArcticaProject/arctica-greeter/pull/54
| * src/arctica-greeter.vala: fix tiny main window on startup.Mihai Moldovan2023-08-301-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | 3a5ca24831d1b4a74af6cfd5c5cc2a42b5787aeb backported a commit calculating the really needed screen size more correctly as a prerequisite for additional multi-display support (span and zoom modes) from Slick Greeter (5d39cade1f70ffe0a9bc38ad0b405bb55d98a505), but unfortunately missed crucial code in src/arctica-greeter.vala. While the realize call on main_window should be harmless, calling setup_window on it actually leads to the main window resizing to the actual size that was queried via GDK. While setup_window is being called as part of the main window creation, the first call just skips resizing it (for some reason). Subsequent calls, which are *mostly* triggered through changes in the actual display configuration (hardware or software), then have main window recalculate its size (and updating the background). Honestly, we could just rip out the whole do_resize logic and always resize, since with these changes, we're forcing a resize on startup anyway. Not doing so leads to the nasty bug this commit fixes. However, to keep Slick Greeter's and our code more in sync (to make future backporting easier), let's keep it like this for now. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/47