Changeset 9917 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2016-03-03T23:06:36+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r9870 r9917 8 8 import java.awt.Component; 9 9 import java.awt.Font; 10 import java.awt.GraphicsEnvironment;11 10 import java.awt.GridBagConstraints; 12 11 import java.awt.GridBagLayout; … … 856 855 plugins.size())) 857 856 .append("</html>"); 858 if (!GraphicsEnvironment.isHeadless()) { 859 HelpAwareOptionPane.showOptionDialog( 860 parent, 861 sb.toString(), 862 tr("Warning"), 863 JOptionPane.WARNING_MESSAGE, 864 HelpUtil.ht("/Plugin/Loading#MissingPluginInfos") 865 ); 866 } 857 HelpAwareOptionPane.showOptionDialog( 858 parent, 859 sb.toString(), 860 tr("Warning"), 861 JOptionPane.WARNING_MESSAGE, 862 HelpUtil.ht("/Plugin/Loading#MissingPluginInfos") 863 ); 867 864 } 868 865 … … 1109 1106 ) 1110 1107 }; 1111 int ret = -1; 1112 if (!GraphicsEnvironment.isHeadless()) { 1113 ret = HelpAwareOptionPane.showOptionDialog( 1108 return 0 == HelpAwareOptionPane.showOptionDialog( 1114 1109 parent, 1115 1110 reason, … … 1121 1116 null // FIXME: add help topic 1122 1117 ); 1123 }1124 return ret == 0;1125 1118 } 1126 1119
Note: See TracChangeset
for help on using the changeset viewer.