diff options
author | Colomban Wendling <[email protected]> | 2024-05-15 22:06:25 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2025-09-10 21:07:18 +0000 |
commit | 9af00887ad2abd8f4b9e64e1a41e1e4907bebb43 (patch) | |
tree | 0a72a210d37c0ffcbe8079b18c1988d80e053bd5 | |
parent | e3f66072bcf78463bffe1bef56e2586ebf2f6437 (diff) | |
download | mate-screensaver-master.tar.bz2 mate-screensaver-master.tar.xz |
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).
-rw-r--r-- | src/mate-screensaver-preferences.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index 1bcdcaf..39336c9 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -1034,10 +1034,7 @@ format_value_callback_time (GtkScale *scale, gint pad_size; /* get the value representation as a string */ - if (value == 0) - time_str = g_strdup (_("Never")); - else - time_str = time_to_string_text ((long) (value * 60.0)); + time_str = time_to_string_text ((long) (value * 60.0)); /* Now, adjust the string so the representation for the bounds are the * longest ones, and try and adjust the length as smoothly as possible. |