diff options
author | Yana Stamcheva <yana@jitsi.org> | 2010-09-09 12:01:32 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2010-09-09 12:01:32 +0000 |
commit | 32505cd1d8d9d9e1629c3d1a56da4d83ad485ba7 (patch) | |
tree | a8a92f8c28536cbd6799bc4bf7932b8e40c02598 /src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java | |
parent | be8d5479930169164e747e20d6701b44450e39c4 (diff) | |
download | jitsi-32505cd1d8d9d9e1629c3d1a56da4d83ad485ba7.zip jitsi-32505cd1d8d9d9e1629c3d1a56da4d83ad485ba7.tar.gz jitsi-32505cd1d8d9d9e1629c3d1a56da4d83ad485ba7.tar.bz2 |
Patch provided bu Purvesh Sahoo removing preview source names from the localization file and enhancing the preview config "retreive-sources" mechanism (discussed on dev on Sept. 7, 2010, subject: Re: Previews).
Diffstat (limited to 'src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java b/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java index 70fb553..d51bd36 100644 --- a/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java +++ b/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java @@ -36,19 +36,20 @@ public class ReplacementServiceBliptvImpl "(?:[\\>])(http:\\/\\/(?:www\\.)?blip\\.tv\\/file\\/(\\d+).*(?=<))"; /** - * Configuration label property name. The label is saved in the languages - * file under this property. + * Configuration label shown in the config form. */ - public static final String BLIPTV_CONFIG_LABEL = "BLIPTV"; + public static final String BLIPTV_CONFIG_LABEL = "Blip.tv"; /** - * Constructor for <tt>ReplacementServiceBliptvImpl</tt>. The source needs - * to add itself to {@link ReplacementService} sourceList to be displayed in - * the configuration panel. + * Source name; also used as property label. + */ + public static final String SOURCE_NAME = "BLIPTV"; + + /** + * Constructor for <tt>ReplacementServiceBliptvImpl</tt>. */ public ReplacementServiceBliptvImpl() { - sourceList.add(BLIPTV_CONFIG_LABEL); logger.trace("Creating a Blip.TV Source."); } @@ -127,4 +128,14 @@ public class ReplacementServiceBliptvImpl return chatString; } + + /** + * Returns the source name + * + * @return the source name + */ + public String getSourceName() + { + return SOURCE_NAME; + } }
\ No newline at end of file |