| Age | Commit message (Collapse) | Author | Files | Lines |
|
This deactivates the password input widget to make sure characters typed
after the user presses Enter are not captured as part of the password.
Fixes #329
|
|
GetSessionByPID may fail in some cases. For example when it was started
by D-bus.
Let's try to additionally get session D-bas path using GetSession method,
like loginctl doint it
Fixes https://github.com/mate-desktop/mate-screensaver/issues/306
|
|
|
|
|
|
|
|
Uses cairo surfaces to load user face images (~/.face) at the correct
scale. This allows us to show a sharp image on HiDPI screens.
Fixes #191
|
|
|
|
For better compatibility.
|
|
Fixes #57.
|
|
Screensaver command-line arguments can now be configured via a gsettings
dictionary. It's also compatible with screensavers from XScreenSaver.
A helper script is included:
mate-screensaver-configure starfield --count 500 --speed 10
Fixes #5
|
|
The scale controls the delay after which to lock the screen once the
screensaver activated, not whether or not it happens -- which has its
own checkbox. So remove the "Never" wording for value 0, which was
inherited from an earlier version of the activate-delay scale that is
not used anymore (the activate-delay scale is now 1-120, never 0).
|
|
Formatting the value of a GtkScale is actually pretty tricky, because
the lower and upper values representations are used to compute the size
required do draw *all* values. This means the representations for the
lower and upper bounds have to be at least as big as any other possible
value, failing that leads to wrapping and overflowing of the value
representation.
This was previously partially done in `time_to_string_text()`, but not
only wasn't it comprehensive (it only did so for whole minutes < 59),
but it also meant that if one of the bounds wasn't a whole minute it
didn't have the desired effect.
Fix this by extracting the code for padding the string outside of the
time formatting, and pad the resulting format string whatever it is.
Also improve the padding to try and be less visible, by padding to the
side where we don't want the value to align (e.g. pad on the right if
we want the value left-aligned).
This is still basically a sad hack, but there doesn't seem to be a
better way to do this when neither the lower nor upper bound is
necessarily the largest value.
|
|
activating the screen saver (#293)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
By the term "prompt-driven" I mean two-way conversation between the
screensaver dialog and the PAM stack. As you probably know, PAM works
by conversation with a dialog program asking the user to enter
something in answer to each message it sends. In the most conventional
case, the only question is "Password:" and the password is the only
data the user enters. But in general, the number of questions and
messages are not limited to that.
The previous support of PAM helper (gs-auth-helper.c) was written and
worked for the mentioned "only password" authentication scheme. For
other schemes it wasn't enough. New implementation fixes that
limitation.
Same as the previous version of gs-auth-helper.c, the new version uses
pipe interface for interprocess communication and synchronization.
However, unlike the previous version, new version uses two pipes
instead of a single pipe: the first one is used to transfer
prompt text from PAM via the helper to the screensaver dialog, and the
second one is used to transfer the user input from the dialog to
helper (and then the helper replies with it back to PAM). Having that
bidirectional prompt/reply channel it is possible to make as many
prompt/reply passes as required by PAM.
The present helper program (see the helper/ dir) is based on the
helper written by [email protected], which is in turn loosely based on
unix_chkpwd by Andrew Morgan.
All new code is untabified under the assumption the tab width is 8.
Signed-off-by: Paul Wolneykien <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Taken from downstream Debian patch.
Make keyboard translatable.
Add translator notes.
|
|
|
|
|
|
|
|
|