diff options
author | Breda McColgan <breda.mccolgan@sun.com> | 2004-08-18 18:10:27 +0000 |
---|---|---|
committer | Breda McColgan <breda@src.gnome.org> | 2004-08-18 18:10:27 +0000 |
commit | 3a3a047a710700afd4fe6dde22f7f0f8eeae87bb (patch) | |
tree | 0da4f5d664e1cf2ac097d1ae6b8e58a5bdadad5e /help/C/l10n_scripts/text_info.sh | |
parent | Updated Malay translation. (diff) | |
download | zenity-3a3a047a710700afd4fe6dde22f7f0f8eeae87bb.tar.gz zenity-3a3a047a710700afd4fe6dde22f7f0f8eeae87bb.tar.bz2 zenity-3a3a047a710700afd4fe6dde22f7f0f8eeae87bb.zip |
help/C/zenity.xml help/C/zenity-C.omf
2004-08-18 Breda McColgan <breda.mccolgan@sun.com>
* Updated the following files:
* help/C/zenity.xml
* help/C/zenity-C.omf
* help/C/figures/zenity-calendar-screenshot.png
* help/C/figures/zenity-entry-screenshot.png
* help/C/figures/zenity-error-screenshot.png
* help/C/figures/zenity-fileselection-screenshot.png
* help/C/figures/zenity-information-screenshot.png
* help/C/figures/zenity-list-screenshot.png
* help/C/figures/zenity-progress-screenshot.png
* help/C/figures/zenity-question-screenshot.png
* help/C/figures/zenity-text-screenshot.png
* help/C/figures/zenity-warning-screenshot.png
* Added the following files:
* help/C/l10n.txt
* help/C/l10n_scripts/
* help/C/l10n_scripts/calendar.sh
* help/C/l10n_scripts/cvs.txt
* help/C/l10n_scripts/error.sh
* help/C/l10n_scripts/filesel.sh
* help/C/l10n_scripts/info.sh
* help/C/l10n_scripts/list.sh
* help/C/l10n_scripts/progress.sh
* help/C/l10n_scripts/question.sh
* help/C/l10n_scripts/text_entry.sh
* help/C/l10n_scripts/text_info.sh
* help/C/l10n_scripts/warning.sh
See the help/C/l10n.txt file for information about l10n_scripts.
Diffstat (limited to 'help/C/l10n_scripts/text_info.sh')
-rwxr-xr-x | help/C/l10n_scripts/text_info.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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 + |