diff --git a/ChangeLog b/ChangeLog index 14d24727..9532ea11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,12 @@ * src/templates.c, src/utils.c, src/utils.h: Fix possible memory leak and add time_t argument in utils_get_date_time() to pass a time pointer to use. + * configure.in, geany.glade, TODO, doc/geany.html, doc/geany.txt, + src/callbacks.c, src/callbacks.h, src/document.c, src/document.h, + src/interface.c, src/keyfile.c, src/main.c, src/Makefile.am, + src/makefile.win32, src/prefs.c, src/prefs.h, src/printing.c, + src/printing.h, src/ui_utils.c, src/ui_utils.h: + Add native GTK printing support. 2007-11-14 Nick Treleaven diff --git a/TODO b/TODO index e46c07e3..99e7f92b 100644 --- a/TODO +++ b/TODO @@ -30,7 +30,6 @@ TODO List: o (better tags support for popular languages? - this is a moving target...) o (tango-like icons for the symbol list) - o (GTK+ 2.10 printing support) o (show autocompletion symbol icons - see SCI_REGISTERIMAGE) diff --git a/configure.in b/configure.in index cbc875c9..5a111860 100644 --- a/configure.in +++ b/configure.in @@ -85,7 +85,7 @@ AC_ARG_WITH(vte-module-path, AC_HELP_STRING([--with-vte-module-path=PATH], # Plugins support -AC_ARG_ENABLE(plugins, [AC_HELP_STRING([--disable-plugins], [compile without plugin support])], , enable_plugins=yes) +AC_ARG_ENABLE(plugins, [AC_HELP_STRING([--disable-plugins], [compile without plugin support [[default=no]]])], , enable_plugins=yes) if test "x$enable_plugins" = "xyes" ; then AC_DEFINE(HAVE_PLUGINS, 1, [Define if plugins are enabled.]) @@ -110,6 +110,16 @@ AM_CONDITIONAL(MINGW, test "x$host" = "xi386-mingw32msvc") GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0` + +# GTK 2.10 printing support +$PKG_CONFIG --exists 'gtk+-2.0 >= 2.10.0' +if test "x$?" = "x0" ; then + enable_printing="yes" +else + enable_printing="no (GTK >= 2.10 necessary)" +fi + + # just for a laugh (it has absolutely no effect) AC_ARG_ENABLE(the-force, AC_HELP_STRING([--enable-the-force], [enable if you are Luke Skywalker and the force is with you [[default=no]]]), [be_luke="$enableval"], [be_luke="no"]) @@ -128,6 +138,7 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.]) ALL_LINGUAS="`sed -e '/^#/d' $srcdir/po/LINGUAS`" # take all languages found in file po/LINGUAS AM_GLIB_GNU_GETTEXT +# workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845) if test "x$MSGFMT" = "xno"; then AC_MSG_ERROR([msgfmt not found. Please install the gettext package.]) fi @@ -176,6 +187,7 @@ then echo "Building Geany for : ${target}" fi echo "Using GTK version : ${GTK_VERSION}" +echo "Build with GTK printing support : ${enable_printing}" echo "Build with plugin support : ${enable_plugins}" echo "Use virtual terminal support : ${want_vte}" echo "Use (UNIX domain) socket support : ${want_socket}" diff --git a/doc/geany.html b/doc/geany.html index f2fee501..a94f9a8c 100644 --- a/doc/geany.html +++ b/doc/geany.html @@ -6,7 +6,7 @@ Geany - +