From 6d75cff85d0134f1e59a44fe279c012d523c509f Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 25 Jun 2009 05:15:17 +0000
Subject: [PATCH] Fix for issue 3464 (Install summary screen cut-off) Add some word break tags (<wbr>) to the install paths that are displayed in the summary to force some wrapping.

---
 opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
index e15a21f..d40c649 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
@@ -683,9 +683,12 @@
       }
     } else {
       if (getUninstallUserData().getRemoveLibrariesAndTools()) {
+        String formattedPath =
+          addWordBreaks(
+              getStringFromCollection(paths, getLineBreak().toString()), 60, 5);
         successMsg =
             INFO_SUMMARY_UNINSTALL_FINISHED_SUCCESSFULLY_REMOVE_JARFILES
-            .get(getStringFromCollection(paths, getLineBreak().toString()));
+            .get(formattedPath);
       } else {
         successMsg = INFO_SUMMARY_UNINSTALL_FINISHED_SUCCESSFULLY.get();
       }

--
Gitblit v1.10.0