Tray creation in linux/unix now are dispatchAndWait

This commit is contained in:
nathan 2018-10-23 18:07:43 +02:00
parent 507c3dd846
commit 47f33bef1e
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ class _AppIndicatorNativeTray extends Tray {
}
};
GtkEventDispatch.dispatch(new Runnable() {
GtkEventDispatch.dispatchAndWait(new Runnable() {
@Override
public
void run() {

View File

@ -196,7 +196,7 @@ class _GtkStatusIconNativeTray extends Tray {
GtkEventDispatch.waitForEventsToComplete();
// we have to be able to set our title, otherwise the gnome-shell extension WILL NOT work
GtkEventDispatch.dispatch(new Runnable() {
GtkEventDispatch.dispatchAndWait(new Runnable() {
@Override
public
void run() {