aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/util
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2013-09-25 11:57:44 +0300
committerDamian Minkov <damencho@jitsi.org>2013-09-25 18:09:17 +0300
commitff12a2c690c6b60ff6b52793d9cce579da783871 (patch)
treec8dd81589e3231bbf275b279a5987d8cbebe2ccc /src/net/java/sip/communicator/util
parent2e1e00308e60632bf22bbabf0bfafcb17e97c43a (diff)
downloadjitsi-ff12a2c690c6b60ff6b52793d9cce579da783871.zip
jitsi-ff12a2c690c6b60ff6b52793d9cce579da783871.tar.gz
jitsi-ff12a2c690c6b60ff6b52793d9cce579da783871.tar.bz2
Adds an option to display peer names in call history tooltips.
Diffstat (limited to 'src/net/java/sip/communicator/util')
-rw-r--r--src/net/java/sip/communicator/util/ConfigurationUtils.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/util/ConfigurationUtils.java b/src/net/java/sip/communicator/util/ConfigurationUtils.java
index d6d735a..f80c4f8 100644
--- a/src/net/java/sip/communicator/util/ConfigurationUtils.java
+++ b/src/net/java/sip/communicator/util/ConfigurationUtils.java
@@ -308,6 +308,19 @@ public class ConfigurationUtils
private static boolean isSingleWindowInterfaceEnabled = false;
/**
+ * Whether addresses will be shown in call history tooltips.
+ */
+ private static boolean isHideAddressInCallHistoryTooltipEnabled = false;
+
+ /**
+ * The name of the property, whether to show addresses in call history
+ * tooltip.
+ */
+ private static final String HIDE_ADDR_IN_CALL_HISTORY_TOOLTIP_PROPERTY
+ = "net.java.sip.communicator.impl.gui.contactlist" +
+ ".HIDE_ADDRESS_IN_CALL_HISTORY_TOOLTIP_ENABLED";
+
+ /**
* The name of the show smileys property.
*/
private static final String SHOW_SMILEYS_PROPERTY
@@ -874,6 +887,10 @@ public class ConfigurationUtils
= configService.getBoolean(
"impl.gui.ACCEPT_PHONE_NUMBER_WITH_ALPHA_CHARS",
true);
+
+ isHideAddressInCallHistoryTooltipEnabled = configService.getBoolean(
+ HIDE_ADDR_IN_CALL_HISTORY_TOOLTIP_PROPERTY,
+ isHideAddressInCallHistoryTooltipEnabled);
}
/**
@@ -1744,6 +1761,15 @@ public class ConfigurationUtils
}
/**
+ * Whether addresses will be shown in call history tooltips.
+ * @return whether addresses will be shown in call history tooltips.
+ */
+ public static boolean isHideAddressInCallHistoryTooltipEnabled()
+ {
+ return isHideAddressInCallHistoryTooltipEnabled;
+ }
+
+ /**
* Updates the "singleWindowInterface" property through the
* <tt>ConfigurationService</tt>.
*