summaryrefslogtreecommitdiff
path: root/settings/xfpm-settings.c
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2021-02-18 16:48:33 +0100
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2021-02-18 16:48:33 +0100
commitaea41df6bead2f64e03ca37771f9f35929ae4c98 (patch)
tree91ed8e2b2e26f25f161d8841206e01ee18e1e531 /settings/xfpm-settings.c
parenta66799fa582e36c79257162e6fac103ea01b6694 (diff)
downloadixfce4-power-manager-aea41df6bead2f64e03ca37771f9f35929ae4c98.tar.gz
Revert "Lower minimum inactivity to 5 minutes"
This reverts commit 462d4f024f1417595c3e6484c678509fa2e80619. Reason for reverting is that the "magical value" for suspending is changed so existing configurations result in unpredictable behavior.
Diffstat (limited to 'settings/xfpm-settings.c')
-rw-r--r--settings/xfpm-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 961b0ccb..33a2b1b6 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -659,7 +659,7 @@ format_inactivity_value_cb (gint value)
{
gint h, min;
- if ( value <= 4 )
+ if ( value <= 14 )
return g_strdup (_("Never"));
else if ( value < 60 )
return g_strdup_printf ("%d %s", value, _("minutes"));