SOURCES: python-PIL-viewer.patch (NEW) - kde display support
arekm
arekm at pld-linux.org
Mon Nov 20 17:54:33 CET 2006
Author: arekm Date: Mon Nov 20 16:54:33 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- kde display support
---- Files affected:
SOURCES:
python-PIL-viewer.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-PIL-viewer.patch
diff -u /dev/null SOURCES/python-PIL-viewer.patch:1.1
--- /dev/null Mon Nov 20 17:54:33 2006
+++ SOURCES/python-PIL-viewer.patch Mon Nov 20 17:54:28 2006
@@ -0,0 +1,19 @@
+diff -urN Imaging-1.1.5.org/PIL/Image.py Imaging-1.1.5/PIL/Image.py
+--- Imaging-1.1.5.org/PIL/Image.py 2005-03-25 08:50:52.000000000 +0100
++++ Imaging-1.1.5/PIL/Image.py 2006-11-20 17:50:14.000000000 +0100
+@@ -1896,9 +1896,12 @@
+ else:
+ format = None
+ if not command:
+- command = "xv"
+- if title:
+- command = command + " -name \"%s\"" % title
++ if os.path.exists("/usr/bin/kfmclient"):
++ command = "/usr/bin/kfmclient exec";
++ else:
++ command = "xv"
++ if title:
++ command = command + " -name \"%s\"" % title
+
+ if image.mode == "I;16":
+ # @PIL88 @PIL101
================================================================
More information about the pld-cvs-commit
mailing list