diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-12 09:17:03 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-07-12 09:17:03 +0000 |
commit | 98c77c44a6c374a3fab401eb791ec4e968bf7168 (patch) | |
tree | b81019f0a3b44512a6e033752b901165ff645089 /src/mpris2-watcher.vala | |
parent | 1f37b724c2eeb9af4d23de4b28c4ed39f50ed5a0 (diff) | |
parent | 9507f278131fc855c03a037cdba1053f958d2987 (diff) | |
download | ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.tar.gz ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.tar.bz2 ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.zip |
Remove gtk and dbusmenu. Sorry for the big changeset.
I'd appreciate a good deal of testing before merging this into the wild ;).
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'src/mpris2-watcher.vala')
-rw-r--r-- | src/mpris2-watcher.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpris2-watcher.vala b/src/mpris2-watcher.vala index cdfb9c6..4a1ab6e 100644 --- a/src/mpris2-watcher.vala +++ b/src/mpris2-watcher.vala @@ -69,7 +69,7 @@ public class Mpris2Watcher : GLib.Object // At startup check to see if there are clients up that we are interested in // More relevant for development and daemon's like mpd. - public async void check_for_active_clients() + async void check_for_active_clients() { Variant interfaces; @@ -94,12 +94,12 @@ public class Mpris2Watcher : GLib.Object MprisRoot? mpris2_root = this.create_mpris_root(address); if (mpris2_root == null) return; bool use_playlists = this.supports_playlists ( address ); - client_appeared (mpris2_root.DesktopEntry, address, use_playlists); + client_appeared (mpris2_root.DesktopEntry + ".desktop", address, use_playlists); } } } - public void name_owner_changed (DBusConnection con, string sender, string object_path, + void name_owner_changed (DBusConnection con, string sender, string object_path, string interface_name, string signal_name, Variant parameters) { string name, previous_owner, current_owner; @@ -116,7 +116,7 @@ public class Mpris2Watcher : GLib.Object else if (previous_owner == "" && current_owner != "") { debug ("Client '%s' has appeared", name); bool use_playlists = this.supports_playlists ( name ); - client_appeared (mpris2_root.DesktopEntry, name, use_playlists); + client_appeared (mpris2_root.DesktopEntry + ".desktop", name, use_playlists); } } |