From e5f68f6fe4a4cc2bb140f0797741d844b132d407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 7 Feb 2008 01:08:55 +0100 Subject: [PATCH] Add some pdf viewer --- tryton/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tryton/config.py b/tryton/config.py index 6f06a1df0a..d0ee58623c 100644 --- a/tryton/config.py +++ b/tryton/config.py @@ -75,6 +75,8 @@ class ConfigManager(object): 'client.actions': { 'odt': find_path(['ooffice', 'ooffice2']), 'txt': find_path(['ooffice', 'ooffice2']), + 'pdf': find_path(['evince', 'xpdf', 'gpdf', + 'kpdf', 'epdfview', 'acroread']) }, } parser = optparse.OptionParser(version=_("Tryton %s" % VERSION))