* New upstream release.
[debian/jabref.git] / debian / patches / 03_external_apps.dpatch
index 2ac4d87..73a31d5 100755 (executable)
@@ -2,33 +2,21 @@
 ## 03_external_apps.dpatch by  <gregor+debian@comodo.priv.at>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: Change the default path to some external applications.
+## DP: Change some external applications.
 
 @DPATCH@
-diff -urNad jabref~/src/java/net/sf/jabref/JabRefPreferences.java jabref/src/java/net/sf/jabref/JabRefPreferences.java
---- jabref~/src/java/net/sf/jabref/JabRefPreferences.java      2007-02-02 14:51:14.000000000 +0100
-+++ jabref/src/java/net/sf/jabref/JabRefPreferences.java       2007-04-27 16:18:43.000000000 +0200
-@@ -97,10 +97,12 @@
-                       defaults.put("psviewer", "cmd.exe /c start /b");
-                       defaults.put("htmlviewer", "cmd.exe /c start /b");
-                       defaults.put("lookAndFeel", "com.jgoodies.plaf.windows.ExtWindowsLookAndFeel");
-+                      defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
-+                      defaults.put("latexEditorPath", "C:\\TEMP\\Led.exe");
-               } else {
+diff -urNad jabref-2.3~beta1~/src/java/net/sf/jabref/JabRefPreferences.java jabref-2.3~beta1/src/java/net/sf/jabref/JabRefPreferences.java
+--- jabref-2.3~beta1~/src/java/net/sf/jabref/JabRefPreferences.java    2007-06-29 17:11:49.000000000 +0200
++++ jabref-2.3~beta1/src/java/net/sf/jabref/JabRefPreferences.java     2007-06-30 16:03:35.000000000 +0200
+@@ -102,9 +102,9 @@
+             defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
+             defaults.put("latexEditorPath", "C:\\Program Files\\LEd\\LEd.exe");
+         } else {
 -                      defaults.put("pdfviewer", "acroread");
-+                      defaults.put("pdfviewer", "gv");
++                      defaults.put("pdfviewer", "xpdf");
                        defaults.put("psviewer", "gv");
 -                      defaults.put("htmlviewer", "mozilla");
 +                      defaults.put("htmlviewer", "x-www-browser");
                        defaults.put("lookAndFeel", "com.jgoodies.plaf.plastic.Plastic3DLookAndFeel");
                }
          defaults.put("useDefaultLookAndFeel", Boolean.TRUE);
-@@ -180,8 +182,6 @@
-         defaults.put("highlightGroupsMatchingAll", Boolean.FALSE);
-         defaults.put("searchPanelVisible", Boolean.FALSE);
-         defaults.put("defaultEncoding", System.getProperty("file.encoding"));
--        defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
--        defaults.put("latexEditorPath", "C:\\TEMP\\Led.exe");
-         defaults.put("groupsVisibleRows", new Integer(8));
-         defaults.put("defaultOwner", System.getProperty("user.name"));
-         defaults.put("preserveFieldFormatting", Boolean.FALSE);