Commit e7888244 authored by Tails developers's avatar Tails developers
Browse files

Make Unsafe Web Browser notifications work again.

Running `notify-send` as root doesn't show anything, so we fallback on
our reliable `tilas-notify-user` instead.
parent 7efad3aa
......@@ -81,7 +81,7 @@ verify_start () {
show_start_notification () {
local title="`gettext \"Starting the Unsafe Browser...\"`"
local body="`gettext \"This may take a while, so please be patient.\"`"
notify-send -t 10000 "${title}" "${body}"
tails-notify-user "${title}" "${body}" 10000
}
setup_chroot () {
......@@ -214,7 +214,7 @@ run_browser_in_chroot () {
show_shutdown_notification () {
local title="`gettext \"Shutting down the Unsafe Browser...\"`"
local body="`gettext \"This may take a while, and you may not restart the Unsafe Browser until it is properly shut down.\"`"
notify-send -t 10000 "${title}" "${body}"
tails-notify-user "${title}" "${body}" 10000
}
maybe_restart_tor () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment