Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-05-21 | mate-screensaver-preferences: Fix lock-delay time wordinglock-delay-time-wording | Colomban Wendling | 1 | -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-21 | mate-screensaver-preferences: Improve and cleanup time scale formatting (#295)HEADmaster | Colomban Wendling | 1 | -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-16 | add the number of minutes for GUI settings to lock the screen after ↵ | mouse | 1 | -9/+64 | |
activating the screen saver (#293) | |||||
2022-03-22 | gs-prefs: macros instead of static methods of one sentence | rbuj | 1 | -56/+9 | |
2022-03-22 | Fix implicit conversion changes signedness: 'gboolean' to 'guint' | rbuj | 7 | -32/+32 | |
2022-03-19 | gs-window-x11: Fix -Wshorten-64-to-32 warning | rbuj | 1 | -3/+3 | |
2022-03-19 | gs-watcher-x11: Fix -Wshorten-64-to-32 warning | rbuj | 1 | -3/+3 | |
2022-03-19 | gs-lock-plug: Fix -Wshorten-64-to-32 warning | rbuj | 1 | -2/+2 | |
2022-03-11 | mate-screensaver-preferences: Fix -Wfloat-conversion warnings | rbuj | 1 | -10/+8 | |
2022-03-11 | gs-fade: Fix -Wfloat-conversion warnings | rbuj | 1 | -31/+18 | |
2022-03-07 | mate-screensaver-preferences: fix memory leak | rbuj | 1 | -4/+5 | |
2022-02-19 | Unnecessary G_OBJECT cast when calling signal connect function | rbuj | 1 | -1/+1 | |
2022-02-19 | Fix build warnings about missing field initializer | rbuj | 3 | -3/+3 | |
2022-02-19 | gs-listener-dbus: GTimeVal deprecation | rbuj | 1 | -4/+7 | |
2022-02-19 | Don't build the path to mate-screensaver-dialog | rbuj | 1 | -4/+2 | |
2022-02-19 | Don't build the path to mate-screensaver-gl-helper | rbuj | 3 | -12/+7 | |
2021-12-14 | mate-screensaver-preferences: fix memory leak | rbuj | 1 | -61/+64 | |
2021-11-20 | Use a blank line at most | rbuj | 13 | -26/+0 | |
2021-11-15 | gs-theme-manager: reload on menu_tree changed | rbuj | 1 | -0/+14 | |
2021-10-15 | Prompt-driven auth. helper | Paul Wolneykien | 4 | -128/+172 | |
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-07-24 | Allow change of time and date formats on lock screen v4 | Eugene San (eugenesan) | 1 | -3/+39 | |
2021-06-22 | update copyright to 2021 | raveit65 | 47 | -0/+47 | |
2021-01-26 | i18n: Do not collect the translation for Icon | rbuj | 1 | -1/+1 | |
2021-01-07 | Remove warning -Wshadow | rbuj | 2 | -12/+13 | |
2020-11-10 | Add Show/Hide password emblem in password entry | rbuj | 1 | -0/+28 | |
2020-11-01 | mate-screensaver-preferences: Show lock image preview on file chooser | rbuj | 1 | -2/+80 | |
2020-06-17 | add git.mk to generate .gitignore | tamplan | 1 | -0/+2 | |
2020-04-19 | gs-lock-plug: remove function casting | rbuj | 1 | -8/+12 | |
2020-04-16 | Remove function casting for g_idle_add (function, data) | rbuj | 6 | -20/+29 | |
2020-04-09 | Custom background image for lock screen | rbuj | 2 | -1/+34 | |
2020-03-13 | Remove warnings: cast between incompatible function types | rbuj | 7 | -20/+17 | |
2020-03-13 | Remove warning function declaration isn’t a prototype | rbuj | 1 | -1/+1 | |
2020-03-10 | gs-window-x11: Remove warning "variable ‘widget’ set but not used" | rbuj | 1 | -1/+1 | |
2019-11-28 | avoid redundant redeclarations | Pablo Barciela | 12 | -24/+2 | |
2019-10-29 | migrate from intltool to gettext | Wu Xiaotian | 2 | -5/+7 | |
2019-10-10 | Add keywords key to .desktop files | Martin Wimpress | 1 | -0/+2 | |
Taken from downstream Debian patch. Make keyboard translatable. Add translator notes. | |||||
2019-10-02 | gs_prefs: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -7/+2 | |
2019-10-02 | gs-job: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-listener-dbus: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-manager: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | copy-theme-dialog: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -34/+3 | |
2019-10-02 | gs-theme-manager: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-lock-plug: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-fade: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-grab-x11: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -7/+3 | |
2019-10-02 | gs-window-x11: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-10-02 | gs-monitor: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -7/+2 | |
2019-10-02 | gs-watcher-x11: avoid 'g_type_class_add_private' | Pablo Barciela | 1 | -6/+2 | |
2019-08-26 | remove old HAL remnants | monsta | 1 | -37/+1 | |
2019-08-26 | Ensure lock on suspend and unlock on resume | Ali Akbar | 3 | -2/+119 | |
This patch is adopted from xfce4-screensaver: https://git.xfce.org/apps/xfce4-screensaver/commit/?id=9e53bb2866 Modified to match screen locking behavior of mate-power-manager. Introduced new Inhibitor lock to make sure lock was in place and user will be greeted with unlock dialog when resumes from suspend/ hibernate. |