Removed incomplete edialog.

Imported new and functional ede-dialog.
ede-help uses ede-dialog for error reports; xmessage is not used since some OS-es to not install it 
by default, e.g. OpenSolaris.
Removed obsolete ede-tip.conf.
Fixed background issue in ede-tip; background will now always be white so it can nicely blend with the image.
Commit fixed ede.desktop.in; previous commit was only renaming without content change.
Reduce some debug output in ede-autostart.
This commit is contained in:
Sanel Zukan
2009-08-12 15:26:38 +00:00
parent ddd508903f
commit 33df6e9231
12 changed files with 382 additions and 273 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
help_dir="@ededocdir@/manual"
browser_list="firefox mozilla konqueror opera navigator dillo"
browser_list="firefox mozilla chromium-browser konqueror opera navigator dillo"
program="ede-help"
url=""
@@ -10,9 +10,10 @@ if [ "$1" = "--help" ]; then
cat <<EOF
Usage: $program [OPTIONS] [TITLE]
Display EDE Manual in the web browser
Options:
--help Show this help
--titles Show known titles
--help this help
--titles show known titles
Example:
$program evoke - display evoke help
@@ -55,13 +56,12 @@ if [ "x$BROWSER" = "x" ]; then
fi
if [ "x$BROWSER" = "x" ]; then
xmessage -title "$program error" -center -buttons "Close" -file - <<EOF
ede-dialog --title "$program error" --error "
Failed to find any of known browsers!
If you thing that I made mistake, please try to set
BROWSER environment variable with full path pointing
to the browser binary
EOF
If you think how this is mistake, please try to set \
BROWSER environment variable with the full path pointing to the browser binary and run $program again"
exit 1
fi
@@ -69,13 +69,12 @@ fi
$BROWSER $url
if [ $? -ne 0 ]; then
xmessage -title "$program error" -center -buttons "Close" -file - <<EOF
Unable to run '$BROWSER'!
ede-dialog --title "$program error" --error "
Unable to run $BROWSER browser!
Please check if program path is correct or \
adjust BROWSER environment variable pointing to the correct binary file"
Please check if program path is correct or
adjust BROWSER environment variable pointing
to the correct binary
EOF
exit 1
fi