From f6c18745237e6875f4d79b6ddcf7a9e54ed7c308 Mon Sep 17 00:00:00 2001
From: Jon Lund Steffensen <jonlst@gmail.com>
Date: Wed, 5 May 2010 21:30:25 +0200
Subject: Change python dependency to 2.6.

---
 README       | 2 +-
 configure.ac | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README
index e76fb32..1a86806 100644
--- a/README
+++ b/README
@@ -79,4 +79,4 @@ Start the program gtk-redshift instead of redshift, with the same
 arguments as you would pass to redshift. This will create an icon for
 Redshift in the system tray. The icon will allow you to toggle
 Redshift on and off. Thanks goes to the Tango Desktop Project for the
-icon. gtk-redshift requires at least Python 2.4 and PyGTK 2.12.
+icon. gtk-redshift requires at least Python 2.6 and PyGTK 2.12.
diff --git a/configure.ac b/configure.ac
index c0a2ac6..7b37022 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ PKG_CHECK_MODULES([XCB_RANDR], [xcb-randr],
 	[have_xcb_randr=yes], [have_xcb_randr=no])
 
 # Check for Python
-AM_PATH_PYTHON([2.4], [have_python=yes], [have_python=no])
+AM_PATH_PYTHON([2.6], [have_python=yes], [have_python=no])
 
 # Check RANDR method
 AC_MSG_CHECKING([whether to enable RANDR method])
@@ -83,7 +83,7 @@ AS_IF([test "x$enable_gtk" != xno], [
 	], [
 		AC_MSG_RESULT([missing dependencies])
 		AS_IF([test "x$enable_gtk" = xyes], [
-			AC_MSG_ERROR([status icon script requires Python 2.4])
+			AC_MSG_ERROR([status icon script requires Python 2.6])
 		])
 		enable_gtk=no
 	])
-- 
cgit v1.2.3-70-g09d2