summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/platform_init
diff options
context:
space:
mode:
authorKali Kaneko <kali@futeisha.org>2014-08-27 13:06:47 -0500
committerKali Kaneko <kali@futeisha.org>2014-08-27 13:06:47 -0500
commit1726f2818061bf2ae35ef4c9ffe8da44411ea80e (patch)
tree7f9f08bfbd6496cf351ef1c00b51973e4b79489c /src/leap/bitmask/platform_init
parent37df6fde3fab3adfc9f7e733f165c2a35e510acf (diff)
parentac83b8900bb8d31e6f1f1fa983435659625ff91f (diff)
Merge remote-tracking branch 'ivan-github/bug/5945_not-adding-helper-files' into develop
Diffstat (limited to 'src/leap/bitmask/platform_init')
-rw-r--r--src/leap/bitmask/platform_init/initializers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/bitmask/platform_init/initializers.py b/src/leap/bitmask/platform_init/initializers.py
index f56b9330..6c62734c 100644
--- a/src/leap/bitmask/platform_init/initializers.py
+++ b/src/leap/bitmask/platform_init/initializers.py
@@ -164,6 +164,7 @@ def check_missing():
logger.debug(
"Setting alert_missing_scripts to False, we will not "
"ask again")
+ init_signals.eip_missing_helpers.emit()
config.set_alert_missing_scripts(False)
if complain_missing and missing_some:
@@ -171,6 +172,12 @@ def check_missing():
msg = _get_missing_complain_dialog(missing)
ret = msg.exec_()
+ # If there is some missing file and we don't want to complain, we emit the
+ # 'missing helpers' signal so the eip status can show that some files are
+ # missing.
+ if missing_some and not alert_missing and not complain_missing:
+ init_signals.eip_missing_helpers.emit()
+
#
# windows initializers
#