/[packages]/cauldron/xdg-utils/current/SOURCES/xdg-utils-1.0.2-email_loop.patch
ViewVC logotype

Contents of /cauldron/xdg-utils/current/SOURCES/xdg-utils-1.0.2-email_loop.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 209 - (show annotations) (download)
Fri Jan 7 09:52:12 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 733 byte(s)
imported package xdg-utils
1 Index: scripts/xdg-email
2 ===================================================================
3 --- scripts/xdg-email
4 +++ scripts/xdg-email 2011-01-07 10:50:05.805814271 +0100
5 @@ -224,7 +224,13 @@
6 exit_failure_operation_impossible()
7 {
8 if [ $# -gt 0 ]; then
9 - echo "xdg-email: $@" >&2
10 + if which zenity > /dev/null 2> /dev/null; then
11 + zenity --error --text="$@"
12 + elif which kdialog > /dev/null 2> /dev/null; then
13 + kdialog --error "$@"
14 + else
15 + echo "xdg-email: $@" >&2
16 + fi
17 fi
18
19 exit 3
20 @@ -716,7 +722,7 @@
21 open_xfce "${mailto}"
22 ;;
23
24 - generic|lxde)
25 + lxde)
26 open_generic "${mailto}"
27 ;;
28
29

  ViewVC Help
Powered by ViewVC 1.1.30