aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--configure.in8
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 50f5d7e73f..183caaff20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-12 Jeffrey Stedfast <fejj@novell.com>
+
+ * configure.in: Check for gtk+-2.4 in order to enable the use of
+ GtkFileChooser.
+
2004-08-09 Ankit Patel <ankit@redhat.com>
* configure.in: Gujarati & Panjabi Languages added
@@ -15,8 +20,9 @@
* configure.in: Added 'he' (Hebrew) to ALL_LINGUAS.
2004-07-21 Ray Strode <rstrode@redhat.com>
- * evolution/data/evolution.desktop.in.in: Add MimeType line to desktop file
- new mime sytem.
+
+ * evolution/data/evolution.desktop.in.in: Add MimeType line to
+ desktop file new mime sytem.
2004-07-19 JP Rosevear <jpr@novell.com>
diff --git a/configure.in b/configure.in
index 35bfab7f48..e6fec442da 100644
--- a/configure.in
+++ b/configure.in
@@ -1007,6 +1007,14 @@ AC_DEFUN(EVO_SET_COMPILE_FLAGS, [
$1_LIBS="$EVOLUTION_LIBS $extra_libs"
])
+dnl enable USE_GTKFILECHOOSER if gtk version is > 2.4.0
+AC_ARG_ENABLE(file-chooser, [ --enable-file-chooser Enable the usage of the GtkFileChooser in place of the GtkFileSelection dialog], enable_file_chooser="$enableval", enable_file_chooser="yes")
+if test "x$enable_file_chooser" = "xyes"; then
+ if pkg-config --atleast-version=2.4.0 gtk+-2.0; then
+ AC_DEFINE(USE_GTKFILECHOOSER,1,[Use new GtkFileChooser])
+ fi
+fi
+
dnl --- Required version numbers
GAL_REQUIRED=2.1.13