Use default desktop notification timeout.

This commit is contained in:
Henrik Brix Andersen 2012-07-17 15:38:53 +02:00
parent c7051cb7e7
commit de47f5fe72

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, [], {}, 1500); $notifier->Notify('Slic3r', 0, $self->{icon}, $title, $message, [], {}, -1);
} }
}; };
} }