veusz (1.14-1) license-file-location.patch

Summary

 dialogs/aboutdialog.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Use standard location of license file for about dialog.
 We modify the about dialog box to point to the standard COPYING file as
 Debian does not want extra license files installed.
Author: Jeremy Sanders <jeremy@jeremysanders.net>
Forwarded: not-needed
Last-Update: 2011-11-25
--- veusz-1.14.orig/dialogs/aboutdialog.py
+++ veusz-1.14/dialogs/aboutdialog.py
@@ -57,7 +57,7 @@
         VeuszDialog.__init__(self, parent, 'license.ui')
 
         try:
-            f = open(os.path.join(utils.veuszDirectory, 'COPYING'), 'rU')
+            f = open('/usr/share/common-licenses/GPL-2', 'rU')
             text = f.read()
         except IOError:
             text = 'Could not open the license file.'