summaryrefslogtreecommitdiff
path: root/help/C/l10n_scripts/filesel.sh
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:12 -0400
committerJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:12 -0400
commit0a9278511b4d4a3b5df9f6232cd0a427b945a630 (patch)
tree18db516364877f6dd0ebca5a0eddea7b9311b142 /help/C/l10n_scripts/filesel.sh
parentdebian/watch: Update for GNOME 40 style version numbering (diff)
parentNew upstream version 3.41.0 (diff)
downloadzenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.gz
zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.bz2
zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.zip
Update upstream source from tag 'upstream/3.41.0'
Update to upstream version '3.41.0' with Debian dir e93fe4af08d9574e6a601a2b0269cc470265904a
Diffstat (limited to 'help/C/l10n_scripts/filesel.sh')
-rwxr-xr-xhelp/C/l10n_scripts/filesel.sh13
1 files changed, 13 insertions, 0 deletions
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
+
bgstack15