aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-08-13 05:08:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-08-13 05:08:49 +0800
commit05d3da3bf695dcdc5614cc1434926812a21902b9 (patch)
tree3c348e656dcbb905af5f3a63ccd99b85060c00a8
parentf9394de34e96c96d7096e32694165e1cfa2526f9 (diff)
downloadgsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar.gz
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar.bz2
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar.lz
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar.xz
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.tar.zst
gsoc2013-evolution-05d3da3bf695dcdc5614cc1434926812a21902b9.zip
Check for gtk+-2.4 in order to enable the use of GtkFileChooser.
2004-08-12 Jeffrey Stedfast <fejj@novell.com> * configure.in: Check for gtk+-2.4 in order to enable the use of GtkFileChooser. svn path=/trunk/; revision=26899
-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