summaryrefslogtreecommitdiff
path: root/sources/core/VSMessage.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-27 18:04:53 +0000
committerPaul Buetow <paul@buetow.org>2008-05-27 18:04:53 +0000
commitce4b28ff4047fa50974c3c3d2e370db60a2b3553 (patch)
treeaaea8717a26d504f14f54b389a379a8b02b88199 /sources/core/VSMessage.java
parent97a3a4f07cdc8437f73f4270b237e85c7739a6be (diff)
Pull down menu now sorted by protocol's shortnames
Diffstat (limited to 'sources/core/VSMessage.java')
-rw-r--r--sources/core/VSMessage.java4
1 files changed, 2 insertions, 2 deletions
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();
}