aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2014-12-09 17:43:14 +0200
committerDamian Minkov <damencho@jitsi.org>2014-12-09 17:43:14 +0200
commit0a9a8ba6a260d9e013d39e25f732a4f7777f77aa (patch)
tree465908d641f5ac9c144699363eba992252cbd023 /src/net/java/sip/communicator/service
parent3349f8a0d44d989736780dc72a8a7e362b9c7956 (diff)
downloadjitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.zip
jitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.tar.gz
jitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.tar.bz2
Adds an option to disable advanced configuration for accounts which do not need it.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java b/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
index a000848..740f5b9 100644
--- a/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
+++ b/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
@@ -247,6 +247,16 @@ public abstract class AccountRegistrationWizard
}
/**
+ * Whether the advanced configuration is enabled. Gives an option
+ * to disable/hide advanced config button.
+ * @return whether the advanced configuration is enabled.
+ */
+ public boolean isAdvancedConfigurationEnabled()
+ {
+ return true;
+ }
+
+ /**
* Returns the wizard container, where all pages are added.
*
* @return the wizard container, where all pages are added