Commit 4d2301de authored by Bastien Nocera's avatar Bastien Nocera

shell: Fix media-player keys not working

gsd-media-keys doesn't have a .service file itself, but responds to the
org.gnome.SettingsDaemon.MediaKeys name nonetheless. This however seems
to mean that signals emitted by gsd-media-keys will not have the
expected sender name. Seeing as the signals come from a proxy we created
ourselves with a well-known name, there's really no need to filter any
further.

This fixes pressed media player keys not doing anything with more recent
versions of gnome-settings-daemon (3.24).

https://bugzilla.gnome.org/show_bug.cgi?id=789738
parent 7b4ff77e
......@@ -135,9 +135,6 @@ media_player_key_pressed_cb (GDBusProxy *proxy,
{
const char *application, *key;
if (g_strcmp0 (sender_name, SD_NAME) != 0)
return;
if (g_strcmp0 (signal_name, "MediaPlayerKeyPressed") != 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment