[Xfce4-commits] <mousepad:master> * docs/: Import basic manual files. * configure.in.in, mousepad/Makefile.am: Don't search for startup- notification and gtk-unix-print. We don't use this in the code.

Nick Schermer noreply at xfce.org
Sat May 5 21:30:49 CEST 2012


Updating branch refs/heads/master
         to c68eede22f8717c245154f83dab5b6569fc45d13 (commit)
       from 1f30cae6c6774f25728d5c7254e772281762abd6 (commit)

commit c68eede22f8717c245154f83dab5b6569fc45d13
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Oct 21 15:17:17 2007 +0000

    	* docs/: Import basic manual files.
    	* configure.in.in, mousepad/Makefile.am: Don't search for startup-
    	  notification and gtk-unix-print. We don't use this in the code.
    
    (Old svn revision: 26172)

 ChangeLog                        |    6 +
 Makefile.am                      |    5 +-
 configure.in.in                  |   45 +++----
 docs/Makefile.am                 |    6 +
 docs/manual/C/Makefile.am        |   68 ++++++++++
 docs/manual/C/Mousepad.xml.in    |   92 ++++++++++++++
 docs/manual/C/images/Makefile.am |    9 ++
 docs/manual/Makefile.am          |   14 ++
 docs/manual/mousepad.css         |   99 +++++++++++++++
 docs/manual/mousepad.xsl         |  254 ++++++++++++++++++++++++++++++++++++++
 mousepad/Makefile.am             |    8 --
 11 files changed, 568 insertions(+), 38 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 88904b8..84381f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-21	Nick Schermer <nick at xfce.org>
+	* docs/: Import basic manual files.
+	* configure.in.in, mousepad/Makefile.am: Don't search for startup-
+	  notification and gtk-unix-print. We don't use this in the code.
+
+
 2007-10-18	Nick Schermer <nick at xfce.org>
 	* mousepad/mousepad-view.c: Respect input methods and don't insert
 	  text when the textview is not editable.
diff --git a/Makefile.am b/Makefile.am
index d7f22d1..cc32972 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,8 @@
 SUBDIRS =									\
 	icons									\
 	mousepad                                                        	\
-	po
+	po                                                                      \
+	docs
 
 distclean-local:
 	rm -rf *.spec *.cache *~
@@ -35,6 +36,6 @@ DISTCLEANFILES =								\
 	$(desktop_DATA)
 
 DISTCHECK_CONFIGURE_FLAGS =							\
-	--enable-gtk-doc
+	--enable-xsltproc
 
 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/configure.in.in b/configure.in.in
index dc79f57..ece6022 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -92,24 +92,17 @@ dnl **********************************
 XDT_CHECK_OPTIONAL_PACKAGE([DBUS], [dbus-glib-1],
                            [0.34], [dbus], [D-BUS support])
 
-dnl *************************************************
-dnl *** Optional support for startup notification ***
-dnl *************************************************
-XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION],
-                           [libstartup-notification-1.0],
-                           [0.4], [startup-notification],
-                           [startup notification library])
-
-dnl *******************************************************
-dnl *** Optional support for unix print support in GTK+ ***
-dnl *******************************************************
-XDT_CHECK_OPTIONAL_PACKAGE([GTK_UNIX_PRINT], [gtk+-unix-print-2.0],
-                           [2.10.0], [gtk_unix_print], [GTK+ Unix print support])
-
-dnl *************************
-dnl *** Check for gtk-doc ***
-dnl *************************
-GTK_DOC_CHECK([1.0])
+dnl **************************
+dnl *** Check for xsltproc ***
+dnl **************************
+AC_ARG_ENABLE([xsltproc], [AC_HELP_STRING([--enable-xsltproc], [Use xsltproc to build documentation @<:@default=no@:>@])],, [enable_xsltproc=no])
+if test x"$enable_xsltproc" = x"yes"; then
+  AC_PATH_PROG([XSLTPROC], [xsltproc], [no])
+  if test x"$XSLTPROC" = x"no"; then
+    enable_xsltproc=no
+  fi
+fi
+AM_CONDITIONAL([ENABLE_XSLTPROC], [test x"$enable_xsltproc" = x"yes"])
 
 dnl ***********************************
 dnl *** Check for debugging support ***
@@ -206,6 +199,11 @@ AC_SUBST([PLATFORM_LDFLAGS])
 
 AC_OUTPUT([
 Makefile
+docs/Makefile
+docs/manual/Makefile
+docs/manual/C/Makefile
+docs/manual/C/Mousepad.xml
+docs/manual/C/images/Makefile
 icons/Makefile
 icons/16x16/Makefile
 icons/24x24/Makefile
@@ -225,14 +223,5 @@ echo "* D-BUS support:             yes"
 else
 echo "* D-BUS support:             no"
 fi
-if test x"$LIBSTARTUP_NOTIFICATION_FOUND" = x"yes"; then
-echo "* Startup Notification:      yes"
-else
-echo "* Startup Notification:      no"
-fi
-if test x"$GTK_UNIX_PRINT_FOUND" = x"yes"; then
-echo "* GTK+ Unix Print Support:   yes"
-else
-echo "* GTK+ Unix Print Support:   no"
-fi
+echo "* Debug Support:             $enable_debug"
 echo
diff --git a/docs/Makefile.am b/docs/Makefile.am
new file mode 100644
index 0000000..a936fe8
--- /dev/null
+++ b/docs/Makefile.am
@@ -0,0 +1,6 @@
+# $Id$
+
+SUBDIRS =								\
+	manual
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/docs/manual/C/Makefile.am b/docs/manual/C/Makefile.am
new file mode 100644
index 0000000..c555c85
--- /dev/null
+++ b/docs/manual/C/Makefile.am
@@ -0,0 +1,68 @@
+# $Id$
+
+SUBDIRS =								\
+	images
+
+TARGET_DIR = $(datadir)/doc/Mousepad/html/C
+STYLESHEET = ../mousepad.xsl
+DOCUMENT = Mousepad.xml
+
+# We set GPATH here; this gives us semantics for GNU make
+# which are more like other make's VPATH, when it comes to
+# whether a source that is a target of one rule is then
+# searched for in VPATH/GPATH.
+GPATH = $(srcdir)
+
+DOC_STAMPS = html-build.stamp
+
+EXTRA_DIST = $(DOCUMENT)
+CLEANFILES = $(DOC_STAMPS)
+
+if ENABLE_XSLTPROC
+all-local: html-build.stamp
+
+html-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(STYLESHEET)
+	@echo "*** Building HTML ***"
+	@-chmod -R u+w $(srcdir)
+	rm -rf $(srcdir)/html
+	mkdir $(srcdir)/html
+	$(XSLTPROC) --nonet -o $(srcdir)/html/ $(srcdir)/$(STYLESHEET) \
+		$(srcdir)/$(DOCUMENT)
+	touch html-build.stamp
+else
+all-local:
+endif
+
+maintainer-clean-local: clean
+	(cd $(srcdir) && rm -rf html)
+
+install-data-local:
+	installfiles=`echo $(srcdir)/html/*`;				\
+	if test "$$installfiles" = '$(srcdir)/html/*'; then		\
+		echo "--- Nothing to install";				\
+	else								\
+		$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR);		\
+		for file in $$installfiles; do				\
+			echo "--- Installing "$$file;			\
+			$(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR);	\
+		done;							\
+	fi
+
+uninstall-local:
+	rm -rf $(DESTDIR)$(TARGET_DIR)/*
+
+if ENABLE_XSLTPROC
+dist-check-xsltproc: all
+else
+dist-check-xsltproc:
+	@echo "*** xsltproc must be installed and enabled in order to make dist"
+	@false
+endif
+
+dist-hook: dist-check-xsltproc dist-hook-local
+	mkdir $(distdir)/html
+	-cp $(srcdir)/html/* $(distdir)/html
+
+.PHONY: dist-hook-local
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/docs/manual/C/Mousepad.xml.in b/docs/manual/C/Mousepad.xml.in
new file mode 100644
index 0000000..b2fac62
--- /dev/null
+++ b/docs/manual/C/Mousepad.xml.in
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+  <!ENTITY date "OCtober 2007">
+  <!ENTITY version "@PACKAGE_VERSION@">
+  <!ENTITY application "@PACKAGE_NAME@">
+]>
+<article id="index" lang="en">
+
+  <!-- Header -->
+  <articleinfo>
+    <title>Mousepad Text Editor</title>
+
+    <pubdate>&date;</pubdate>
+
+    <copyright>
+      <year>2007</year>
+      <holder>Nick Schermer</holder>
+    </copyright>
+
+    <legalnotice id="legalnotice">
+      <para>
+        Permission is granted to copy, distribute and/or modify this document
+        under the terms of the GNU Free Documentation License, Version 1.1 or
+        any later version published by the Free Software Foundation; with no
+        Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+        Texts. The complete license text is available from the <ulink
+        type="http" url="http://www.gnu.org/">Free Software Foundation</ulink>.
+      </para>
+    </legalnotice>
+
+    <authorgroup>
+      <author>
+        <firstname>Nick</firstname>
+        <surname>Schermer</surname>
+        <affiliation>
+          <orgname>Xfce Development Team</orgname>
+          <address><email>nick at xfce.org</email></address>
+        </affiliation>
+      </author>
+    </authorgroup>
+
+    <releaseinfo>
+      This manual describes version &version; of &application;.
+    </releaseinfo>
+  </articleinfo>
+
+  <sect1 id="intro">
+    <title>Introduction to &application;</title>
+
+    <para>
+      Mousepad is the default text editor for the Xfce Desktop Environment. It has been design to be a
+      lightweight editor you would use for basic file editing. Therefore Mousepad starts quickly, but
+      also has features like editing multiple documents, vertical selection, type-ahead search, full tab
+      drag and drop and much more.
+    </para>
+
+    <para>
+      Mousepad started as a fork of Leafpad to provide printing support using Xfprint, but as of version
+      0.3 is has been completely rewritten to add support for tabs and DBus. Although the rewrite added
+      a lot of new features, it is still as fast as the Leafpad based fork and therefore fits perfectly
+      in the Xfce philosophy.
+    </para>
+  </sect1>
+
+  <sect1 id="the-mousepad-window">
+    <title>The Mousepad Window</title>
+
+    <para>
+    </para>
+
+    <sect2 id="editing-multiple-documents">
+      <title>Editing Multiple Documents</title>
+
+      <para>
+        By defaul the window hides the tab labels unless more then one document has been opened. If you have
+        more then one document opened, you can switch between then by clicking on the tab, use the
+        <guimenuitem>go</guimenuitem> menu or press the key combination <keycap>Alt</keycap> with the tab number.
+      </para>
+
+      <para>
+        When you have multiple files opened in one window, you detach a document by choosing
+        <menuchoice><guimenu>File</guimenu><guimenuitem>Detach Tab</guimenuitem></menuchoice> or press
+        <keycombo><keycap>Ctrl</keycap><keycap>D</keycap></keycombo>. When Mousepad is compiled with Gtk+ 2.12,
+        it is also possible to drag a tab and drop it on another location on the screen.
+      </para>
+    </sect2>
+  </sect1>
+</article>
+<!--
+	vim:set ts=2 sw=2 et ai encoding=UTF-8:
+-->
diff --git a/docs/manual/C/images/Makefile.am b/docs/manual/C/images/Makefile.am
new file mode 100644
index 0000000..0a63e5f
--- /dev/null
+++ b/docs/manual/C/images/Makefile.am
@@ -0,0 +1,9 @@
+# $Id$
+
+imagesdir = $(datadir)/doc/Mousepad/html/C/images
+images_DATA =
+
+EXTRA_DIST = 								\
+	$(images_DATA)
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
new file mode 100644
index 0000000..d0ae330
--- /dev/null
+++ b/docs/manual/Makefile.am
@@ -0,0 +1,14 @@
+# $Id$
+
+SUBDIRS =								\
+	C
+
+cssdir = $(datadir)/doc/Mousepad/html
+css_DATA =							        \
+	mousepad.css
+
+EXTRA_DIST = 						                \
+	$(css_DATA)						        \
+	mousepad.xsl
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/docs/manual/mousepad.css b/docs/manual/mousepad.css
new file mode 100644
index 0000000..de1ed89
--- /dev/null
+++ b/docs/manual/mousepad.css
@@ -0,0 +1,99 @@
+body address
+{
+  line-height: 1.3;
+  margin: .6em 0;
+}
+
+body blockquote
+{
+  margin-top: .75em;
+  line-height: 1.5;
+  margin-bottom: .75em;
+}
+
+html body
+{
+  margin: 1em 8% 1em 10%;
+  line-height: 1.2;
+  background-color: #ffffff;
+}
+
+body pre
+{
+  margin: .75em 0;
+  line-height: 1.3;
+  color: #4f3f3f;
+  font-weight: bold;
+}
+
+body div
+{
+  margin: 0;
+}
+
+dl
+{
+  margin: .8em 0;
+  line-height: 1.2;
+}
+
+.legalnotice
+{
+  font-size: small;
+  font-variant: small-caps;
+}
+
+h1,h2,h3,h4,h5,h6,
+div.example p b,
+.question,
+div.table p b,
+div.procedure p b
+{
+  color: #990000;
+}
+
+.option
+{
+  color: #0000ca;
+  font-weight: bold;
+}
+
+.parameter
+{
+  color: #007a00;
+  font-weight: bold;
+}
+
+a
+{
+  color: #000000;
+}
+
+a:hover
+{
+  color: #3c3c3c;
+  border-bottom: 1px dotted #dc0000;
+}
+
+hr
+{
+  background-color: #9c9c9c;
+  border-style: none;
+  height: 1px;
+}
+
+ul li
+{
+  list-style-type: square;
+}
+
+.programlisting, .screen
+{
+  background-color: #F8F9FD;
+  border-color: #907777;
+  border-width: 1px;
+  border-style: solid;
+  padding: 0.5em;
+}
+
+/* vim:set ts=2 sw=2 et ai: */
diff --git a/docs/manual/mousepad.xsl b/docs/manual/mousepad.xsl
new file mode 100644
index 0000000..229d192
--- /dev/null
+++ b/docs/manual/mousepad.xsl
@@ -0,0 +1,254 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                exclude-result-prefixes="#default">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
+
+<!-- Use stylesheet -->
+<xsl:param name="html.stylesheet" select="'../mousepad.css'"/>
+
+<!-- labels and numbering -->
+<xsl:param name="autotoc.label.separator" select="'. '"/>
+<xsl:param name="chapter.autolabel" select="1"/>
+
+<!-- Don't force the use of index.html as root filename -->
+<xsl:param name="root.filename" select="''"/>
+
+<!--  Use element id (if present) as file name  -->
+<xsl:variable name="use.id.as.filename">1</xsl:variable>
+
+<xsl:template match="releaseinfo" mode="titlepage.mode">
+  <span class="{name(.)}">
+    <br/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<!-- Use graphics in admonitions (note, warning, etc)  -->
+<xsl:variable name="admon.graphics">0</xsl:variable>
+
+<xsl:param name="admon.style">
+	<xsl:text>text-align: left;</xsl:text></xsl:param>
+
+<xsl:variable name="admon.graphics.path">stylesheet-images/</xsl:variable>
+
+<xsl:variable name="admon.graphics.extension">.gif</xsl:variable>
+
+<xsl:param name="table.border.thickness" select="'0.2pt'"/>
+
+<xsl:param name="graphic.default.extension" select="png"/>
+
+<!-- This requires an adapted template for tgroup (see end of stylesheet) -->
+<xsl:attribute-set name="table.style">
+	<xsl:attribute name="bgcolor">#fdf9f8</xsl:attribute>
+	<xsl:attribute name="cellspacing">0</xsl:attribute>
+	<xsl:attribute name="cellpadding">4</xsl:attribute>
+</xsl:attribute-set>
+
+
+<xsl:param name="generate.legalnotice.link" select="0"/>
+
+<!-- set font styles for various tags   -->
+<xsl:template match="guibutton">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="guiicon">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="guilabel">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="guimenu">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="guimenuitem">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="guisubmenu">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="application">
+<xsl:call-template name="inline.boldmonoseq"/>
+</xsl:template>
+
+<xsl:template match="caption">
+<xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<!-- Adapted template for tgroup. The only change is the addition of -->
+<!-- table.style attributes -->
+<xsl:template match="tgroup">
+  <table xsl:use-attribute-sets="table.style">
+    <xsl:choose>
+      <!-- If there's a <?dbhtml table-summary="foo"?> PI, use it for
+           the HTML table summary attribute -->
+      <xsl:when test="processing-instruction('dbhtml')">
+        <xsl:variable name="summary">
+          <xsl:call-template name="dbhtml-attribute">
+            <xsl:with-param name="pis"
+                            select="processing-instruction('dbhtml')[1]"/>
+            <xsl:with-param name="attribute" select="'table-summary'"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:if test="$summary != ''">
+          <xsl:attribute name="summary">
+            <xsl:value-of select="$summary"/>
+          </xsl:attribute>
+        </xsl:if>
+      </xsl:when>
+      <!-- Otherwise, if there's a title, use that -->
+      <xsl:when test="../title">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="string(../title)"/>
+        </xsl:attribute>
+      </xsl:when>
+      <!-- Otherwise, forget the whole idea -->
+      <xsl:otherwise><!-- nevermind --></xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="../@pgwide=1">
+      <xsl:attribute name="width">100%</xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="../@frame='none'">
+        <xsl:attribute name="border">0</xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$table.borders.with.css != 0">
+        <xsl:attribute name="border">0</xsl:attribute>
+        <xsl:choose>
+          <xsl:when test="../@frame='topbot' or ../@frame='top'">
+            <xsl:attribute name="style">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='sides'">
+            <xsl:attribute name="style">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'left'"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="border">1</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="colgroup">
+      <colgroup>
+        <xsl:call-template name="generate.colgroup">
+          <xsl:with-param name="cols" select="@cols"/>
+        </xsl:call-template>
+      </colgroup>
+    </xsl:variable>
+
+    <xsl:variable name="explicit.table.width">
+      <xsl:call-template name="dbhtml-attribute">
+        <xsl:with-param name="pis"
+                        select="../processing-instruction('dbhtml')[1]"/>
+        <xsl:with-param name="attribute" select="'table-width'"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="table.width">
+      <xsl:choose>
+        <xsl:when test="$explicit.table.width != ''">
+          <xsl:value-of select="$explicit.table.width"/>
+        </xsl:when>
+        <xsl:when test="$default.table.width = ''">
+          <xsl:text>100%</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$default.table.width"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:if test="$default.table.width != ''
+                  or $explicit.table.width != ''">
+      <xsl:attribute name="width">
+        <xsl:choose>
+          <xsl:when test="contains($table.width, '%')">
+            <xsl:value-of select="$table.width"/>
+          </xsl:when>
+          <xsl:when test="$use.extensions != 0
+                          and $tablecolumns.extension != 0">
+            <xsl:choose>
+              <xsl:when test="function-available('stbl:convertLength')">
+                <xsl:value-of select="stbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:when test="function-available('xtbl:convertLength')">
+                <xsl:value-of select="xtbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:message terminate="yes">
+                  <xsl:text>No convertLength function available.</xsl:text>
+                </xsl:message>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$table.width"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0
+                      and $tablecolumns.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('stbl:adjustColumnWidths')">
+            <xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:when test="function-available('xtbl:adjustColumnWidths')">
+            <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>No adjustColumnWidths function available.</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$colgroup"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select="thead"/>
+    <xsl:apply-templates select="tbody"/>
+    <xsl:apply-templates select="tfoot"/>
+
+    <xsl:if test=".//footnote">
+      <tbody class="footnotes">
+        <tr>
+          <td colspan="{@cols}">
+            <xsl:apply-templates select=".//footnote"
+                                 mode="table.footnote.mode"/>
+          </td>
+        </tr>
+      </tbody>
+    </xsl:if>
+  </table>
+</xsl:template>
+
+
+</xsl:stylesheet>
+
diff --git a/mousepad/Makefile.am b/mousepad/Makefile.am
index 141d88b..7e97461 100644
--- a/mousepad/Makefile.am
+++ b/mousepad/Makefile.am
@@ -88,14 +88,6 @@ mousepad_LDADD +=								\
 	$(DBUS_LIBS)
 endif
 
-if HAVE_GTK_UNIX_PRINT
-mousepad_CFLAGS +=								\
-	$(GTK_UNIX_PRINT_CFLAGS)
-
-mousepad_LDADD +=								\
-	$(GTK_UNIX_PRINT_LIBS)
-endif
-
 if MAINTAINER_MODE
 CLEANFILES =									\
 	xgen-mmc								\


More information about the Xfce4-commits mailing list