[Xfce4-commits] <mousepad:master> Remove docs and cleanup a bit.

Nick Schermer noreply at xfce.org
Sun Dec 30 11:58:02 CET 2012


Updating branch refs/heads/master
         to f363acf7d7211a0b4d7bb6b8c18c7d6597ba6b85 (commit)
       from 084e1ecac5b111aec765fbefc77616fb116eb7cc (commit)

commit f363acf7d7211a0b4d7bb6b8c18c7d6597ba6b85
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 30 11:46:29 2012 +0100

    Remove docs and cleanup a bit.

 AUTHORS                                     |    6 +
 AUTHORS-pre-0.3.0                           |    3 -
 ChangeLog-pre-0.3.0                         |   54 ---
 Makefile.am                                 |   11 +-
 MousepadHelp.in                             |   29 +--
 configure.ac.in                             |   17 -
 docs/Makefile.am                            |    4 -
 docs/manual/C/Makefile.am                   |   66 ----
 docs/manual/C/Mousepad.xml.in               |  478 ---------------------------
 docs/manual/C/images/Makefile.am            |   15 -
 docs/manual/C/images/find-and-replace.png   |  Bin 20777 -> 0 bytes
 docs/manual/C/images/go-to.png              |  Bin 9507 -> 0 bytes
 docs/manual/C/images/main-window.png        |  Bin 13955 -> 0 bytes
 docs/manual/C/images/other-tab-size.png     |  Bin 8168 -> 0 bytes
 docs/manual/C/images/paste-from-history.png |  Bin 9495 -> 0 bytes
 docs/manual/C/images/tab-size-menu.png      |  Bin 9130 -> 0 bytes
 docs/manual/C/images/typeahead-search.png   |  Bin 6724 -> 0 bytes
 docs/manual/Makefile.am                     |   12 -
 docs/manual/mousepad.css                    |   99 ------
 docs/manual/mousepad.xsl                    |  254 --------------
 20 files changed, 10 insertions(+), 1038 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index fefc28d..1c9c987 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -2,3 +2,9 @@ Erik Harrison <erikharrison at xfce.org>
 Nick Schermer <nick at xfce.org>
 Benedikt Meurer <benny at xfce.org>
 Matthew Brush <matt at xfce.org>
+
+Authors of the 0.2 and earlier releases
+=======================================
+Erik Harrison <erikharrison at xfce.org>
+Benedikt Meurer <benny at xfce.org>
+Tarot Osuji <tarot at sdf.lonestar.org>
diff --git a/AUTHORS-pre-0.3.0 b/AUTHORS-pre-0.3.0
deleted file mode 100644
index 1c0188e..0000000
--- a/AUTHORS-pre-0.3.0
+++ /dev/null
@@ -1,3 +0,0 @@
-Erik Harrison <erikharrison at xfce.org>
-Benedikt Meurer <benny at xfce.org>
-Tarot Osuji <tarot at sdf.lonestar.org>
diff --git a/ChangeLog-pre-0.3.0 b/ChangeLog-pre-0.3.0
deleted file mode 100644
index 001d89b..0000000
--- a/ChangeLog-pre-0.3.0
+++ /dev/null
@@ -1,54 +0,0 @@
-2009-02-26  Jannis Pohlmann <jannis at xfce.org>
-
-	* == Released 0.2.16 ==
-	* NEWS, configure.in.in: Bump version.
-	* src/menu.c, NEWS: Sort items by most recently used.
-
-2008-02-13  Nick Schermer <nick at xfce.org>
-
-	* src/menu.c, NEWS: Sort items by most recently used.
-
-2007-01-20	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-
-2007-01-20	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.2.12 ===
-	* NEWS, configure.in.in: Bump version.
-	* po/*.po: Update Project-Id-Version.
-
-2007-01-15	Erik Harrison <erikharrison at xfce.org>
-
-	* src/: Moving undo system changes from local tree to Xfce svn, and
-	  resuming work there.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* AUTHORS, src/callback.{c,h}, src/file.c, src/menu.c: Merge the
-	  support for the new recently-used database, using the GtkRecent
-	  functionality, available in GTK+ 2.10 and later, instead of the
-	  planned libfrap module.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* src/selector.c(create_file_chooser): Apply patch from Nick Schermer
-	  <nick at xfce.org> to set default response in the open/save file dialogs
-	  so hitting enter opens/saves the file. Bug #2249.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-	* src/window.c: Add root warning. Bug #2245.
-	* po/mousepad.pot, po/*.po: Merge new strings.
-	* po/de.po: Updated german translations.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.2.10 ===
-	* NEWS, configure.in.in: Bump version.
-	* po/*.po: Update Project-Id-Version.
-	* README, NEWS: Place news for Leafpad users as "Switching from
-	  Leafpad" into the README file.
-
-# vi:set ts=8 sw=8 noet ai nocindent:
diff --git a/Makefile.am b/Makefile.am
index 25a1d67..e9a885a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,15 +1,13 @@
 SUBDIRS =									\
 	icons									\
 	mousepad                                                        	\
-	po                                                                      \
-	docs
+	po
 
 distclean-local:
 	rm -rf *.spec *.cache *~
 
-rpm: dist
-	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
-	@rm -f $(PACKAGE)-$(VERSION).tar.gz
+distuninstallcheck_listfiles = 						\ 
+	find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache
 
 mousepad_scriptsdir = $(libdir)/xfce4/mousepad
 mousepad_scripts_SCRIPTS =							\
@@ -57,7 +55,4 @@ DISTCLEANFILES =								\
 	$(desktop_in_files)							\
 	$(desktop_DATA)
 
-DISTCHECK_CONFIGURE_FLAGS =							\
-	--enable-xsltproc
-
 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/MousepadHelp.in b/MousepadHelp.in
index bde651f..c6322f5 100644
--- a/MousepadHelp.in
+++ b/MousepadHelp.in
@@ -18,36 +18,9 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 
-HELPDIR="@datadir@/doc/Mousepad/html"
 APPLICATIONS="exo-open firefox epiphany opera galeon mozilla konqueror dillo"
 
-# try to find a language
-if test -n "$LC_ALL"; then
-  LC=$LC_ALL
-elif test -n "$LANG"; then
-  LC=$LANG
-else
-  LC="C"
-fi
-
-# set the document or use index.html
-if test -n "$1"; then
-  HELPFILE="$1.html"
-else
-  HELPFILE="index.html"
-fi
-
-# test if the file exists, fallback on the C language or the C/index.html file
-if test -r "$HELPDIR/$LC/$HELPFILE"; then
-  URL="file://$HELPDIR/$LC/$HELPFILE"
-elif test -r "$HELPDIR/`echo $LC | sed 's/\(..\)_.*/\1/'`/$HELPFILE"; then
-  URL="file://$HELPDIR/`echo $LC | sed 's/\(..\)_.*/\1/'`/$HELPFILE"
-else
-  URL="file://$HELPDIR/C/index.html"
-fi
-
-# jump to a section if provided
-[ -n "$2" ] && URL="$URL#$2"
+URL="http://docs.xfce.org"
 
 # find a suitable browser to launch if no BROWSER variable is set
 if [ "x$BROWSER" = "x" ]; then
diff --git a/configure.ac.in b/configure.ac.in
index 228515a..29b72e8 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -91,18 +91,6 @@ dnl **********************************
 XDT_CHECK_OPTIONAL_PACKAGE([DBUS], [dbus-glib-1],
                            [0.34], [dbus], [D-BUS support])
 
-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 ***
 dnl ***********************************
@@ -128,11 +116,6 @@ 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
diff --git a/docs/Makefile.am b/docs/Makefile.am
deleted file mode 100644
index 7511289..0000000
--- a/docs/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-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
deleted file mode 100644
index 06db614..0000000
--- a/docs/manual/C/Makefile.am
+++ /dev/null
@@ -1,66 +0,0 @@
-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
deleted file mode 100644
index fcd6ce3..0000000
--- a/docs/manual/C/Mousepad.xml.in
+++ /dev/null
@@ -1,478 +0,0 @@
-<?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">
-
-  <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="preface">
-    <title>Preface</title>
-
-    <sect2 id="introduction">
-      <title>Introduction</title>
-
-      <para>
-        &application; 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 &application; 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>
-        &application; 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>
-    </sect2>
-
-    <sect2 id="terminology">
-      <title>Terminology</title>
-
-      <para>
-        There might be a couple of words in this manual that could be the source of
-        misunderstanding. The table below will clarify those words.
-      </para>
-
-      <table frame="all">
-        <title>Terminology</title>
-        <tgroup cols='2'>
-          <thead>
-            <row>
-              <entry>Term</entry>
-              <entry>Explanation</entry>
-            </row>
-          </thead>
-          <tbody>
-            <row>
-              <entry>Caret</entry>
-              <entry>The text insertion point.</entry>
-            </row>
-            <row>
-              <entry>Cursor</entry>
-              <entry>Mouse pointer.</entry>
-            </row>
-            <row>
-              <entry>Document</entry>
-              <entry>A file loaded in &application;.</entry>
-            </row>
-          </tbody>
-        </tgroup>
-      </table>
-    </sect2>
-  </sect1>
-
-  <sect1 id="working-with-text">
-    <title>Working With Text</title>
-
-    <sect2 id="keyboard-shortcuts">
-      <title>Keyboard Shortcuts</title>
-    </sect2>
-
-    <sect2 id="undo-and-redo">
-      <title>Undo and Redo</title>
-
-      <para>
-
-      </para>
-    </sect2>
-
-    <sect2 id="copy-and-paste">
-      <title>Copy and Paste</title>
-
-      <para>
-        &application; supports both the selection and primary clipboard. To paste
-        something from the seletion clipboard you can click with the middle mouse
-        button in the &application; window.
-      </para>
-
-      <para>
-        The primary clipboard can be accessed by the <guimenuitem>Cut</guimenuitem>,
-        <guimenuitem>Copy</guimenuitem> and <guimenuitem>Paste</guimenuitem> menu
-        items in the <guimenu>Edit</guimenu> menu. The keyboard shortcuts mentioned
-        above also work.
-      </para>
-
-      <sect3 id="paste-from-history">
-        <title>Paste from History</title>
-
-        <screenshot>
-          <mediaobject>
-            <imageobject>
-              <imagedata fileref="images/paste-from-history.png" format="PNG"/>
-            </imageobject>
-
-            <textobject>
-              <phrase>Paste from History</phrase>
-            </textobject>
-
-            <caption>
-              <para>Screenshot of the history menu</para>
-            </caption>
-          </mediaobject>
-        </screenshot>
-
-        <para>
-          Each time you copy text in &application;, the text is pushed onto a stack.
-          When you choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Paste Special
-          </guimenuitem><guimenuitem>Paste from History</guimenuitem></menuchoice> a
-          menu will appear below the carret with the last 10 clipboard items.
-        </para>
-
-        <para>
-          You can choose an item from the list by clicking it, using the arrow keys
-          and press enter or by pressing the numeric keyboard accelerator.
-        </para>
-      </sect3>
-
-      <sect3 id="paste-as-column">
-        <title>Paste as Column</title>
-
-        <para>
-          When the content in the primary clipboard contains multiple lines, you can paste
-          the content in the same column. &application; will then try  to paste each line
-          in the clipboard at the same x-coordinate. You can access this option by
-          choosing <menuchoice><guimenu>Edit</guimenu><guimenuitem>Paste Special
-          </guimenuitem><guimenuitem>Paste as Column</guimenuitem></menuchoice>.
-        </para>
-      </sect3>
-    </sect2>
-
-    <sect2 id="auto-indent">
-      <title>Auto Indent</title>
-
-    </sect2>
-
-    <sect2 id="selections">
-      <title>Selecting Text</title>
-
-      <sect3 id="multi-and-column-selections">
-        <title>Column-Selections</title>
-      </sect3>
-
-      <sect3 id="indentation">
-        <title>Indentation</title>
-      </sect3>
-
-      <sect3 id="moving-selections">
-        <title>Moving Selections</title>
-      </sect3>
-    </sect2>
-
-    <sect2 id="search-and-replace">
-      <title>Search And Replace</title>
-
-      <sect3 id="typeahead-search">
-        <title>Typeahead Search</title>
-
-        <screenshot>
-          <mediaobject>
-            <imageobject>
-              <imagedata fileref="images/typeahead-search.png" format="PNG"/>
-            </imageobject>
-
-            <textobject>
-              <phrase>Typeahead search bar</phrase>
-            </textobject>
-
-            <caption>
-              <para>Screenshot of the typeahead search bar</para>
-            </caption>
-          </mediaobject>
-        </screenshot>
-      </sect3>
-
-      <sect3 id="replace-dialog">
-        <title>Search and Replace Dialog</title>
-
-        <screenshot>
-          <mediaobject>
-            <imageobject>
-              <imagedata fileref="images/find-and-replace.png" format="PNG"/>
-            </imageobject>
-
-            <textobject>
-              <phrase>Find and Replace Dialog</phrase>
-            </textobject>
-
-            <caption>
-              <para>Screenshot of the find and replace dialog</para>
-            </caption>
-          </mediaobject>
-        </screenshot>
-      </sect3>
-    </sect2>
-
-    <sect2 id="tabs">
-      <title>Tabs</title>
-
-        <screenshot>
-          <mediaobject>
-            <imageobject>
-              <imagedata fileref="images/tab-size-menu.png" format="PNG"/>
-            </imageobject>
-
-            <textobject>
-              <phrase>Tab Size menu</phrase>
-            </textobject>
-
-            <caption>
-              <para>Screenshot of the tabs size menu</para>
-            </caption>
-          </mediaobject>
-        </screenshot>
-
-        <screenshot>
-          <mediaobject>
-            <imageobject>
-              <imagedata fileref="images/other-tab-size.png" format="PNG"/>
-            </imageobject>
-
-            <textobject>
-              <phrase>Other tab size</phrase>
-            </textobject>
-
-            <caption>
-              <para>Screenshot of the other tab size dialog</para>
-            </caption>
-          </mediaobject>
-        </screenshot>
-
-      <sect3 id="insert-spaces">
-        <title>Insert Spaces</title>
-      </sect3>
-    </sect2>
-
-    <sect2 id="transpose">
-      <title>Transpose</title>
-    </sect2>
-
-    <sect2 id="printing">
-      <title>Printing</title>
-    </sect2>
-  </sect1>
-
-  <sect1 id="faq">
-    <title>Frequently Asked Questions</title>
-
-    <para>
-      The intent of this section is to collect the quite numerous frequently asked
-      questions that relate to working with &application;. If you know of a question that
-      is missing from this page, please <ulink type="http"
-      url="http://bugzilla.xfce.org/enter_bug.cgi?product=Mousepad&format=guided">
-      file a request</ulink>.
-    </para>
-
-    <sect3 id="faq-hidden-settings">
-      <title>Does &application; has hidden settings?</title>
-
-      <para>
-        Yes, some of the settings in the mousepadrc file are not configurable from
-        the interface and can only be modified by hand. To find the mousepadrc file
-        see <xref linkend="faq-mousepadrc" />. It is not recommended to change the
-        rc file using &application;, since it might be overwritten when you
-        close the window after editing. You must also restart &application; to
-        apply the settings. The hidden settings, starting with <varname>Misc</varname>,
-        are explained in the list below:
-      </para>
-
-      <variablelist>
-        <varlistentry>
-          <term><varname>MiscAlwaysShowTabs</varname></term>
-          <listitem>
-            <para>
-              If <literal>TRUE</literal> the tab headers will always be displayed even if only a single
-              document tab is open. This option is useful if you want to drag-and-drop the last tab to
-              another window. See <xref linkend="ordering-documents" />.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term><varname>MiscCycleTabs</varname></term>
-          <listitem>
-            <para>
-              This option controls whether you can circulate through document tabs. That is, whether
-              you are able to go from the last tab to the first tab using the <menuchoice>
-              <guimenu>Navigation</guimenu><guimenuitem>Forward</guimenuitem></menuchoice> entry
-              (or the associated keyboard shortcut), and from the first tab to the last tab using the
-              <menuchoice><guimenu>Navigation</guimenu><guimenuitem>Back</guimenuitem></menuchoice> entry.
-              The option can be either <literal>TRUE</literal> or <literal>FALSE</literal> (default).
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term><varname>MiscPathInTitle</varname></term>
-          <listitem>
-            <para>
-              This option controls whether the full document path is displayed in the window title.
-              By default, <literal>FALSE</literal>, only the filename is shown. The option can be either
-              <literal>TRUE</literal> or <literal>FALSE</literal>.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term><varname>MiscRecentMenuItems</varname></term>
-          <listitem>
-            <para>
-              This option controls the maximum number of items shown in the
-              <menuchoice><guimenu>File</guimenu><guimenuitem>Open Recent</guimenuitem>
-              </menuchoice> menu. When you set the value to <literal>0</literal>, so
-              entire menu will be hidden. The integer can be in a range of <literal>0</literal>
-              ..<literal>4096</literal>.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term><varname>MiscRememberGeometry</varname></term>
-          <listitem>
-            <para>
-              Whether &application; should remember the size of windows and apply that size to
-              new windows. If <literal>TRUE</literal> (default) the width and height are saved
-              to <varname>WindowWidth</varname> and <varname>WindowHeight</varname>. If
-              <literal>FALSE</literal> the user may specify the start size in
-              <varname>WindowWidth</varname> and <varname>WindowHeight</varname>.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term><varname>MiscDefaultTabSizes</varname></term>
-          <listitem>
-            <para>
-              This is the default list of tab sizes displayed in the <menuchoice>
-              <guimenu>Document</guimenu><guimenuitem>Tab Size</guimenuitem></menuchoice>
-              menu. Each size must be in a range of <literal>1</literal>..<literal>32</literal>.
-              By defaul the value is <literal>2,3,4,8</literal>.
-            </para>
-          </listitem>
-        </varlistentry>
-      </variablelist>
-    </sect3>
-
-    <sect3 id="faq-mousepadrc">
-      <title>Where does &application; store its preferences?</title>
-
-      <para>
-        &application; stores the user configurable preferences (and hidden settings) in
-        an <filename>.ini</filename> file, which is located at
-        <filename>$XDG_CONFIG_HOME/&application;/mousepadrc</filename>. If you make changes
-        to this file, make sure you restart &application;. It's also not recommended to
-        use &application; to edito this file, since it might overwrite it after you've
-        changed the file.
-      </para>
-    </sect3>
-
-    <sect3 id="faq-assign-keyboard-shortcuts">
-      <title>How do I assign different keyboard shortcuts?</title>
-
-      <para>
-        If you want to rebind a shortcut, &application; supports the standard GTK+ way
-        of changing shortcuts: simply hover over the menu option with the mouse
-        pointer and press the keyboard shortcut you want to rebind it to.
-      </para>
-
-      <para>
-        To delete a keyboard assignment, press the <keycap>Backspace</keycap> key
-        while you are on the menu entry.
-      </para>
-
-      <para>
-        If the shortcut doesn't change, then you need to enable the feature in
-        GTK+. This can be achieved in 3 ways:
-      </para>
-
-      <itemizedlist>
-        <listitem>
-          <para>
-            If you are running Xfce 4.3 or above then you can enable <guilabel>Editable
-            menu accelerators</guilabel> in the <guilabel>User Interface Preferences</guilabel>
-            dialog.
-          </para>
-        </listitem>
-
-        <listitem>
-          <para>
-            If you are running GNOME then you can enable <guilabel>Editable menu
-            accelerators</guilabel> in the <guilabel>Menu and Toolbars</guilabel> control
-            center dialog.
-          </para>
-        </listitem>
-
-        <listitem>
-          <para>
-            Otherwise put the following in your <filename>~/.gtkrc-2.0</filename> file
-            (create the file if it doesn't exist):<screen>gtk-can-change-accels=1</screen>
-          </para>
-        </listitem>
-      </itemizedlist>
-    </sect3>
-
-    <sect3 id="faq-store-keyboard-shortcuts">
-      <title>Where does &application; store the keyboard shortcuts?</title>
-
-      <para>
-        The custom keyboard shortcuts are stored in the standard GTK+ accel map format in a
-        file located at <filename>$XDG_CONFIG_HOME/&application;/accels.scm</filename>. Lines starting
-        with <literal>;</literal> are comments. See the GTK+ documentation for details about the
-        file format.
-      </para>
-
-      <para>
-        If you are a packager or a system administrator and want to provide a system wide default
-        for the keyboard shortcuts, that is different from the default shortcuts in &application;, you
-        can create a file <filename>&application;/accels.scm</filename> in one of the <envar>$XDG_CONFIG_DIRS</envar>.
-        For example, if <filename role="directory">/etc/xdg</filename> is part of <envar>$XDG_CONFIG_DIRS</envar>
-        (the default for most Linux distributions), you can install system wide defaults to
-        <filename>/etc/xdg/&application;/accels.scm</filename>. &application; will then load shortcuts from
-        this file on first startup.
-      </para>
-    </sect3>
-  </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
deleted file mode 100644
index c329f2b..0000000
--- a/docs/manual/C/images/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-imagesdir = $(datadir)/doc/Mousepad/html/C/images
-images_DATA =								\
-	find-and-replace.png						\
-	go-to.png							\
-	main-window.png							\
-	Makefile.am							\
-	other-tab-size.png						\
-	paste-from-history.png						\
-	tab-size-menu.png						\
-	typeahead-search.png
-
-EXTRA_DIST = 								\
-	$(images_DATA)
-
-# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
diff --git a/docs/manual/C/images/find-and-replace.png b/docs/manual/C/images/find-and-replace.png
deleted file mode 100644
index 9e8648a..0000000
Binary files a/docs/manual/C/images/find-and-replace.png and /dev/null differ
diff --git a/docs/manual/C/images/go-to.png b/docs/manual/C/images/go-to.png
deleted file mode 100644
index 4fe1d3c..0000000
Binary files a/docs/manual/C/images/go-to.png and /dev/null differ
diff --git a/docs/manual/C/images/main-window.png b/docs/manual/C/images/main-window.png
deleted file mode 100644
index 2ac0a27..0000000
Binary files a/docs/manual/C/images/main-window.png and /dev/null differ
diff --git a/docs/manual/C/images/other-tab-size.png b/docs/manual/C/images/other-tab-size.png
deleted file mode 100644
index 651d095..0000000
Binary files a/docs/manual/C/images/other-tab-size.png and /dev/null differ
diff --git a/docs/manual/C/images/paste-from-history.png b/docs/manual/C/images/paste-from-history.png
deleted file mode 100644
index dd2d757..0000000
Binary files a/docs/manual/C/images/paste-from-history.png and /dev/null differ
diff --git a/docs/manual/C/images/tab-size-menu.png b/docs/manual/C/images/tab-size-menu.png
deleted file mode 100644
index 942063c..0000000
Binary files a/docs/manual/C/images/tab-size-menu.png and /dev/null differ
diff --git a/docs/manual/C/images/typeahead-search.png b/docs/manual/C/images/typeahead-search.png
deleted file mode 100644
index 2fc6664..0000000
Binary files a/docs/manual/C/images/typeahead-search.png and /dev/null differ
diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
deleted file mode 100644
index 817eaa6..0000000
--- a/docs/manual/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-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
deleted file mode 100644
index de1ed89..0000000
--- a/docs/manual/mousepad.css
+++ /dev/null
@@ -1,99 +0,0 @@
-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
deleted file mode 100644
index 229d192..0000000
--- a/docs/manual/mousepad.xsl
+++ /dev/null
@@ -1,254 +0,0 @@
-<?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>
-


More information about the Xfce4-commits mailing list