Skip to content
Snippets Groups Projects
Commit d2c7068e authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

garcon-gtk: Load GarconMenu asynchronously

This loading makes many disk accesses when reading the `.desktop` files,
which can take several seconds for only a hundred entries, on machines
equipped with mechanical disks and when these files have not yet been
cached.

This way, the loading is done as soon as possible in parallel, and we
wait until it is finished if necessary during a request to show the
menu. We can then start populating the GtkMenu synchronously, according
to the process described in the previous commit message.

Helps: #5, xfce4-panel#485
Fixes: #3, xfce4-panel#184
MR: !18
parent d0703ac6
No related branches found
No related tags found
1 merge request!18garcon-gtk: Reduce latency when displaying the menu
Pipeline #14844 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment