aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge branch 'Ionic-feature/configurable-logo-alpha'Mike Gabriel2023-08-283-1/+6
|\ | | | | | | Attributes GH PR #53: https://github.com/ArcticaProject/arctica-greeter/pull/53
| * background: use logo alpha dconf setting.Mihai Moldovan2023-08-281-1/+1
| | | | | | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/21
| * settings: add configuration option for logo alpha.Mihai Moldovan2023-08-282-0/+5
|/
* Merge branch 'tari01-pr/no-user-rename'Mike Gabriel2023-08-071-10/+0
|\ | | | | | | Attributes GH PR #51: https://github.com/ArcticaProject/arctica-greeter/pull/51
| * src/arctica-greeter.vala: Do not rename users in D-Bus methodsRobert Tari2023-07-021-10/+0
|/
* Merge branch 'tari01-pr/user-change-fix'Mike Gabriel2023-05-091-18/+19
|\ | | | | | | Attributes GH PR #50: https://github.com/ArcticaProject/arctica-greeter/pull/50
| * src/arctica-greeter.vala: Modify user change signallingRobert Tari2023-05-091-18/+19
|/ | | | Relying on LightDM's signals is not enough - we do not get the guest user.
* Merge branch 'tari01-pr/gdk-x11-display-cast'Mike Gabriel2023-05-093-12/+17
|\ | | | | | | Attributes GH PR #49: https://github.com/ArcticaProject/arctica-greeter/pull/49
| * src/idle-monitor.vala: Fix Gdk.Display -> Gdk.X11.Display castingRobert Tari2023-05-081-1/+2
| | | | | | | | fixes https://github.com/ArcticaProject/arctica-greeter/issues/48
| * src/main-window: Rewrite some deprecated Gtk.AlignmentsRobert Tari2023-05-081-10/+11
| |
| * src/menubar.vala: Fix host name positionRobert Tari2023-05-081-1/+4
|/
* Merge branch 'tari01-pr/dbus-server'Mike Gabriel2023-05-0714-155/+385
|\ | | | | | | Attributes GH PR #46: https://github.com/ArcticaProject/arctica-greeter/pull/46
| * src/arctica-greeter.vala: Add D-Bus server with methods needed by the ↵Robert Tari2023-05-071-2/+96
| | | | | | | | keyboard indicator
| * Add missing default to switchRobert Tari2023-05-071-0/+4
| |
| * Fix some deprecationsRobert Tari2023-05-074-6/+7
| |
| * Comment out unused codeRobert Tari2023-05-071-2/+2
| |
| * Fix casting issuesRobert Tari2023-05-076-18/+45
| |
| * Add missing error handlersRobert Tari2023-05-076-113/+210
| |
| * Fix error handlers for D-Bus methodsRobert Tari2023-05-074-14/+21
|/
* Merge branch 'Ionic-bugfix/pam-messages-and-misc'Mike Gabriel2023-05-074-6/+17
|\ | | | | | | Attributes GH PR #45: https://github.com/ArcticaProject/arctica-greeter/pull/45
| * src/arctica-greeter.vala: fix "this this" typo in comment.Mihai Moldovan2023-05-031-2/+2
| |