aboutsummaryrefslogtreecommitdiff
path: root/src/settings.vala
Commit message (Collapse)AuthorAgeFilesLines
* src/arctica-greeter.vala: Support (configurably) loading the GeoClue-2.0 agent.Mike Gabriel2023-11-181-0/+1
|
* settings: Add font scaling via GDK_DPI_SCALE. This is not adjustable at ↵Mike Gabriel2023-10-101-0/+1
| | | | runtime (for now).
* Drop big-font setting. Font scaling will be handled differently and more ↵Mike Gabriel2023-10-061-18/+0
| | | | statically.
* Show labels for 'Username:' and 'Password:' if configured via gsettings.Mike Gabriel2023-10-061-0/+1
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/62
* a11y / OSK: Restart OSK on theme toggling (normal/high-contrast) and adjust ↵Mike Gabriel2023-10-031-0/+1
| | | | the OSK theme accordingly.
* src/settings.vala: refactor (icon) theme setting in a cleaner way.Mike Gabriel2023-09-191-8/+19
|
* 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.
* a11y: Disable background image when in high-contrast mode.Mike Gabriel2023-09-181-0/+1
| | | | | | This adds a configurable 'high-contrast-background-color' gsetting parameter (defaulting to #000000), so the high contrast bgcolor becomes customizable.
* Introduce gsetting (bool): hide-default-xsession.Mike Gabriel2023-09-151-0/+1
|
* Introduce gsettings (list): includeonly-sessions, excluded-sessions.Mike Gabriel2023-09-151-0/+2
|
* Introduce gsetting (array of strings): preferred-sessions.Mike Gabriel2023-09-151-0/+1
| | | | | The preferred-session gsetting shall provide an ordered list of preferred sessions for detecing the default session type.
* settings: add shutdown-dialog-timeout integer option.Mihai Moldovan2023-08-311-0/+1
| | | | | Defaulting to 60, this sets the amount in seconds until the focused button is triggered in the shutdown dialog.
* settings: add configuration option for logo alpha.Mihai Moldovan2023-08-281-0/+1
|
* Fix some deprecationsRobert Tari2023-05-071-0/+2
|
* Add option to span background across multiple monitorsGeoff Paul2023-05-031-0/+1
|
* Add support for hiding X11 and/or Wayland sessions.Mike Gabriel2023-04-031-1/+2
|
* OSK: Add OSK theme gsetting to individually configure the OSK theme used via ↵Mike Gabriel2023-03-021-0/+1
| | | | ArcticaGreeter's settings.
* src/toggle-box.vala: Allow for more fine-grained color-tweaking of the ↵Mike Gabriel2023-03-011-0/+7
| | | | toggle box (session selector box) via gsettings.
* src/flat-button.vala: Allow color-theming (etc.) of buttons created via the ↵Mike Gabriel2023-03-011-0/+2
| | | | FlatButton class.
* a11y: Make the onboard layout configurable.Mike Gabriel2023-02-061-0/+1
| | | | | | | | | 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).
* Set our own cursor theme and size internally via GtkSettings.Michael Webster2023-02-061-0/+2
| | | | | | | | The gtk and icon themes already work this way. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/97f9f54b686303dec81918d3056194bff2a3163c
* misc src/: completely rework high contrast mode, add stub for big font mode.Mihai Moldovan2023-02-061-0/+60
| | | | | | | | | 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/settings.vala: make SingleInstance class.Mihai Moldovan2023-02-061-1/+10
| | | | | | | 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.
* Add option to show GUI on a specific monitorCobinja2018-06-161-0/+1
| | | | | | | This adds the option "only-on-monitor". Default is "auto", which means "Follow the mouse", like it was without this option. Ported from slick-greeter by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/user-list.vala: Rename gsettings key remote-service-fqdn to ↵Mike Gabriel2018-05-111-1/+1
| | | | remote-service-configure-uri. Support an empty string as value and show a more intelligent message if it's empty.
* Port HiDPI support from slick-greeter.Mike Gabriel2018-03-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Inspired by these slick-greeter commits: commit ffd43c4d425e70bc003b490dcddb8fbae1fffea7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Apr 8 14:13:23 2017 +0100 HiDPI: Allow to force HiDPI support ON or OFF commit 809f1b30a321ae12fdd3ba154791f9ead291acc7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 23:04:50 2017 +0100 HiDPI: Take the screen size in consideration HiDPI shouldn't be activated on large screens where the dpi is OK. commit 851fca4e5508471d6f388edcd0327c3fc5b2b12f Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 18:43:42 2017 +0100 Add HiDPI support Only support 1x and 2x scale ratios for now. Also add a setting so the user can disable HiDPI support.
* Add support for numlockx.Clement Lefebvre2017-10-261-0/+1
| | | | | | | | | Ported from slick-greeter: From 82d912b8fe98e01c80a59e3c010b1bbb18c859b0 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Tue, 11 Jul 2017 16:57:23 +0200 Subject: [PATCH 1/1] Add support for numlockx
* src/settings.vala: White-space cleanup.Mike Gabriel2017-10-261-1/+1
|
* copyright holdership: Add myself as copyright holder and author to file ↵Mike Gabriel2017-10-261-0/+2
| | | | headers of files I have worked on.
* src/background.vala: Drop logo background.Mike Gabriel2017-06-201-1/+0
|
* vala: Replace all 'static const' declaration by 'const'.Mike Gabriel2017-04-151-26/+26
|
* Make session list in toggle box configurable concerning font color and ↵Mike Gabriel2015-10-281-0/+2
| | | | button bg color.
* Add an option to only show users in a list of specified groupsRobert Ancell2015-10-271-0/+1
| | | | Ported to ArcticaGreeter: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Drop hard-reference to uccs.canonica.com. Make default Remote Logon Service ↵Mike Gabriel2015-10-261-0/+1
| | | | server configurable through gsettings.
* Rename UGSettings to AGSettings.Mike Gabriel2015-10-071-1/+1
|
* fork unity-greeter as arctica-greeterMike Gabriel2015-09-191-1/+1
|
* Imported Upstream version 14.04.10Mike Gabriel2014-11-021-0/+101