mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Time here is in milliseconds, setting it to 1500 to make it stay for at least 1.5 seconds.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user