aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-11 20:04:04 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-11 20:04:04 +0100
commitb63691637ebc766e90c0da44e76cc7b9cc49872e (patch)
tree2c745c8bfa45f3d45402ce5e21308f5391e11de2 /src/player-item.vala
parent9244bd84d655fae8bbb2772d4aac1550b57a7c1c (diff)
downloadayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.tar.gz
ayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.tar.bz2
ayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.zip
mpris2 working for now, but its all going to change again
Diffstat (limited to 'src/player-item.vala')
-rw-r--r--src/player-item.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player-item.vala b/src/player-item.vala
index 288ac47..e5d8bfc 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -79,9 +79,11 @@ public class PlayerItem : Dbusmenu.Menuitem
this.property_set_int(property, (int)v.get_uint());
}
else if(v.holds (typeof (bool))){
+ debug("with value : %s", v.get_boolean().to_string());
this.property_set_bool(property, v.get_boolean());
}
}
+
if(this.property_get_bool(MENUITEM_PROP_VISIBLE) == false){
this.property_set_bool(MENUITEM_PROP_VISIBLE, true);
}