aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-11 17:52:07 -0600
committerKen VanDine <ken.vandine@canonical.com>2011-01-11 17:52:07 -0600
commitf4f168553cc7fc9ed09f76c805694abfcad70870 (patch)
treea477ffb0c58de4d2358fa75352c87773f7c2f245 /src/mpris2-controller.vala
parent77063c67d5013896106a90a10f2be84165a2ec90 (diff)
parent412bffad64182bfae1e2408b89f9488f0da38481 (diff)
downloadayatana-indicator-sound-f4f168553cc7fc9ed09f76c805694abfcad70870.tar.gz
ayatana-indicator-sound-f4f168553cc7fc9ed09f76c805694abfcad70870.tar.bz2
ayatana-indicator-sound-f4f168553cc7fc9ed09f76c805694abfcad70870.zip
releasing version 0.5.5-0ubuntu1
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index c43f5fe..fc61c12 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -18,12 +18,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using Dbusmenu;
-[DBus (name = "org.freedesktop.DBus.Properties")]
-public interface FreeDesktopProperties : Object{
- public signal void PropertiesChanged (string source, HashTable<string, Variant?> changed_properties,
- string[] invalid );
-}
-
/*
This class will entirely replace mpris-controller.vala hence why there is no
point in trying to get encorporate both into the same object model.
@@ -71,7 +65,7 @@ public class Mpris2Controller : GLib.Object
{
debug("properties-changed for interface %s and owner %s", interface_source, this.owner.dbus_name);
if ( changed_properties == null ||
- interface_source.has_prefix ( Mpris2Watcher.MPRIS_PREFIX ) == false ){
+ interface_source.has_prefix ( MPRIS_PREFIX ) == false ){
warning("Property-changed hash is null or this is an interface that doesn't concerns us");
return;
}
@@ -148,9 +142,8 @@ public class Mpris2Controller : GLib.Object
MetadataMenuitem.attributes_format());
if ( this.owner.use_playlists == true ){
- debug ("it thinks that there is a valid playlist interface");
this.fetch_playlists();
- this.fetch_active_playlist();
+ this.fetch_active_playlist();
}
}