[pdfshuffler] Fix the copy-and-paste error

Fabian Affolter fab at fedoraproject.org
Fri Mar 2 09:59:48 UTC 2012


commit deaf68d55f73175c363c928199afcf28071bce8e
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Fri Mar 2 10:34:02 2012 +0100

    Fix the copy-and-paste error

 pdfshuffler-ui-location.patch |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/pdfshuffler-ui-location.patch b/pdfshuffler-ui-location.patch
index 2e91f89..a1c2b06 100644
--- a/pdfshuffler-ui-location.patch
+++ b/pdfshuffler-ui-location.patch
@@ -1,14 +1,13 @@
 --- a/pdfshuffler-ui-location.patch	
 +++ a/pdfshuffler-ui-location.patch	
 @@ -0,0 +1,12 @@ 
-+diff -up ./pdfshuffler/pdfshuffler.py.orig ./pdfshuffler/pdfshuffler.py
-+--- ./pdfshuffler/pdfshuffler.py.orig	2012-01-26 14:10:15.706139193 -0600
-+@@ -110,7 +110,7 @@ class PdfShuffler:
-+             print(_("Can't load icon. Application is not installed correctly."))
-+ 
-+         # Import the user interface file, trying different possible locations
+diff -up ./pdfshuffler/pdfshuffler.py.orig ./pdfshuffler/pdfshuffler.py
+--- ./pdfshuffler/pdfshuffler.py.orig	2012-01-26 14:10:15.706139193 -0600
+@@ -110,7 +110,7 @@ class PdfShuffler:
+             print(_("Can't load icon. Application is not installed correctly."))
+ 
+         # Import the user interface file, trying different possible locations
 -        ui_path = '/usr/share/pdfshuffler/pdfshuffler.ui'
-+         if not os.path.exists(ui_path):
-+             ui_path = '/usr/local/share/applications/pdfshuffler/pdfshuffler.ui'
-+             if not os.path.exists(ui_path):
-
+         if not os.path.exists(ui_path):
+             ui_path = '/usr/local/share/applications/pdfshuffler/pdfshuffler.ui'
+             if not os.path.exists(ui_path):


More information about the scm-commits mailing list