summaryrefslogtreecommitdiff
path: root/help/C
diff options
context:
space:
mode:
Diffstat (limited to 'help/C')
-rw-r--r--help/C/.cvsignore4
-rw-r--r--help/C/calendar.page1
-rw-r--r--help/C/color-selection.page1
-rw-r--r--help/C/entry.page1
-rw-r--r--help/C/error.page1
-rw-r--r--help/C/file-selection.page1
-rw-r--r--help/C/forms.page1
-rw-r--r--help/C/index.page2
-rw-r--r--help/C/info.page1
-rw-r--r--help/C/intro.page1
-rwxr-xr-xhelp/C/l10n.txt88
-rwxr-xr-xhelp/C/l10n_scripts/calendar.sh10
-rwxr-xr-xhelp/C/l10n_scripts/cvs.txt51
-rwxr-xr-xhelp/C/l10n_scripts/error.sh4
-rwxr-xr-xhelp/C/l10n_scripts/filesel.sh13
-rwxr-xr-xhelp/C/l10n_scripts/info.sh4
-rwxr-xr-xhelp/C/l10n_scripts/list.sh8
-rwxr-xr-xhelp/C/l10n_scripts/notification.sh5
-rwxr-xr-xhelp/C/l10n_scripts/progress.sh18
-rwxr-xr-xhelp/C/l10n_scripts/question.sh4
-rwxr-xr-xhelp/C/l10n_scripts/text_entry.sh11
-rwxr-xr-xhelp/C/l10n_scripts/text_info.sh17
-rwxr-xr-xhelp/C/l10n_scripts/warning.sh4
-rw-r--r--help/C/legal.xml53
-rw-r--r--help/C/list.page1
-rw-r--r--help/C/message.page1
-rw-r--r--help/C/notification.page1
-rw-r--r--help/C/password.page1
-rw-r--r--help/C/progress.page1
-rw-r--r--help/C/question.page1
-rw-r--r--help/C/scale.page1
-rw-r--r--help/C/text.page1
-rw-r--r--help/C/usage.page1
-rw-r--r--help/C/warning.page1
34 files changed, 289 insertions, 25 deletions
diff --git a/help/C/.cvsignore b/help/C/.cvsignore
new file mode 100644
index 00000000..66e859f9
--- /dev/null
+++ b/help/C/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+omf_timestamp
+zenity-C.omf.out
diff --git a/help/C/calendar.page b/help/C/calendar.page
index 1c0a8d46..22b8bfa8 100644
--- a/help/C/calendar.page
+++ b/help/C/calendar.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--calendar</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Calendar Dialog</title>
<p>
diff --git a/help/C/color-selection.page b/help/C/color-selection.page
index 6bb7f3df..6a3bd28d 100644
--- a/help/C/color-selection.page
+++ b/help/C/color-selection.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--color-selection</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Color Selection Dialog</title>
<p>
diff --git a/help/C/entry.page b/help/C/entry.page
index 03b2db6e..baa6924a 100644
--- a/help/C/entry.page
+++ b/help/C/entry.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--entry</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Text Entry Dialog</title>
<p>
diff --git a/help/C/error.page b/help/C/error.page
index 4d15ae8f..78c6315c 100644
--- a/help/C/error.page
+++ b/help/C/error.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="message"/>
<desc>Use the <cmd>--error</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Error Dialog</title>
<p>
diff --git a/help/C/file-selection.page b/help/C/file-selection.page
index 9687d8f7..ed1a4bba 100644
--- a/help/C/file-selection.page
+++ b/help/C/file-selection.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--file-selection</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>File Selection Dialog</title>
<p>
diff --git a/help/C/forms.page b/help/C/forms.page
index a3d529c1..2b8ac540 100644
--- a/help/C/forms.page
+++ b/help/C/forms.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--forms</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Forms Dialog</title>
<p>
diff --git a/help/C/index.page b/help/C/index.page
index 50e5d7e5..b407c649 100644
--- a/help/C/index.page
+++ b/help/C/index.page
@@ -16,9 +16,11 @@
<name>Yasumichi Akahoshi</name>
<email>yasumichi@vinelinux.org</email>
</credit>
+<!--
<license>
<p>GNU Free Documentation License (GFDL)</p>
</license>
+-->
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Zenity Manual</title>
diff --git a/help/C/info.page b/help/C/info.page
index 8e8c8d5f..84d4cc0b 100644
--- a/help/C/info.page
+++ b/help/C/info.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="message"/>
<desc>Use the <cmd>--info</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Info Dialog</title>
<p>
diff --git a/help/C/intro.page b/help/C/intro.page
index e6f279be..da022d4d 100644
--- a/help/C/intro.page
+++ b/help/C/intro.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index"/>
<desc><app>Zenity</app> enables you to create the various types of simple dialog.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Introduction</title>
<p>
diff --git a/help/C/l10n.txt b/help/C/l10n.txt
new file mode 100755
index 00000000..f03a73fe
--- /dev/null
+++ b/help/C/l10n.txt
@@ -0,0 +1,88 @@
+Zenity Manual V2.0
+
+------------------------
+SUMMARY OF CHANGES
+------------------------
+
+Created by: Breda McColgan
+Date: July 2004
+Manual version: 2.0
+
+------------------------
+SCREENSHOT INSTRUCTIONS
+------------------------
+
+To create the screenshots, perform the following steps:
+1. Create a directory called /tmp/l10n_scripts.
+2. Copy the scripts to the /tmp/l10n_scripts directory.
+3. Edit the appropriate script (see below)
+ to replace the English text with the localised text, where applicable.
+4. Ensure that all scripts are executable.
+ If necessary, run the following command:
+ chmod +x <script-name>
+5. Run the script from the /tmp/l10n_scripts directory, as follows:
+ cd /tmp/l10n_scripts
+ . ./<script-name>
+
+
+zenity-calendar-screenshot.png
+==============================
+
+<script-name> = calendar.sh
+
+
+zenity-entry-screenshot.png
+===========================
+
+<script-name> = text_entry.sh
+
+
+
+zenity-error-screenshot.png
+===========================
+
+<script-name> = error.sh
+
+
+zenity-fileselection-screenshot.png
+===================================
+
+<script-name> = file_sel.sh
+
+
+zenity-information-screenshot.png
+=================================
+
+<script-name> = info.sh
+
+
+zenity-list-screenshot.png
+==========================
+
+<script-name> = list.sh
+
+
+zenity-progress-screenshot.png
+==============================
+
+<script-name> = progress.sh
+
+
+zenity-question-screenshot.png
+==============================
+
+<script-name> = question.sh
+
+
+zenity-text-screenshot.png
+==========================
+
+<script-name> = text_info.sh
+Select cvs.txt from the File Selector dialog.
+Resize the window so that only the text appears -- no blank space.
+
+
+zenity-warning-screenshot.png
+=============================
+
+<script-name> = warning.sh
diff --git a/help/C/l10n_scripts/calendar.sh b/help/C/l10n_scripts/calendar.sh
new file mode 100755
index 00000000..cf0f45e3
--- /dev/null
+++ b/help/C/l10n_scripts/calendar.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+ if zenity --calendar \
+ --title="Select a Date" \
+ --text="Click on a date to select that date." \
+ --day=10 --month=8 --year=2004
+ then echo $?
+ else echo "No date selected"
+ fi
+
diff --git a/help/C/l10n_scripts/cvs.txt b/help/C/l10n_scripts/cvs.txt
new file mode 100755
index 00000000..f470f666
--- /dev/null
+++ b/help/C/l10n_scripts/cvs.txt
@@ -0,0 +1,51 @@
+Getting the most out of CVS in GNOME
+====================================
+
+Introductory Beginnings-
+
+Current Versions System, CVS, is a powerful
+method of allowing many developers
+to work on the same source code. It is used
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/help/C/l10n_scripts/error.sh b/help/C/l10n_scripts/error.sh
new file mode 100755
index 00000000..7d93857f
--- /dev/null
+++ b/help/C/l10n_scripts/error.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+ zenity --error \
+ --text="Could not find /var/log/syslog."
diff --git a/help/C/l10n_scripts/filesel.sh b/help/C/l10n_scripts/filesel.sh
new file mode 100755
index 00000000..e9abe1d3
--- /dev/null
+++ b/help/C/l10n_scripts/filesel.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FILE=`zenity --file-selection --title="Select a File"`
+
+case $? in
+ 0)
+ echo "\"$FILE\" selected.";;
+ 1)
+ echo "No file selected.";;
+ -1)
+ echo "No file selected.";;
+esac
+
diff --git a/help/C/l10n_scripts/info.sh b/help/C/l10n_scripts/info.sh
new file mode 100755
index 00000000..2c19cfb1
--- /dev/null
+++ b/help/C/l10n_scripts/info.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+ zenity --info \
+ --text="Merge complete. Updated 3 of 10 files."
diff --git a/help/C/l10n_scripts/list.sh b/help/C/l10n_scripts/list.sh
new file mode 100755
index 00000000..cc8304d3
--- /dev/null
+++ b/help/C/l10n_scripts/list.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+zenity --list \
+ --title="Choose the Bugs You Wish to View" \
+ --column="Bug Number" --column="Severity" --column="Description" \
+ 992383 Normal "GtkTreeView crashes on multiple selections" \
+ 293823 High "GNOME Dictionary does not handle proxy" \
+ 393823 Critical "Menu editing does not work in GNOME 2.0"
diff --git a/help/C/l10n_scripts/notification.sh b/help/C/l10n_scripts/notification.sh
new file mode 100755
index 00000000..b7de9aba
--- /dev/null
+++ b/help/C/l10n_scripts/notification.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/gnome/head/cvs/zenity/src/zenity --notification \
+--window-icon="info" \
+--text="There are system updates necessary!"
diff --git a/help/C/l10n_scripts/progress.sh b/help/C/l10n_scripts/progress.sh
new file mode 100755
index 00000000..225c90ab
--- /dev/null
+++ b/help/C/l10n_scripts/progress.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+(
+echo "10" ; sleep 1
+echo "# Updating mail logs" ; sleep 1
+echo "20" ; sleep 1
+echo "# Resetting cron jobs" ; sleep 1
+echo "50" ; sleep 1
+echo "This line will just be ignored" ; sleep 1
+echo "75" ; sleep 1
+echo "# Rebooting system" ; sleep 1
+echo "100" ; sleep 1
+) |
+zenity --progress --title="Update System Logs" --text="Scanning mail logs..." --percentage=0
+
+if [ "$?" = -1 ] ; then
+ zenity --error --text="Update cancelled."
+fi
+
diff --git a/help/C/l10n_scripts/question.sh b/help/C/l10n_scripts/question.sh
new file mode 100755
index 00000000..6ed9374d
--- /dev/null
+++ b/help/C/l10n_scripts/question.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+ zenity --question \
+ --text="Are you sure you wish to proceed?"
diff --git a/help/C/l10n_scripts/text_entry.sh b/help/C/l10n_scripts/text_entry.sh
new file mode 100755
index 00000000..4afd006e
--- /dev/null
+++ b/help/C/l10n_scripts/text_entry.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+ if zenity --entry \
+ --title="Add an Entry" \
+ --text="Enter your _password:" \
+ --entry-text "password" \
+ --hide-text
+ then echo $?
+ else echo "No password entered"
+ fi
+
diff --git a/help/C/l10n_scripts/text_info.sh b/help/C/l10n_scripts/text_info.sh
new file mode 100755
index 00000000..711e51d8
--- /dev/null
+++ b/help/C/l10n_scripts/text_info.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+FILE=`zenity --file-selection \
+ --title="Select a File"`
+
+case $? in
+ 0)
+ zenity --text-info \
+ --title=$FILE \
+ --filename=$FILE \
+ --editable 2>/tmp/tmp.txt;;
+ 1)
+ echo "No file selected.";;
+ -1)
+ echo "No file selected.";;
+esac
+
diff --git a/help/C/l10n_scripts/warning.sh b/help/C/l10n_scripts/warning.sh
new file mode 100755
index 00000000..a39af9ac
--- /dev/null
+++ b/help/C/l10n_scripts/warning.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+ zenity --warning \
+ --text="Disconnect the power cable to avoid electrical shock."
diff --git a/help/C/legal.xml b/help/C/legal.xml
index 899282c3..b93767af 100644
--- a/help/C/legal.xml
+++ b/help/C/legal.xml
@@ -1,38 +1,43 @@
- <legalnotice id="legalnotice">
- <para>
+<license xmlns="http://projectmallard.org/1.0/"
+ href="https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt">
+
+ <p>This work is licensed under a
+ <link href="https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt">GNU Free
+ Documentation License Version 1.1</link> or any later version.</p>
+
+ <p>
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. You can find
- a copy of the GFDL at this <ulink type="help"
- url="help:fdl">link</ulink> or in the file COPYING-DOCS
- distributed with this manual.
- </para>
- <para> This manual is part of a collection of GNOME manuals
+ a copy of the GFDL at this
+ <link href="https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt">link</link>.
+ </p>
+ <p> This manual is part of a collection of GNOME manuals
distributed under the GFDL. If you want to distribute this
manual separately from the collection, you can do so by
adding a copy of the license to the manual, as described in
section 6 of the license.
- </para>
+ </p>
- <para>
+ <p>
Many of the names used by companies to distinguish their
products and services are claimed as trademarks. Where those
names appear in any GNOME documentation, and the members of
the GNOME Documentation Project are made aware of those
trademarks, then the names are in capital letters or initial
capital letters.
- </para>
+ </p>
- <para>
+ <p>
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
WITH THE FURTHER UNDERSTANDING THAT:
-
- <orderedlist>
- <listitem>
- <para>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
+ </p>
+ <list>
+ <item>
+ <p>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
THAT THE DOCUMENT OR MODIFIED VERSION OF THE
@@ -49,10 +54,10 @@
LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
EXCEPT UNDER THIS DISCLAIMER; AND
- </para>
- </listitem>
- <listitem>
- <para>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
+ </p>
+ </item>
+ <item>
+ <p>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
@@ -68,9 +73,7 @@
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
THE POSSIBILITY OF SUCH DAMAGES.
- </para>
- </listitem>
- </orderedlist>
- </para>
- </legalnotice>
-
+ </p>
+ </item>
+ </list>
+</license>
diff --git a/help/C/list.page b/help/C/list.page
index 776f33eb..0d83820e 100644
--- a/help/C/list.page
+++ b/help/C/list.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--list</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>List Dialog</title>
<p>
diff --git a/help/C/message.page b/help/C/message.page
index a375efa7..04270826 100644
--- a/help/C/message.page
+++ b/help/C/message.page
@@ -9,6 +9,7 @@
<link xref="question">Question</link>,
<link xref="warning">Warning</link>
</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Message Dialog</title>
<p>
diff --git a/help/C/notification.page b/help/C/notification.page
index c82bd58a..f7ff3c95 100644
--- a/help/C/notification.page
+++ b/help/C/notification.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--notification</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Notification Icon</title>
<p>Use the <cmd>--notification</cmd> option to create a notification icon.</p>
diff --git a/help/C/password.page b/help/C/password.page
index ed062a32..06602065 100644
--- a/help/C/password.page
+++ b/help/C/password.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--password</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Password Dialog</title>
<p>
diff --git a/help/C/progress.page b/help/C/progress.page
index 3ed5260e..ff3b7304 100644
--- a/help/C/progress.page
+++ b/help/C/progress.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--progress</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Progress Dialog</title>
<p>
diff --git a/help/C/question.page b/help/C/question.page
index 3f586023..534d57e1 100644
--- a/help/C/question.page
+++ b/help/C/question.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="message"/>
<desc>Use the <cmd>--question</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Question Dialog</title>
<p>
diff --git a/help/C/scale.page b/help/C/scale.page
index 78c2ac50..264e1e0c 100644
--- a/help/C/scale.page
+++ b/help/C/scale.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--scale</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Scale Dialog</title>
<p>
diff --git a/help/C/text.page b/help/C/text.page
index 25d67728..99270a16 100644
--- a/help/C/text.page
+++ b/help/C/text.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--text-info</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Text Information Dialog</title>
<p>
diff --git a/help/C/usage.page b/help/C/usage.page
index 96e9ea40..8aa88cc8 100644
--- a/help/C/usage.page
+++ b/help/C/usage.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="index"/>
<desc>You can use <app>Zenity</app> to create simple dialogs that interact graphically with the user.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Usage</title>
<p>
diff --git a/help/C/warning.page b/help/C/warning.page
index f470d847..77785026 100644
--- a/help/C/warning.page
+++ b/help/C/warning.page
@@ -4,6 +4,7 @@
<info>
<link type="guide" xref="message"/>
<desc>Use the <cmd>--warning</cmd> option.</desc>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>Warning Dialog</title>
<p>
bgstack15