| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the dialog resized whenever the timer was shown or hidden.
We want to avoid this, but unfortunately, GTK doesn't provide a way to
hide a widget and retain its size in the parent (for instance, a
container).
To work around this, create a new private class FakeHideLabel,
subclassing Gtk.Label, that exposes a fake_hide () property. If the
property is set to true, the widget is "fake hidden" by changing the
draw () method to first draw normally, and then paint everything fully
transparent.
The usual hide () and show () methods are not used any longer (other
than at widget creation).
Additionally, a dummy text is inserted at widget creation, including
setting the widget to "fake hidden", so that text line actually has a
size.
While this should work fine visually, this WILL definitely create
accessibility issues, which we must fix at a later time.
Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/58
|
|
|
|
| |
slightly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once the shutdown dialog is created/realized/shown, a new message will
show up at the bottom of the dialog signifying that the default action
will be triggered automatically in a configurable amount of seconds.
This message will be updated once per second, counting down.
Once the countdown reaches zero, the currently focused button (if any)
is automatically clicked.
The message will keep showing for another 10 seconds, just in case the
user removed the focus and no button is actually focused.
Multiple actions will cancel the timer:
- Pressing escape.
- Selecting a different button via (Shift +) Tab or the left or right
arrow keys.
- Clicking within the dialog (but not on any button).
- Closing the dialog.
Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/39
|
|
|
|
|
| |
They are not GTK overrides and the only consumers have been removed, so
get rid of them. They only confused me.
|
| |
|
| |
|
|
|
|
| |
via gsettings (use same font as rest of the greeter).
|
|
|
|
|
|
|
|
|
| |
Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_left.html
Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_right.html
Ported from Slick Greeter by Mike Gabriel.
https://github.com/linuxmint/slick-greeter/commit/dcbb38af4d3f4276889f958b883c962bb8957fa6
|
|
|
|
| |
headers of files I have worked on.
|
|
|
|
| |
Additionally, don't hard-code Cabin font anymore, use font_name gsettings property instead.
|
| |
|
| |
|
| |
|
| |
|
|
|