[izpack-changes] r1858 - in izpack-src/trunk: . src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Sun Jun 3 19:21:34 CEST 2007


Author: jponge
Date: 2007-06-03 19:21:25 +0200 (Sun, 03 Jun 2007)
New Revision: 1858

Modified:
   izpack-src/trunk/Versions.txt
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java
Log:
PacksModel fix (Markus Schlegel via Julien Ponge)


Modified: izpack-src/trunk/Versions.txt
===================================================================
--- izpack-src/trunk/Versions.txt	2007-05-29 20:50:06 UTC (rev 1857)
+++ izpack-src/trunk/Versions.txt	2007-06-03 17:21:25 UTC (rev 1858)
@@ -24,8 +24,8 @@
 - Unix shortcuts fixes (Vladimir Ralev)
 - TreePacksPanel, a hierarchical packs selection panel (Vladimir Ralev)
 - HTMLInfoPanel to launch links in external browser on any Windows and Linux (Vladimir Ralev)
+- PacksModel fix (Markus Schlegel via Julien Ponge).
 
-
   > 3.10.3 (build xxxx.xx.xx)
 
 - LayoutManager bug at handling EditorPanes fixed (width to small) (Klaus Bartz)

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java	2007-05-29 20:50:06 UTC (rev 1857)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java	2007-06-03 17:21:25 UTC (rev 1858)
@@ -303,7 +303,11 @@
             }
             else
             {
-                return langpack.getString(pack.id);
+                String tmp = langpack.getString(pack.id);
+                if (pack.id.equals(tmp))
+                    return pack.name;
+                else
+                    return tmp;
             }
 
         case 2:




More information about the izpack-changes mailing list