aboutsummaryrefslogtreecommitdiff
path: root/src/background.vala
Commit message (Collapse)AuthorAgeFilesLines
* 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/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-181-1/+25
| | | | | | This adds a configurable 'high-contrast-background-color' gsetting parameter (defaulting to #000000), so the high contrast bgcolor becomes customizable.
* background: use logo alpha dconf setting.Mihai Moldovan2023-08-281-1/+1
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/21
* Add option to span background across multiple monitorsGeoff Paul2023-05-031-21/+70
|
* main-window: Smooth transition to greeter screen.Mike Gabriel2023-05-031-0/+1
| | | | | | | | | | | | | | This completes a ported patch from slick-greeter. Credits to Björn Esser. From 5d39cade1f70ffe0a9bc38ad0b405bb55d98a505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org> Date: Wed, 29 Nov 2017 18:24:15 +0100 Subject: [PATCH] main-window: Calculate the really needed screen size properly (#84) * main-window: Calculate the really needed screen size properly * arctica-greeter: Smooth transition to the greeter screen
* Add support for hiding X11 and/or Wayland sessions.Mike Gabriel2023-04-031-1/+2
|
* misc src/: make ArcticaGreeter a proper vala SingleInstance class.Mihai Moldovan2023-02-061-1/+2
| | | | | This allows us to drop the rather awkward self-referencing static singleton member and use a standard vala/glib feature.
* Fix background if image file is not readable.Cobinja2018-11-261-0/+18
| | | | | | | | | | | | | This fixes a bug, where we fell back to the defined background color, if reading an image file failed. If that file was a user background, we didn't fall back to the defined system background before using the color, now we do. Only if that one is not readable either, we fall back to the color. Ported from Slick Greeter: https://github.com/linuxmint/slick-greeter/commit/32f2bb5feebca3377c9fc202e0a6aac6ddb75212.patch
* src/background.vala: Fix for previous commit. Vala needs a bool expression ↵Mike Gabriel2018-09-061-1/+1
| | | | in if-clauses.
* src/background.vala: Fix FTBFS against Vala 0.42. This introduces a slight ↵Mike Gabriel2018-08-221-3/+8
| | | | behaviour change compared to the previous version, but actually in a direction we want it to be.
* copyright holdership: Add myself as copyright holder and author to file ↵Mike Gabriel2017-10-261-0/+2
| | | | headers of files I have worked on.
* background: Don't realize() this immediately - only start the image ↵Michael Webster2017-10-231-8/+88
| | | | | | | | | | | | | | | | | | | | | | | | 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/background.vala: No runtime warning on empty background image filename. ↵Clement Lefebvre2017-06-201-8/+10
| | | | Ported from slick-greeter.
* white-space fixMike Gabriel2017-06-201-1/+1
|
* src/background.vala: Drop logo background.Mike Gabriel2017-06-201-24/+1
|
* vala: Replace all 'static const' declaration by 'const'.Mike Gabriel2017-04-151-8/+8
|
* Apply the Gtk.ResizeMode.QUEUE fix to another place, so that the shutdownIain Lane2016-09-151-0/+2
| | | | dialog is positioned correctly again.
* Rename UGSettings to AGSettings.Mike Gabriel2015-10-071-1/+1
|
* Rebase against Unity Greeter from Ubuntu 15.04Mike Gabriel2015-09-211-10/+13
|
* Imported Upstream version 14.04.10Mike Gabriel2014-11-021-0/+705