diff options
author | tom.denham@metaswitch.com <tom.denham@metaswitch.com> | 2013-05-09 12:44:44 +0100 |
---|---|---|
committer | tom.denham@metaswitch.com <tom.denham@metaswitch.com> | 2013-05-09 12:44:44 +0100 |
commit | 79decba304a68b79f827bd8697a96ec82dec539e (patch) | |
tree | c453a00f0fa0ebf1870ce5fdce924e82c9b469de /src/net/java/sip/communicator/util | |
parent | edd370c69bfce19ab6f8d3211a8cf79b552197b1 (diff) | |
parent | 766fcf2c51ea7c95c3de7ef45d2cce843e9e0480 (diff) | |
download | jitsi-79decba304a68b79f827bd8697a96ec82dec539e.zip jitsi-79decba304a68b79f827bd8697a96ec82dec539e.tar.gz jitsi-79decba304a68b79f827bd8697a96ec82dec539e.tar.bz2 |
Merge branch 'merge_config' of \\\PC4315\work\github_jitsi\
Diffstat (limited to 'src/net/java/sip/communicator/util')
-rw-r--r-- | src/net/java/sip/communicator/util/ConfigurationUtils.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/util/ConfigurationUtils.java b/src/net/java/sip/communicator/util/ConfigurationUtils.java index f438aa8..bb1a582 100644 --- a/src/net/java/sip/communicator/util/ConfigurationUtils.java +++ b/src/net/java/sip/communicator/util/ConfigurationUtils.java @@ -162,6 +162,11 @@ public class ConfigurationUtils private static boolean isAddContactDisabled; /** + * Indicates if the merge contact functionality is disabled. + */ + private static boolean isMergeContactDisabled; + + /** * Indicates if the go to chatroom functionality is disabled. */ private static boolean isGoToChatroomDisabled; @@ -644,6 +649,13 @@ public class ConfigurationUtils "CONTACT_ADD_DISABLED", false); + // Load the "MERGE_CONTACT_DISABLED" property. + isMergeContactDisabled + = configService.getBoolean( + "net.java.sip.communicator.impl.gui.main.contactlist." + + "CONTACT_MERGE_DISABLED", + false); + // Load the "CREATE_GROUP_DISABLED" property. isCreateGroupDisabled = configService.getBoolean( @@ -1185,6 +1197,17 @@ public class ConfigurationUtils } /** + * Returns <code>true</code> if the "MERGE_CONTACT_DISABLED" property is + * true, otherwise - returns <code>false</code>. + * @return <code>true</code> if the "MERGE_CONTACT_DISABLED" property is + * true, otherwise - returns <code>false</code>. + */ + public static boolean isMergeContactDisabled() + { + return isMergeContactDisabled; + } + + /** * Returns <code>true</code> if the "CREATE_GROUP_DISABLED" property is * true, otherwise - returns <code>false</code>.. * @return <code>true</code> if the "CREATE_GROUP_DISABLED" property is |