aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-22 11:31:31 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-22 11:31:31 +0100
commit770b3266e2e7a92efb220f990d10ee0e36577b0f (patch)
treef50a3ea7914fe3b26da2a83ae3e6ed05fc375948 /src/player-item.vala
parent3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba (diff)
downloadayatana-indicator-sound-770b3266e2e7a92efb220f990d10ee0e36577b0f.tar.gz
ayatana-indicator-sound-770b3266e2e7a92efb220f990d10ee0e36577b0f.tar.bz2
ayatana-indicator-sound-770b3266e2e7a92efb220f990d10ee0e36577b0f.zip
automatic updates at start up now working properly - still vala oddities to solve but functionality has not been hampered
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 fe1eeab..3cac208 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -35,7 +35,9 @@ public class PlayerItem : Dbusmenu.Menuitem
foreach(string property in attributes){
string[] input_keys = property.split("-");
string search_key = input_keys[input_keys.length-1 : input_keys.length][0];
+ debug("search key = %s", search_key);
if (data.lookup(search_key).holds (typeof (string))){
+ debug("track data change player item update");
this.property_set(property, this.sanitize_string(data.lookup(search_key) as string));
}
else if (data.lookup(search_key).holds (typeof (int))){