diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-08-22 17:25:52 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-08-27 15:03:41 -0300 |
commit | ac83b8900bb8d31e6f1f1fa983435659625ff91f (patch) | |
tree | 7f9f08bfbd6496cf351ef1c00b51973e4b79489c /src/leap/bitmask/gui/eip_status.py | |
parent | 37df6fde3fab3adfc9f7e733f165c2a35e510acf (diff) |
Hide button / improve message on missing helpers.
* Emit the `eip_missing_helpers` signal when the user chooses "Don't ask
me again".
* We emit that signal when some helper file is missing, even if the user
doesn't want a warning.
* Do the update of the eip enabled status with some delay to give some
time the eip machine to start and do what it needs with the
buttons/labels and avoid the 'hide turn on button if missing files'
being overridden.
Closes #5945.
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r-- | src/leap/bitmask/gui/eip_status.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py index abd6e2c9..1c167335 100644 --- a/src/leap/bitmask/gui/eip_status.py +++ b/src/leap/bitmask/gui/eip_status.py @@ -303,7 +303,6 @@ class EIPStatusWidget(QtGui.QWidget): """ # XXX this name is unfortunate. "disable" is also applied to a # pushbutton being grayed out. - logger.debug('Hiding EIP start button') # you might be tempted to change this for a .setEnabled(False). # it won't work. it's under the claws of the state machine. @@ -334,7 +333,7 @@ class EIPStatusWidget(QtGui.QWidget): Triggered after a successful login. Enables the start button. """ - # logger.debug('Showing EIP start button') + logger.debug('Showing EIP start button') self.eip_button.show() self.hide_eip_cancel_button() |