Time here is in milliseconds, setting it to 1500 to make it stay for at least 1.5 seconds.

This commit is contained in:
Ryan Voots 2012-07-16 19:04:25 -04:00
parent 3690b0798e
commit 19f4036d8a

View file

@ -354,7 +354,7 @@ sub notify {
my $serv = $session->get_service('org.freedesktop.Notifications'); my $serv = $session->get_service('org.freedesktop.Notifications');
my $notifier = $serv->get_object('/org/freedesktop/Notifications', my $notifier = $serv->get_object('/org/freedesktop/Notifications',
'org.freedesktop.Notifications'); 'org.freedesktop.Notifications');
$notifier->Notify('Slic3r', 0, $self->{icon}, $title, $message, [], {}, 5); $notifier->Notify('Slic3r', 0, $self->{icon}, $title, $message, [], {}, 1500);
} }
}; };
} }