Tray creation in linux/unix now are dispatchAndWait
This commit is contained in:
parent
507c3dd846
commit
47f33bef1e
|
@ -219,7 +219,7 @@ class _AppIndicatorNativeTray extends Tray {
|
|||
}
|
||||
};
|
||||
|
||||
GtkEventDispatch.dispatch(new Runnable() {
|
||||
GtkEventDispatch.dispatchAndWait(new Runnable() {
|
||||
@Override
|
||||
public
|
||||
void run() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user