diff --git a/resources/sounds/ship-sink.wav b/resources/sounds/incomingMessage.wav similarity index 100% rename from resources/sounds/ship-sink.wav rename to resources/sounds/incomingMessage.wav diff --git a/src/net/java/sip/communicator/impl/gui/utils/Sounds.java b/src/net/java/sip/communicator/impl/gui/utils/Sounds.java index 92f05ce4e..304d1053a 100644 --- a/src/net/java/sip/communicator/impl/gui/utils/Sounds.java +++ b/src/net/java/sip/communicator/impl/gui/utils/Sounds.java @@ -17,7 +17,7 @@ public class Sounds { public static String INCOMING_MESSAGE - = "resources/sounds/ship-sink.wav"; + = "resources/sounds/incomingMessage.wav"; public static String OUTGOING_CALL = "resources/sounds/ring.wav"; @@ -74,19 +74,4 @@ public class Sounds { private Sounds() { } - - /** - * Returns a sound path corresponding to the given sound key. - * @param key The key of the sound. - * @return A sound path corresponding to the given sound key. - */ - public static String getString(String key) { - try { - return RESOURCE_BUNDLE.getString(key); - - } catch (MissingResourceException e) { - - return '!' + key + '!'; - } - } } diff --git a/src/net/java/sip/communicator/impl/gui/utils/sounds.properties b/src/net/java/sip/communicator/impl/gui/utils/sounds.properties index 8683a2483..a97cb9fec 100644 --- a/src/net/java/sip/communicator/impl/gui/utils/sounds.properties +++ b/src/net/java/sip/communicator/impl/gui/utils/sounds.properties @@ -1,4 +1,4 @@ -INCOMING_MESSAGE=resources/sounds/ship-sink.wav +INCOMING_MESSAGE=resources/sounds/incomingMessage.wav INCOMING_CALL=resources/sounds/incomingCall.wav OUTGOING_CALL=resources/sounds/ring.wav