Gradio
Gradio copied to clipboard
Startup notification broken if browser running in background
When running gradio in the background, if you click on gradio icon in dock, startup notification process is not completed making appmenu unusable until a timeout...
Here how to fix it (based on Lollypop code so you need to translate this to Vala) in Gio.Application.init():
self.register(None)
if self.get_is_remote():
Gdk.notify_startup_complete()