Commit cd9f7764 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

This fixes pressed media player keys not doing anything with more recent
versions of gnome-settings-daemon (3.24).
parent b91f8a64
...@@ -135,9 +135,6 @@ media_player_key_pressed_cb (GDBusProxy *proxy, ...@@ -135,9 +135,6 @@ media_player_key_pressed_cb (GDBusProxy *proxy,
{ {
const char *application, *key; const char *application, *key;
if (g_strcmp0 (sender_name, SD_NAME) != 0)
if (g_strcmp0 (signal_name, "MediaPlayerKeyPressed") != 0) if (g_strcmp0 (signal_name, "MediaPlayerKeyPressed") != 0)
return; 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