diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-14 18:03:32 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-14 18:03:32 +0100 |
commit | bf4f73249f5b6bf4c9196f251382c5a6cec9634f (patch) | |
tree | bfb29b5498501f304cfb89d68aecde6b58e564b5 /src/player-item.vala | |
parent | 07a314b698c43f47d706a1b87b8101a2f6edc4db (diff) | |
download | ayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.tar.gz ayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.tar.bz2 ayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.zip |
scrub bar almost working - vala Glib value bugs again are biting me
Diffstat (limited to 'src/player-item.vala')
-rw-r--r-- | src/player-item.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player-item.vala b/src/player-item.vala index 3e10b7b..e7f7c67 100644 --- a/src/player-item.vala +++ b/src/player-item.vala @@ -47,7 +47,8 @@ public class PlayerItem : Dbusmenu.Menuitem if(ensure_valid_updates(data, attributes) == false){ debug("PlayerItem::Update -> The hashtable update does not contain what we were expecting - just leave it!"); return; - } + } + foreach(string property in attributes){ string[] input_keys = property.split("-"); string search_key = input_keys[input_keys.length-1 : input_keys.length][0]; @@ -57,6 +58,7 @@ public class PlayerItem : Dbusmenu.Menuitem if (v.holds (typeof (string))){ string update = v.get_string().strip(); debug("with value : %s", update); + // Special case for the arturl URI's. if(property.contains("arturl")){ try{ update = Filename.from_uri(update.strip()); |