From ce4b28ff4047fa50974c3c3d2e370db60a2b3553 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 27 May 2008 18:04:53 +0000 Subject: Pull down menu now sorted by protocol's shortnames --- sources/core/VSMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/core/VSMessage.java') diff --git a/sources/core/VSMessage.java b/sources/core/VSMessage.java index 25e22c4..852e5f3 100644 --- a/sources/core/VSMessage.java +++ b/sources/core/VSMessage.java @@ -62,7 +62,7 @@ public class VSMessage extends VSPrefs { * @return The protocol name of the message. */ public String getName() { - return VSRegisteredEvents.getName(getProtocolClassname()); + return VSRegisteredEvents.getNameByClassname(getProtocolClassname()); } /** @@ -123,7 +123,7 @@ public class VSMessage extends VSPrefs { buffer.append("; "); buffer.append(prefs.getString("lang.protocol")); buffer.append(": "); - buffer.append(VSRegisteredEvents.getShortname(getProtocolClassname())); + buffer.append(VSRegisteredEvents.getShortnameByClassname(getProtocolClassname())); return buffer.toString(); } -- cgit v1.2.3