aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/promptbox.vala: Use themed icon for unread messages.Michael Webster2024-05-281-9/+2
| | | | Ported from slick-greeter.
* greeter-list.vala: Make the user and session box wider.Michael Webster2024-05-281-1/+1
| | | | | | | | | These use a fixed size, and increasing BOX_SIZE by 1 will increase the width by 40px. Ported from slick-greeter. Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/{main-window,settings}.vala: Add a setting to configure the user list ↵Eugenio Depalo2024-05-282-7/+38
| | | | | | alignment. Ported from slick-greeter by Mike Gabriel.
* src/session-list.vala: Add several more session name / badge filename aliases.Mike Gabriel2024-05-201-8/+40
|
* src/session-list.vala: Auto-find session badges if session name matches ↵Mike Gabriel2024-05-201-31/+20
| | | | badge filename.
* src/arctica-greeter.vala: Permission fix (0755 -> 0644)Mike Gabriel2024-04-081-0/+0
|
* Add a Magnus fork and wrap it in a new windowRobert Tari2024-04-081-35/+75
| | | | fixes https://github.com/ArcticaProject/arctica-greeter/issues/100
* src/Makefile.am: Install arctica-greeter to <prefix>/bin (instead of sbin).Mike Gabriel2024-02-061-1/+1
|
* Add magnifier toggling logicRobert Tari2023-12-062-0/+41
|
* Send user change signal for manual user entriesRobert Tari2023-11-242-0/+26
|
* src/session-list.vala: More session name / icon file mappings ↵Mike Gabriel2023-11-201-0/+2
| | | | (plasmawayland, icewm).
* src/arctica-greeter.vala: Support (configurably) loading the GeoClue-2.0 agent.Mike Gabriel2023-11-182-0/+46
|
* src/arctica-greeter.vala: Drop comments that we cannot maintain (because we ↵Mike Gabriel2023-11-181-2/+0
| | | | lack implementation detail knowledge over time).
* src/arctica-greeter.vala: Search at alternative installation path /usr/lib ↵Mike Gabriel2023-11-101-10/+20
| | | | | | for indicator service executables. Resolves indicator service startups on openSUSE.
* src/arctica-greeter.vala: Fix killing OrcaRobert Tari2023-11-061-7/+7
|
* src/menubar.vala: Fix scroll direction valueRobert Tari2023-11-041-1/+12
|
* src/menubar.vala: Add scroll signallingRobert Tari2023-11-031-0/+11
|
* src/greeter-list.vala: Leave it unclear in message whether username or ↵Mike Gabriel2023-10-121-1/+1
| | | | password was invalid.
* settings: Add font scaling via GDK_DPI_SCALE. This is not adjustable at ↵Mike Gabriel2023-10-102-0/+9
| | | | runtime (for now).
* 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.
* src/arctica-greeter.vala: Change D-Bus name and pathRobert Tari2023-10-091-4/+4
|
* 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.
* src/arctica-greeter.vala: Move HiDPI setup above OptionContext parsing.Mike Gabriel2023-10-061-17/+24
|
* 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.
* Drop big-font setting. Font scaling will be handled differently and more ↵Mike Gabriel2023-10-062-50/+6
| | | | statically.
* 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.
* Show labels for 'Username:' and 'Password:' if configured via gsettings.Mike Gabriel2023-10-062-0/+15
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/62
* src/main-window.vala: Drop obsolete / commented out code.Mike Gabriel2023-10-051-17/+1
|
* 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.
* src/arctica-greeter.vala: Initialise OnBoard and Orca after the greeter is ↵Robert Tari2023-10-031-4/+11
| | | | presented
* src/arctica-greeter.vala: Initialize screen-reader and OSK as configured in ↵Mike Gabriel2023-10-031-0/+4
| | | | gsettings.
* a11y / OSK: Restart OSK on theme toggling (normal/high-contrast) and adjust ↵Mike Gabriel2023-10-032-8/+97
| | | | the OSK theme accordingly.
* 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-191-4/+5
| | | | toggle icon theme if a11y indicator's high contrast switch gets toggled.
* 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-182-1/+26
| | | | | | 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).
* 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
|
* 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-152-2/+11
|
* Introduce gsettings (list): includeonly-sessions, excluded-sessions.Mike Gabriel2023-09-152-0/+33
|
* 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.
* 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).
* Introduce gsetting (array of strings): preferred-sessions.Mike Gabriel2023-09-152-8/+6
| | | | | The preferred-session gsetting shall provide an ordered list of preferred sessions for detecing the default session type.
* {src,tests}/Makefile.am: implement proper GTK+ 3/GTK 4 switching support.Mihai Moldovan2023-09-121-0/+15
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/56