aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-21 23:28:31 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-21 23:28:31 +0100
commit3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba (patch)
treeab04e6c242c3dfd34b835c9a798d22efcaf33a57 /src/player-item.vala
parent39e811f976a80011703e7b0c04b891a1f1abdd68 (diff)
downloadayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.tar.gz
ayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.tar.bz2
ayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.zip
trying for support
Diffstat (limited to 'src/player-item.vala')
-rw-r--r--src/player-item.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player-item.vala b/src/player-item.vala
index 7bf1063..fe1eeab 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -44,6 +44,11 @@ public class PlayerItem : Dbusmenu.Menuitem
int r = *v;
this.property_set_int(property, r);
}
+ else if(data.lookup(search_key).holds (typeof (bool))){
+ bool* b = (bool*)data.lookup(search_key);
+ bool input = *b;
+ this.property_set_bool(property, input);
+ }
}
}