aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-08-18 15:51:01 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-08-18 15:51:01 +0200
commitb4d305f16bae6804dcf2acf8b9ecc4629807c150 (patch)
treedefa24d440ac7380e17acdee738674022001f6e2 /src/player-item.vala
parent986fc648fc6544aaa3bb40a17e1345e0247a4b57 (diff)
downloadayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.tar.gz
ayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.tar.bz2
ayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.zip
Import upstream version 0.4.0
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);
}