[gnome-settings-daemon] power: Add helper Perl script to the dist



commit 76d029a17e779c2639f5a991b0c6d8bbb9f7ee24
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 21 10:08:16 2013 +0100

    power: Add helper Perl script to the dist

 plugins/power/Makefile.am          |    2 +-
 plugins/power/gsdpowerconstants.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/Makefile.am b/plugins/power/Makefile.am
index 8491c2a..6116f1c 100644
--- a/plugins/power/Makefile.am
+++ b/plugins/power/Makefile.am
@@ -128,7 +128,7 @@ gsd_power_enums_update_CFLAGS = $(libpower_la_CFLAGS)
 gsd_power_enums_update_CPPFLAGS = $(libpower_la_CPPFLAGS) -I$(top_builddir)/plugins/power
 gsd_power_enums_update_LDFLAGS = $(POWER_LIBS)
 
-EXTRA_DIST += gsdpowerconstants.py gsdpowerenums.py test.py
+EXTRA_DIST += gsd-power-constants-update.pl gsdpowerconstants.py gsdpowerenums.py test.py
 
 check-local: $(top_builddir)/tests/shiftkey gsd-test-power test.py gsdpowerconstants.py gsdpowerenums.py
 	BUILDDIR=$(builddir) TOP_BUILDDIR=$(top_builddir) ${PYTHON} $(srcdir)/test.py
diff --git a/plugins/power/gsdpowerconstants.py b/plugins/power/gsdpowerconstants.py
index c1f54f8..d0d7a9d 100644
--- a/plugins/power/gsdpowerconstants.py
+++ b/plugins/power/gsdpowerconstants.py
@@ -8,5 +8,5 @@
 
 SCREENSAVER_TIMEOUT_BLANK = 20;
 IDLE_DIM_BLANK_DISABLED_MIN = 60;
-IDLE_DELAY_TO_IDLE_DIM_FRACTION = 3;
+IDLE_DELAY_TO_IDLE_DIM_MULTIPLIER = 4/5;
 MINIMUM_IDLE_DIM_DELAY = 10;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]