Email gateway interface usability improvements
- don't allow status request / settings unless registered already - if registered, status request is the default selected option Fixes #182
This commit is contained in:
parent
2adafdaadc
commit
d8aa484b8c
|
@ -4429,7 +4429,12 @@ class EmailGatewayDialog(QtGui.QDialog):
|
||||||
acct = accountClass(addressAtCurrentRow)
|
acct = accountClass(addressAtCurrentRow)
|
||||||
if isinstance(acct, GatewayAccount):
|
if isinstance(acct, GatewayAccount):
|
||||||
self.ui.radioButtonUnregister.setEnabled(True)
|
self.ui.radioButtonUnregister.setEnabled(True)
|
||||||
|
self.ui.radioButtonStatus.setEnabled(True)
|
||||||
|
self.ui.radioButtonStatus.setChecked(True)
|
||||||
|
self.ui.radioButtonSettings.setEnabled(True)
|
||||||
else:
|
else:
|
||||||
|
self.ui.radioButtonStatus.setEnabled(False)
|
||||||
|
self.ui.radioButtonSettings.setEnabled(False)
|
||||||
self.ui.radioButtonUnregister.setEnabled(False)
|
self.ui.radioButtonUnregister.setEnabled(False)
|
||||||
label = shared.config.get(addressAtCurrentRow, 'label')
|
label = shared.config.get(addressAtCurrentRow, 'label')
|
||||||
if label.find("@mailchuck.com") > -1:
|
if label.find("@mailchuck.com") > -1:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user