aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove marco WM due to logon screen bypassBastian Kanbach2023-03-011-35/+0
| | | | | | This commit removes invocation of MATE's window manager marco, that was introduced with 9b3526d12d9d6c828fbd4a29dec2295ae2f735a5 Having marco launched allows any user to use its keybindings to open applications which could bypass arctica-greeter and access the operating system as the "lightdm" user.
* src/: Get rid of various vala interpreter warnings.Mike Gabriel2023-03-012-5/+6
|
* src/toggle-box.vala: Allow for more fine-grained color-tweaking of the ↵Mike Gabriel2023-03-012-4/+55
| | | | toggle box (session selector box) via gsettings.
* src/flat-button.vala: Allow color-theming (etc.) of buttons created via the ↵Mike Gabriel2023-03-012-2/+26
| | | | FlatButton class.
* src/shutdown-dialog.vala: Make shutdown/reboot dialog's font configurable ↵Mike Gabriel2023-03-011-6/+19
| | | | via gsettings (use same font as rest of the greeter).
* src/toggle-box.vala: Drop draw() method. Seems unused these days.Mike Gabriel2023-03-011-14/+0
|
* arctica-greeter's test mode: No keyboard tweaks in test mode.Mike Gabriel2023-03-011-7/+9
|
* arctica-greeter's test mode: Add cmdline args '--test-highconstrast' and ↵Mike Gabriel2023-03-011-8/+34
| | | | '--test-bigfont' (soon to come feature).
* src/arctica-greeter.vala: Don't launch Lomiri-related DBus listeners in test ↵Mike Gabriel2023-03-012-37/+42
| | | | mode. Allows one to run arctica-greeter in test-mode within a Lomiri session.
* src/{arctica-greeter,greeter-list}.vala: Mimick a Lomiri Greeter, make ↵Mike Gabriel2023-03-012-2/+2
| | | | ArcticaGreeter behave well, when interacting with Lomiri Shell.
* Add badge for 'mir-shell' DESKTOP_SESSION.Mike Gabriel2023-02-281-0/+2
|
* src/arctica-greeter.vala: Adjust to DBus renamings in Ayatana Indicator ↵Mike Gabriel2023-02-281-2/+2
| | | | Session. We use the com.lomiri.Shell interface to communite between session indicator and Arctica Greeter.
* src/session-list.vala: Use correct file name 'lomiri_badge.png'.Mike Gabriel2023-02-251-1/+1
|
* Add badge for Lomiri.Mike Gabriel2023-02-251-0/+2
|
* src/arctica-greeter.vala: Don't assign new value to method argument.Mike Gabriel2023-02-251-4/+5
|
* src/arctica-greeter.vala: Already fall back to LightDM's system default for ↵Mike Gabriel2023-02-241-2/+2
| | | | 'session' in ArcticaGreeter's get_default_session().
* src/arctica-greeter.vala: Always use ArcticaGreeter's ↵Mike Gabriel2023-02-241-2/+2
| | | | default_session_hint(). No direct access to LightDM's version of it.
* src/arctica-greeter.vala: Turn get_default_session() and validate_session() ↵Mike Gabriel2023-02-243-6/+9
| | | | into non-static methods.
* Use ArcticaGreeter's way of detecting the default session, only fallback to ↵Mike Gabriel2023-02-242-3/+9
| | | | LightDMs default if absolutely necessary.
* src/arctica-greeter.vala: Drop now unused continue_init variable.Mike Gabriel2023-02-241-1/+0
|
* src/arctica-greeter.vala: Prefer wayland sessions over X11 sessions.Mike Gabriel2023-02-241-2/+2
|
* src/arctica-greeter.vala: Add Lomiri to list of potential default sessions ↵Mike Gabriel2023-02-241-0/+1
| | | | (if installed).
* Allow wayland sessions to pass validation.Ivan Podogov2023-02-241-1/+9
| | | | This makes slick-greeter properly remember the last wayland session instead of defaulting to an xsession.
* src/arctica-greeter.vala: Move ArcticaGreeter method further up again, so it ↵Mike Gabriel2023-02-241-16/+16
| | | | is located below the constructor() method.
* src/arctica-greeter.vala: Move Glib.Bus.watch_name() call out of ↵Mike Gabriel2023-02-241-30/+8
| | | | ArcticaGreeter's contructor into separate ArcticaGreeter.go() method.
* src/arctica-greeter.vala: fix test mode.Mihai Moldovan2023-02-221-5/+37
| | | | | | | | | | | | | | | | | 32d28d7bf2646fc7a0008937034246fcc96dbc8a broke test mode by changing the ArcticaGreeter class to a proper SingleInstance vala class. While meant well, this created deadlocks, especially when using test mode, since other code being called from the ArcticaGreeter constructor tries to acquire references to ArcticaGreeter, which is still locked at that point in time. Fortunately, GObject has the constructed () function, that is almost never used within vala, but still works and is called after the constructor () (or, in vala parlance, construct), so we can move calling functions that might require a constructed ArcticaGreeter to constructed (). Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/42
* src/arctica-greeter.vala: Fix path of helper executable ↵Mike Gabriel2023-02-061-1/+1
| | | | arctica-greeter-enable-tap-to-click.
* shutdown-dialog: margin left/right -> margin_start_end.Joshua Peisach2023-02-061-2/+2
| | | | | | | | | Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_left.html Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_right.html Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/dcbb38af4d3f4276889f958b883c962bb8957fa6
* Enable touchpad tap-to-click.Mike Gabriel2023-02-061-0/+13
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/85f83be9977faf2482d38d2cc289f0542b1c06a4
* user-list: Allow hidden user visibility to be toggled.Clement Lefebvre2023-02-061-12/+9
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/ce8704c02498fef137908e36b315d0876300d2c2
* entry: Support the ability to reveal the password.Clement Lefebvre2023-02-061-0/+40
| | | | | | | | | | | | | This adds the following features: - Clicking the entry shows a reveal button - Pressing Left or Right shows the button - Clicking the button toggles the visibility of the password - Pressing Alt+F8 shows the button and toggles the visibility Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/2e8797c80a2d8febf8f89bf38e1040ccbf8be4e0
* a11y: Make the onboard layout configurable.Mike Gabriel2023-02-062-2/+11
| | | | | | | | | Original patch by Clement Lefebvre (Slick Greeter). https://github.com/linuxmint/slick-greeter/commit/ae090039efff87ad8b9b856f3fe451f9f41d21be Modified by Mike Gabriel (change: don't store the complete layout path in gsettings).
* keyboard navigation: Don't prevent left/right movement in Gtk.Entry.Clement Lefebvre2023-02-061-10/+0
| | | | | | | | | The shutdown dialog Left/Right navigation works without this code anyway. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d9d47171d4c00a7004a5548f7e170355c2ba1618
* sessions: Close dialog on Escape.Clement Lefebvre2023-02-061-0/+10
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/aaa10cc2a080cf5fecc693bde7ba473ad87bbe96
* sessions: Add a tooltip on the session badge.Clement Lefebvre2023-02-063-6/+28
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/cf3742cf155e0925904c7da86457deaea6a87885
* badges: Add lxqt.Clement Lefebvre2023-02-061-0/+3
| | | | | | Port from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d6fcbd63919d9f301b65fbcfab956e69d686fbfc
* badges: Add pademelon.Clement Lefebvre2023-02-061-0/+2
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/2dbf7308961572ae730db83deb398d0045f31d91
* sessions: Make the list scrollable.Clement Lefebvre2023-02-061-1/+12
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/1480b029099ea24724d307943dc742a42fcd3159
* orca: Fix wrong a11y text for username prompt.Clement Lefebvre2023-02-061-2/+6
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/dfe45aa7c7171ca58a35e6f337f805ad447c8906
* Set our own cursor theme and size internally via GtkSettings.Michael Webster2023-02-062-3/+20
| | | | | | | | The gtk and icon themes already work this way. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/97f9f54b686303dec81918d3056194bff2a3163c
* Add badge for fynedesk.Jacob2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/512c1032bda19884099e00d41dc23627bccee2c1
* Add sway badge.Louis des Landes2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/ad0e52a13d3ed169276acfe27aea5c4e5ea271ae
* Fixed default session for manual user entry.mwileczka2023-02-061-0/+4
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d85d872a84233b125278825e5d64162079b84fc7
* src/arctica-greeter.vala: Apply HiDPI settings after command line has been ↵Mike Gabriel2023-02-061-12/+13
| | | | parsed (so we know if we are in test-mode or not).
* src/menubar.vala: Hide the bigfont feature until it's really available.Mike Gabriel2023-02-061-0/+4
|
* misc src/: completely rework high contrast mode, add stub for big font mode.Mihai Moldovan2023-02-068-35/+574
| | | | | | | | | This is a work-in-progress. The reworked high contrast mode adds support for a configurable high contrast GTK theme and changes a lot of widgets to change their color. The big font mode is a stub currently.
* src/: add util.vala, wrapping a GTK 3 function for use within vala.Mihai Moldovan2023-02-062-1/+30
| | | | | | | Since this function is only needed for and available in GTK 3, add configure checks for GTK 4.0 and higher as well. We will use this function later on.
* src/toggle-box.vala: fix CSS style.Mihai Moldovan2023-02-061-3/+3
| | | | | CSS element ids called "GtkElement" haven't been in use since 2014 and they never had a class called "element".
* misc src/: make ArcticaGreeter a proper vala SingleInstance class.Mihai Moldovan2023-02-069-72/+118
| | | | | This allows us to drop the rather awkward self-referencing static singleton member and use a standard vala/glib feature.
* src/settings.vala: make SingleInstance class.Mihai Moldovan2023-02-062-1/+20
| | | | | | | This way, we will be able to use it everywhere, as long as we hold a reference in the main greeter object. We will extend this class with other properties later on.