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)
|
||||
if isinstance(acct, GatewayAccount):
|
||||
self.ui.radioButtonUnregister.setEnabled(True)
|
||||
self.ui.radioButtonStatus.setEnabled(True)
|
||||
self.ui.radioButtonStatus.setChecked(True)
|
||||
self.ui.radioButtonSettings.setEnabled(True)
|
||||
else:
|
||||
self.ui.radioButtonStatus.setEnabled(False)
|
||||
self.ui.radioButtonSettings.setEnabled(False)
|
||||
self.ui.radioButtonUnregister.setEnabled(False)
|
||||
label = shared.config.get(addressAtCurrentRow, 'label')
|
||||
if label.find("@mailchuck.com") > -1:
|
||||
|
|
Reference in New Issue
Block a user