From d6e7c021744ec19ac56b53d3657ec7af041acc24 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 20 Feb 2015 13:22:48 -0800 Subject: [PATCH] Remove "(not installed)" etc. which causes wrapping. --- .../skcraft/launcher/swing/InstanceTableModel.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/launcher/src/main/java/com/skcraft/launcher/swing/InstanceTableModel.java b/launcher/src/main/java/com/skcraft/launcher/swing/InstanceTableModel.java index b360e24..4e0f0f4 100644 --- a/launcher/src/main/java/com/skcraft/launcher/swing/InstanceTableModel.java +++ b/launcher/src/main/java/com/skcraft/launcher/swing/InstanceTableModel.java @@ -110,22 +110,10 @@ public class InstanceTableModel extends AbstractTableModel { } case 1: instance = instances.get(rowIndex); - return "" + SwingHelper.htmlEscape(instance.getTitle()) + getAddendum(instance) + ""; + return instance.getTitle(); default: return null; } } - private String getAddendum(Instance instance) { - if (!instance.isLocal()) { - return " " + SharedLocale.tr("launcher.notInstalledHint") + ""; - } else if (!instance.isInstalled()) { - return " " + SharedLocale.tr("launcher.requiresUpdateHint") + ""; - } else if (instance.isUpdatePending()) { - return " " + SharedLocale.tr("launcher.updatePendingHint") + ""; - } else { - return ""; - } - } - }