X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=tools%2FOOo2sylpheed.pl;h=c6a865b5f1d1eb74dad5ff26baad73837d04aa9f;hp=814f816af8149f5044a6d01a8a9576b677e03f62;hb=caa0890f642616d66444820e1c606d765a3e853b;hpb=26a40cf02ef17d4b07e23aa23aeb760333b0202f;ds=sidebyside diff --git a/tools/OOo2sylpheed.pl b/tools/OOo2sylpheed.pl index 814f816af..c6a865b5f 100644 --- a/tools/OOo2sylpheed.pl +++ b/tools/OOo2sylpheed.pl @@ -14,10 +14,10 @@ # * # * You should have received a copy of the GNU General Public License # * along with this program; if not, write to the Free Software -# * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # OOo2sylpheed.pl helper script to send documents from OpenOffice.org -# to sylpheed +# to Sylpheed-Claws use strict; @@ -25,8 +25,8 @@ my $input = <>; $ARGV =~ s/^"attachment='file:\/\///; $ARGV =~ s/'"$//; - -exec "/usr/local/bin/sylpheed --attach $ARGV"; +$ARGV =~ s/%20/ /g; +exec "sylpheed-claws --attach \"$ARGV\""; ## change the line above to point to your sylpheed executable exit;