haecker-felix / Gradio

GNU General Public License v3.0
326 stars 51 forks source link

MPRIS raise method isn't working #322

Closed germanfr closed 6 years ago

germanfr commented 6 years ago

In Cinnamon, when the MPRIS raise method is called, Gradio does nothing. I launched it from the terminal and I got this error:

** Message: 21:35:23.558: gradio-mpris.vala:155: Requested _raise_

(gradio:12825): Gtk-CRITICAL **: 21:35:23.558: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed

Gradio 7.1

germanfr commented 6 years ago

I don't know Vala, but I'd say here is where the error is. The callback could be not receiving the window as a parameter.