diff options
author | Yana Stamcheva <yana@jitsi.org> | 2011-06-01 10:47:27 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2011-06-01 10:47:27 +0000 |
commit | 5cb8b89cbecb83efb6472e21c2bceae66eef4e23 (patch) | |
tree | b5aef1e202f21427233d9913ec6d3212a02db5a4 /src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java | |
parent | f19eb013da71af8e60018406a5fca16b87c8a0fe (diff) | |
download | jitsi-5cb8b89cbecb83efb6472e21c2bceae66eef4e23.zip jitsi-5cb8b89cbecb83efb6472e21c2bceae66eef4e23.tar.gz jitsi-5cb8b89cbecb83efb6472e21c2bceae66eef4e23.tar.bz2 |
Removes special symbols before callng phone numbers and lets the user configure a property to enable/disable this functionality.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java')
-rw-r--r-- | src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java b/src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java index ae3f245..c1784f2 100644 --- a/src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java +++ b/src/net/java/sip/communicator/plugin/generalconfig/GeneralConfigPluginActivator.java @@ -102,13 +102,27 @@ public class GeneralConfigPluginActivator .registerService( ConfigurationForm.class.getName(), new LazyConfigurationForm( - "net.java.sip.communicator.plugin.generalconfig.GeneralConfigurationPanel", + "net.java.sip.communicator.plugin." + + "generalconfig.GeneralConfigurationPanel", getClass().getClassLoader(), "plugin.generalconfig.PLUGIN_ICON", "service.gui.GENERAL", 0), properties); + // Registers the sip config panel as advanced configuration form. + properties.put( ConfigurationForm.FORM_TYPE, + ConfigurationForm.ADVANCED_TYPE); + bundleContext.registerService( + ConfigurationForm.class.getName(), + new LazyConfigurationForm( + SIPConfigForm.class.getName(), + getClass().getClassLoader(), + null, + "plugin.generalconfig.SIP_CALL_CONFIG", + 51, true), + properties); + /* * Wait for the first ProtocolProviderService to register in order to * start the auto-away functionality i.e. to call #startThread(). |