diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-06-03 19:37:46 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2011-10-04 11:56:28 (GMT) |
commit | ef8da454e7679b3ff800165ac90135e153ce5c7f (patch) | |
tree | 65151114c95fe2e94f1fe16ea89c859553976837 /plugins/conf/mozpluggerrc | |
parent | c80d03e4d6d9a7badb4676ed7dfc779f5621aa49 (diff) |
Add pluggin to inline display of PDF files
The mozplugger binaries were compiled applying the patches from Sayamindu
(updated) in the last packaged version of mozplugger.
The sugar-pdf-viewer utility was updated to follow evince changes.
Diffstat (limited to 'plugins/conf/mozpluggerrc')
-rw-r--r-- | plugins/conf/mozpluggerrc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/conf/mozpluggerrc b/plugins/conf/mozpluggerrc new file mode 100644 index 0000000..e2c90cd --- /dev/null +++ b/plugins/conf/mozpluggerrc @@ -0,0 +1,52 @@ +# Modified mozpluggerrc for OLPC +# Contact: Sayamindu Dasgupta: sayamindu@laptop.org +# +# Configure file for MozPlugger 1.10 +# Version: January 4, 2008 +# +# Commands which are not installed on your system will not be used. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# 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, USA. + + +################### +### m4 macros ### +################### + +changequote([,]) + +### Helpers + +#define(ENABLE_HELPERS) + +ifdef([ENABLE_HELPERS],[ + define(HELPER,[nokill noisy: $1]) +],[ + define(HELPER,[]) +]) + +####################### +### Documents ### +####################### + +application/pdf:pdf:PDF file +application/x-pdf:pdf:PDF file +text/pdf:pdf:PDF file +text/x-pdf:pdf:PDF file + repeat swallow(sugar-pdf-viewer) fill: sugar-pdf-viewer "$file" + +application/x-postscript:ps:PostScript file +application/postscript:ps:PostScript file + repeat swallow(sugar-pdf-viewer) fill: sugar-pdf-viewer "$file" |