Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
2590e359
Commit
2590e359
authored
Mar 13, 2012
by
Tails developers
Browse files
Make sure that time sync notification waits for Gnome.
It has been reported that the notification may not be shown otherwise.
parent
6860cd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/local/bin/tails-htp-notify-user
View file @
2590e359
...
...
@@ -58,6 +58,11 @@ my $notification = $notify->create(summary => $summary,
or
die
"
Failed to create notification object
";
debug
('
$notification:
'
.
"
\n
"
.
Dumper
(
$notification
));
# Make sure Gnome has started so the notification can be shown
until
(
system
("
pidof
",
"
gnome-panel
")
==
0
)
{
sleep
1
}
$notification
->
show
()
or
warn
"
Failed showing notification.
";
# Wait until htpdate is done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment