/[debian]/jabref/branches/2.5/debian/patches/04_HONOR_DISPLAY_PROPERTIES.dpatch
ViewVC logotype

Contents of /jabref/branches/2.5/debian/patches/04_HONOR_DISPLAY_PROPERTIES.dpatch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1698 - (show annotations)
Fri Apr 24 16:17:40 2009 UTC (12 years, 3 months ago) by gregoa
File size: 1407 byte(s)
rename 2.4 branch to 2.5
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 04_HONOR_DISPLAY_PROPERTIES.dpatch by <gregor+debian@comodo.priv.at>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: JEditorPane.HONOR_DISPLAY_PROPERTIES not understood by java-gcj-compat-dev ...
6
7 @DPATCH@
8 diff -urNad jabref~/src/java/net/sf/jabref/JabRefMain.java jabref/src/java/net/sf/jabref/JabRefMain.java
9 --- jabref~/src/java/net/sf/jabref/JabRefMain.java 2007-10-08 21:51:47.000000000 +0200
10 +++ jabref/src/java/net/sf/jabref/JabRefMain.java 2007-10-09 18:55:12.000000000 +0200
11 @@ -109,7 +109,6 @@
12 "We are sorry for the trouble and thanks for reporting problems with JabRef!</html>");
13 pane.setEditable(false);
14 pane.setOpaque(false);
15 - pane.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);
16
17 Component componentToDisplay;
18 if (pane.getPreferredSize().getHeight() > 700){
19 @@ -157,7 +156,6 @@
20 "<p>For more information visit <b>http://jabref.sf.net/faq.php</b>.</p></html>");
21 pane.setEditable(false);
22 pane.setOpaque(false);
23 - pane.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);
24
25 JOptionPane.showMessageDialog(null, pane, "Insufficient Java Version Installed", JOptionPane.ERROR_MESSAGE);
26 }

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26