SOURCES: kdegraphics-allowprint.patch (NEW) - printing of all docs

arekm arekm at pld-linux.org
Mon Dec 5 18:34:13 CET 2005


Author: arekm                        Date: Mon Dec  5 17:34:13 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- printing of all docs

---- Files affected:
SOURCES:
   kdegraphics-allowprint.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kdegraphics-allowprint.patch
diff -u /dev/null SOURCES/kdegraphics-allowprint.patch:1.1
--- /dev/null	Mon Dec  5 18:34:13 2005
+++ SOURCES/kdegraphics-allowprint.patch	Mon Dec  5 18:34:08 2005
@@ -0,0 +1,13 @@
+diff -ur kdegraphics-3.5.0.org/kpdf/part.cpp kdegraphics-3.5.0/kpdf/part.cpp
+--- kdegraphics-3.5.0.org/kpdf/part.cpp	2005-11-08 22:25:47.000000000 +0000
++++ kdegraphics-3.5.0/kpdf/part.cpp	2005-12-05 17:33:08.665373512 +0000
+@@ -921,8 +921,7 @@
+ {
+     if (!m_document->isAllowed(KPDFDocument::AllowPrint))
+     {
+-        KMessageBox::error(widget(), i18n("Printing this document is not allowed."));
+-        return;
++        KMessageBox::error(widget(), i18n("Printing this document is not allowed but..."));
+     }
+ 
+     if (!m_document->print(printer))
================================================================



More information about the pld-cvs-commit mailing list