aboutsummaryrefslogtreecommitdiff
path: root/src/background.vala
Commit message (Collapse)AuthorAgeFilesLines
* 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