elementary / elementary/panel-network

Properly use asynchronous functions

Open
#287 0 comments 0 reactions 0 assignees View on GitHub
Priority: Wishlist Status: Confirmed
Dominant language
Vala
Stars
28
Forks
16
Avg merge
15h 37m
Merged PRs (30d)
4

Description

We are using async functions in NetworkManager which is great, but actually getting a result can take some time.

For the quick actions, we should make the button insensitive or in intermediate state until we get the result from the async call.

Some settings (like the VPN I think) can be cancelled early if you click on the button again before it has been completed, using the GLib.Cancellable in the function call would do the trick there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.