diff options
author | sajolida <sajolida@pimienta.org> | 2016-04-06 10:42:03 +0000 |
---|---|---|
committer | sajolida <sajolida@pimienta.org> | 2016-04-06 10:51:03 +0000 |
commit | b3fbf4d9fec3448b934ec71e231eff98f27a6ac0 (patch) | |
tree | 1953b9b9966540490a2b68c5c5fc2ed0e433b17e /config/chroot_local-includes | |
parent | 900bb71d34a71f0373adc24355decc25ddd6b0fc (diff) |
Explain how to get rid of the warning after doing the visible part of the migration (#11187)
Diffstat (limited to 'config/chroot_local-includes')
-rwxr-xr-x | config/chroot_local-includes/usr/local/bin/icedove | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/icedove b/config/chroot_local-includes/usr/local/bin/icedove index 53ca70f..440dfa3 100755 --- a/config/chroot_local-includes/usr/local/bin/icedove +++ b/config/chroot_local-includes/usr/local/bin/icedove @@ -16,10 +16,17 @@ claws_mail_config_is_persistent() { } warn_about_claws_mail_persistence() { + local dialog_msg="<b><big>`gettext \"The <b>Claws Mail</b> persistence feature is activated.\"`</big></b> `gettext \"If you have emails saved in <b>Claws Mail</b>, you should <a href='https://tails.boum.org/doc/anonymous_internet/claws_mail_to_icedove'>migrate your data</a> before starting <b>Icedove</b>.\"`" + if [ -f "${PROFILE}/prefs.js" ]; then + dialog_msg="${dialog_msg} + +`gettext \"If you already migrated your emails to <b>Icedove</b>, you should <a href='https://tails.boum.org/doc/anonymous_internet/claws_mail_to_icedove#delete'>delete all your <b>Claws Mail</b> data</a> to remove this warning.\"`" + fi + local launch="`gettext \"_Launch\"`" local exit="`gettext \"_Exit\"`" # Since zenity can't set the default button to cancel, we switch the |