aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/arctica-greeter.vala: Clear the AT_SPI_BUS property on the root window ↵Michael Webster2018-03-121-0/+12
| | | | | | | on exit, so the user session components won't fail to connect. Based on fix for lightdm-gtk-greeter see: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1670933
* greeter: Avoid expensive Python calls when it isn't needed.Ikey Doherty2018-03-121-0/+6
| | | | | | | | | | | | | | On non Debian/Ubuntu systems, the /etc/default/keyboard path does not exist. To prevent expensive Python startup (and hundreds/thousands of stats + follow-up loads) we'll reduce to an initial early stat, i.e. if the non-standard file exists only then will we exectute the helper stub. This is most useful on systems that employ systemd for the X11 keyboard configuration (`00-keyboard.conf` from systemd-localed) so that the X server already has the correct layout upon starting up. This approach also avoids unnecessary xkbcomp calls forcing recompilation of non-cached assets. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
* Fix build with vala 0.39Jeremy Bicha2018-02-271-2/+2
| | | | Inspired by https://github.com/linuxmint/slick-greeter/commit/3959b22a
* White-space cleanup. Removing superfluous EOL white-spaces.Mike Gabriel2017-12-075-13/+13
|
* Revert "a11y: Use HighContrast rather than HighContrastInverse."Mike Gabriel2017-10-301-1/+1
| | | | This reverts commit 6d087e792ebe9f27efeddef9209b7a85698088bf.
* a11y: Use HighContrast rather than HighContrastInverse.Clement Lefebvre2017-10-261-1/+1
| | | | | | | | | | Ported from slick-greeter: commit 591d9aab85c35511a7bc44e8cb2968840941b32c Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Wed Jun 7 21:30:36 2017 +0100 A11y: Fix HighContrast option
* Explicitly set the keyboard layoutMike Gabriel2017-10-263-0/+15
| | | | | | | | | | | | | | | Ported from slick-greeter: Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Jun 10 15:57:49 2017 +0100 Explicitly set the keyboard layout The keyboard layout isn't properly set by default in some case. This affects wireless Logitech keyboards in particular, and it results in the greeter using an American layout instead of the layout chosen during the installation.
* Add support for numlockx.Clement Lefebvre2017-10-262-0/+17
| | | | | | | | | 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-2621-3/+60
| | | | headers of files I have worked on.
* src/arctica-greeter.vala: Fix debug message, we use MSD, not USD.Mike Gabriel2017-10-261-1/+1
|
* src/user-list.vala: Add debug message providing info about added users / labels.Mike Gabriel2017-10-251-0/+1
|
* src/user-list.vala: Use directory enumerator for getting a random number of ↵Mike Gabriel2017-10-231-7/+14
| | | | background image. Check if the returned directory entry is not a sub-directory. If so, then skip it.
* background: Don't realize() this immediately - only start the image ↵Michael Webster2017-10-232-17/+100
| | | | | | | | | | | | | | | | | | | | | | | | gathering thread during initialization. Wait for the main window to be realized before passing its cairo surface to the background object and drawing the background for the first time. We also need to make sure in our background's size_allocate function to abort if we're not really active yet (no GdkWindow realized, and no AnimateTimer yet). Moved some background init stuff from the main window to the background class for clarity, and removed the default_background setting - it is already grabbing the default color in Background's class init. Obtained (and modified) from the following slick-greeter commits: d2a7122d731c0f19f502a9efba1feee651bcfa7c d4a2a94eb7120393bb225b680fdfecf5c1d3c4ea 941ecbc5dcb4e7a072c1ca8816d9678f59a96418 Adaptations by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/arctica-greeter.vala: Don't load any external application when launched ↵Mike Gabriel2017-06-201-64/+67
| | | | in test mode.
* src/menubar.vala: Disable all indicators in test mode.Mike Gabriel2017-06-201-18/+22
|
* src/settings_daemon.vala: sd_pid is a private property.Mike Gabriel2017-06-201-1/+1
|
* src/greeter-list.vala: Move get_active_entry() functionality from ↵Mike Gabriel2017-06-201-7/+11
| | | | ListDBusInterface to the GreeterList class.
* Fix Arctica Greeter preventing DE from applying cursor theme/size.Clement Lefebvre2017-06-201-0/+6
| | | | | | | | | See https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482 Arctica Greeter sets the mouse cursor on the root window. Without GKD_CORE_DEVICE_EVENTS set, the DE is unable to apply its own cursor theme and size.
* Don't draw the background before starting the session.Clement Lefebvre2017-06-201-23/+0
| | | | | | | | | | | | | | | | | Drawing the background on the root window causes the following issues: - The settings daemon sets the DE resolution and that can break the aspect of the background - Depending on configuration and distros, the background rendered by the greeter may or may not be the same as the users's. - Some DEs such as Cinnamon render a login animation, which looks good on a black screen but not when a background is drawn. Potential for regression: Minimal DEs and WM should be tested to ensure the default state of the root window is OK. We might have to clear that window or explicitly paint it black (or the background color chosen by the user).
* rebase debug PIDMike Gabriel2017-06-201-1/+1
|
* src/menubar.vala: Silence build warning due to usage call to deprecated ↵Mike Gabriel2017-06-201-1/+0
| | | | ensure_style() method.
* src/background.vala: No runtime warning on empty background image filename. ↵Clement Lefebvre2017-06-201-8/+10
| | | | Ported from slick-greeter.
* Add basic screenshot capability. Ported from slick-greeter.leigh123linux2017-06-201-0/+13
|
* debugging: Print out process PIDs for launched subprocesses.Mike Gabriel2017-06-202-0/+3
|
* Add support for validating session names (and proper fallback for ↵Clement Lefebvre2017-06-203-2/+48
| | | | uninstalled sessions). Ported from slick-greeter.
* Work around GTK 3.20's new allocation logic. Ported from slick-greeter.leigh123linux2017-06-203-0/+8
|
* Fix at-spi-bus-launcher path in Fedora (ported and modifed from slick-greeter).Mike Gabriel2017-06-201-9/+17
|
* white-space fixMike Gabriel2017-06-201-1/+1
|
* src/background.vala: Drop logo background.Mike Gabriel2017-06-203-26/+2
|
* src/arctica-greeter.vala: Disconnect the event filter when the main window ↵Michael Webster2017-06-201-0/+13
| | | | | | | is destroyed. Otherwise we can continue to receive events on the filter when we no longer have a backing GdkWindow to act upon (causing a segfault).
* src/prompt-box.vala: Avoid 'pango_layout_get_cursor_pos: assertion 'index >= ↵Michael Webster2017-06-201-1/+17
| | | | 0 && index <= layout->length' failed' error.
* src/prompt-box.vala: get_preferred_height() ovrride only needed with GTK3 >= ↵Michael Webster2017-06-201-0/+2
| | | | 3.20.
* Fix prompt display in gtk3 > 3.20 (ported from slick-greeter)Michael Webster2017-06-202-0/+5
|
* menubar clean-up before session start: i.e. kill onboard and orca on session ↵leigh123linux2017-06-202-0/+8
| | | | startup (ported from slick-greeter).
* src/logo-generator.vala: Make logo-generator more flexible. Allow passing-in ↵Mike Gabriel2017-06-161-3/+7
| | | | of output logo's width and height. Fix placing of version string.
* src/session-list.vala: Regression fix for failing session logins caused by ↵Mike Gabriel2017-06-161-4/+3
| | | | eece8599b774b4b30eeb31a39bc7c3c36d24b011.
* src/session-list.vala: Present list of available sessions in ↵Mike Gabriel2017-06-161-1/+8
| | | | case-insensitive order.
* Artwork: Add icon badge for Sugar Desktop.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for surf-display.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for Xmonad.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for the Window Maker.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for the Budgie Desktop.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for awesome.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for the matchbox wm.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for i3 wm.Mike Gabriel2017-06-131-0/+3
|
* override_font() deprecation warning: replace by GtkCssProvider blocks. ↵Mike Gabriel2017-06-125-18/+118
| | | | Additionally, don't hard-code Cabin font anymore, use font_name gsettings property instead.
* src/arctica-greeter.vala: Fix copy+paste flaw blocking atspid to be ↵Mike Gabriel2017-06-121-1/+1
| | | | destroyed at greeter exit.
* src/settings-daemon.vala: Make sure the SettingsDaemon subprocess gets ↵Mike Gabriel2017-06-082-2/+34
| | | | killed when greeter exits.
* src/settings-daemon.vala: Flaw when switching to m-s-d. The media-keys ↵Mike Gabriel2017-06-071-1/+0
| | | | plugin is to be diabled.