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
650047c043
commit
5cb1fbb7b6
|
@ -4430,7 +4430,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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user