diff options
author | Rex Dieter <rdieter@math.unl.edu> | 2015-09-16 10:14:19 -0500 |
---|---|---|
committer | Rex Dieter <rdieter@math.unl.edu> | 2015-09-16 10:14:19 -0500 |
commit | b1bfd8cf43a284f4c50fa178b68291ba65b9441d (patch) | |
tree | a039df390569bbe209953b4e5b3baa1df46a5d0f | |
parent | 80fd2bc6879be9ac595ecbb4803f916c7d3afa96 (diff) |
xdg-email: Icedove support (BR91997)
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | scripts/xdg-email.in | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -6,6 +6,7 @@ * xdg-open: Add support for multi-word $BROWSER commands (BR91989) * xdg-open shell script contains bash code (BR86028) * xdg-email: bashism: relies on bash's echo in run_thunderbird() (BR91990) + * xdg-email: Icedove support (BR91997) 2015-07-15 Rex Dieter <rdieter@fedoraproject.org> * better for other (non-gnome) GVfs-based desktops, from Yaakov Selkowitz <yselkowi@redhat.com> diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in index 5492254..2effbc8 100644 --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -92,7 +92,7 @@ open_kde() kde_email_profile_name=`kreadconfig --file emaildefaults --group Defaults --key Profile` client=`kreadconfig --file emaildefaults --group PROFILE_"$kde_email_profile_name" --key EmailClient | cut -d ' ' -f 1` fi - echo $client | grep thunderbird > /dev/null 2>&1 + echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 if [ $? -eq 0 ] ; then run_thunderbird "$client" "$1" fi @@ -131,7 +131,7 @@ open_gnome3() local desktop desktop=`xdg-mime query default "x-scheme-handler/mailto"` client=`desktop_file_to_binary "$desktop"` - echo $client | grep thunderbird > /dev/null 2>&1 + echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 if [ $? -eq 0 ] ; then run_thunderbird "$client" "$1" fi @@ -155,7 +155,7 @@ open_gnome() { local client client=`gconftool-2 --get /desktop/gnome/url-handlers/mailto/command | cut -d ' ' -f 1` || "" - echo $client | grep thunderbird > /dev/null 2>&1 + echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 if [ $? -eq 0 ] ; then run_thunderbird "$client" "$1" fi @@ -194,7 +194,7 @@ open_generic() local desktop desktop=`xdg-mime query default "x-scheme-handler/mailto"` client=`desktop_file_to_binary "$desktop"` - echo $client | grep thunderbird > /dev/null 2>&1 + echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 if [ $? -eq 0 ] ; then run_thunderbird "$client" "$1" fi |