summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21mate-screensaver-preferences: Fix lock-delay time wordinglock-delay-time-wordingColomban Wendling1-4/+1
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).
2024-05-21mate-screensaver-preferences: Improve and cleanup time scale formatting (#295)HEADmasterColomban Wendling1-76/+62
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.
2024-05-20mate-screensaver-preferences: Add tooltip for lock-delayColomban Wendling1-0/+1
2024-05-20mate-screensaver-preferences: Add missing mnemonicColomban Wendling1-1/+1
2024-05-20mate-screensaver-preferences: Cleanup UI file after lock-delay changesColomban Wendling1-6/+11
2024-05-20mate-screensaver-preferences: Add mnemonic for background-pictureColomban Wendling1-1/+3
2024-05-16add the number of minutes for GUI settings to lock the screen after ↵mouse2-36/+125
activating the screen saver (#293)
2024-02-22ci: use ubuntu jammy as dockerv1.28.0raveit651-1/+1
2024-02-22release 1.28.0raveit652-2/+7
2024-02-22tx: sync with transifexraveit65106-201/+214
2023-05-14configure.ac: The macro 'AC_HELP_STRING' is obsoleteraveit651-4/+4
2022-11-11release 1.27.0v1.27.0mbkma2-1/+31
2022-11-09tx: sync with transifexmbkma107-7044/+8928
2022-10-29tx: update resourcembkma1-58/+54
2022-10-28tx: migrate config filembkma2-6/+16
2022-06-22build warning: AC_OUTPUT should be used without argumentsrbuj1-1/+2
2022-03-22gs-prefs: macros instead of static methods of one sentencerbuj1-56/+9
2022-03-22Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj8-34/+34
2022-03-19gs-window-x11: Fix -Wshorten-64-to-32 warningrbuj1-3/+3
2022-03-19gs-watcher-x11: Fix -Wshorten-64-to-32 warningrbuj1-3/+3
2022-03-19gs-lock-plug: Fix -Wshorten-64-to-32 warningrbuj1-2/+2
2022-03-19xdg-user-dir-lookup: Fix -Wshorten-64-to-32 warningrbuj1-3/+2
2022-03-11mate-screensaver-preferences: Fix -Wfloat-conversion warningsrbuj1-10/+8
2022-03-11gs-fade: Fix -Wfloat-conversion warningsrbuj1-31/+18
2022-03-07mate-screensaver-preferences: fix memory leakrbuj1-4/+5
2022-02-19Unnecessary G_OBJECT cast when calling signal connect functionrbuj4-9/+12
2022-02-19Fix build warnings about missing field initializerrbuj5-5/+5
2022-02-19gs-listener-dbus: GTimeVal deprecationrbuj1-4/+7
2022-02-19floaters: GTimeVal deprecationrbuj1-9/+2
2022-02-19Don't build the path to mate-screensaver-dialogrbuj1-4/+2
2022-02-19Don't build the path to mate-screensaver-gl-helperrbuj3-12/+7
2022-02-13ci: drop -Wunused-parameter compiler cflag from debian buildraveit651-1/+1
2021-12-14mate-screensaver-preferences: fix memory leakrbuj1-61/+64
2021-11-20build: show configure summary using a pretty formatrbuj1-38/+40
2021-11-20Use a blank line at mostrbuj15-29/+0
2021-11-15gs-theme-manager: reload on menu_tree changedrbuj1-0/+14
2021-10-15Prompt-driven auth. helperPaul Wolneykien10-135/+733
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]>
2021-09-18tx: update resourceraveit651-4/+4
2021-09-18tx: fix typos reported by translatorsraveit651-2/+2
2021-08-05update to 1.26.0v1.26.0raveit652-2/+28
2021-08-05tx: sync with transifexraveit65108-15703/+19025
2021-08-05tx: update resourceraveit651-15/+36
2021-08-05travis-Ci: use libera.chat as notification serverraveit651-1/+1
2021-07-24Allow change of time and date formats on lock screen v4Eugene San (eugenesan)2-3/+49
2021-06-22tx: update resourceraveit651-123/+135
2021-06-22update copyright to 2021raveit6560-0/+60
2021-05-30travis-ci: use ubuntu focal as host systemraveit651-1/+1
fixes build issues with fedora:latest (f34) tag.
2021-04-25travis: disable travis builds for ubunturaveit651-1/+1
Sadly, there is a limit for free builds at docker.com See discussion https://github.com/orgs/mate-desktop/teams/core-team/discussions/25
2021-03-09travis: build with mate-common-1.24.2 from reposraveit651-12/+0
2021-03-08xdg-user-dir-lookup: missing include guardrbuj1-0/+5