Remove the SRV feature, since the switch to Gio it’s always enabled.

This commit is contained in:
Emmanuel Gil Peyrot 2016-11-13 02:32:38 +00:00
parent 7a278d9123
commit d4f3488abe
1 changed files with 0 additions and 9 deletions

View File

@ -72,10 +72,6 @@ class FeaturesWindow:
_('Passwords can be stored securely and not just in plaintext.'), _('Passwords can be stored securely and not just in plaintext.'),
_('Requires gnome-keyring and python-gnome2-desktop, or kwalletcli.'), _('Requires gnome-keyring and python-gnome2-desktop, or kwalletcli.'),
_('Feature not available under Windows.')), _('Feature not available under Windows.')),
_('SRV'): (self.srv_available,
_('Ability to connect to servers which are using SRV records.'),
_('Requires dnsutils.'),
_('Requires nslookup to use SRV records.')),
_('Spell Checker'): (self.speller_available, _('Spell Checker'): (self.speller_available,
_('Spellchecking of composed messages.'), _('Spellchecking of composed messages.'),
_('Requires libgtkspell.'), _('Requires libgtkspell.'),
@ -199,11 +195,6 @@ class FeaturesWindow:
return False return False
return True return True
def srv_available(self):
if os.name == 'nt':
return True
return helpers.is_in_path('nslookup')
def speller_available(self): def speller_available(self):
try: try:
__import__('gtkspell') __import__('gtkspell')