aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-watcher.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-12-06 15:33:58 +0000
committerConor Curran <conor.curran@canonical.com>2010-12-06 15:33:58 +0000
commitaef17a4810d3480b64b20dd6aebd8b12e104778a (patch)
treeb7faa7c5b470cead9caf8e722a6b8078ce0171c0 /src/mpris2-watcher.vala
parent65127a75569ae72173423510dedbc639f71cd9ba (diff)
downloadayatana-indicator-sound-aef17a4810d3480b64b20dd6aebd8b12e104778a.tar.gz
ayatana-indicator-sound-aef17a4810d3480b64b20dd6aebd8b12e104778a.tar.bz2
ayatana-indicator-sound-aef17a4810d3480b64b20dd6aebd8b12e104778a.zip
registration working perfectly and operational all over gdbus
Diffstat (limited to 'src/mpris2-watcher.vala')
-rw-r--r--src/mpris2-watcher.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpris2-watcher.vala b/src/mpris2-watcher.vala
index 7e41b5f..1cf8baa 100644
--- a/src/mpris2-watcher.vala
+++ b/src/mpris2-watcher.vala
@@ -34,7 +34,7 @@ public class Mpris2Watcher : GLib.Object
FreeDesktopObject fdesktop_obj;
public signal void client_appeared ( string desktop_name );
- public signal void client_disappeared ( string desktop_name );
+ public signal void client_disappeared ( string mpris_root_interface );
public Mpris2Watcher ()
{
@@ -72,11 +72,11 @@ public class Mpris2Watcher : GLib.Object
return;
}
if (previous_owner != "" && current_owner == "") {
- debug ("Service '%s' going down", name);
- client_disappeared (mpris2_root.DesktopEntry);
+ debug ("Client '%s' gone down", name);
+ client_disappeared (name);
}
else if (previous_owner == "" && current_owner != "") {
- debug ("Service '%s' has appeared", name);
+ debug ("Client '%s' has appeared", name);
client_appeared (mpris2_root.DesktopEntry);
}
}