diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-06-21 19:36:21 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-06-21 19:36:21 +0100 |
commit | 6e001f4e0606bce9d3eb070df97d44a7b10081c5 (patch) | |
tree | 74373818cebb4d313b7d6d7988b104e8e2ff85c5 /src/metadata-menu-item.vala | |
parent | 7be2c7248a0b29ea74e8e36db405d5974995a57b (diff) | |
download | ayatana-indicator-sound-6e001f4e0606bce9d3eb070df97d44a7b10081c5.tar.gz ayatana-indicator-sound-6e001f4e0606bce9d3eb070df97d44a7b10081c5.tar.bz2 ayatana-indicator-sound-6e001f4e0606bce9d3eb070df97d44a7b10081c5.zip |
wip
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r-- | src/metadata-menu-item.vala | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala index 5464074..8d626ca 100644 --- a/src/metadata-menu-item.vala +++ b/src/metadata-menu-item.vala @@ -33,19 +33,8 @@ public class MetadataMenuitem : PlayerItem results.set(MENUITEM_TEXT_TITLE, typeof(string)); results.set(MENUITEM_TEXT_ARTIST, typeof(string)); results.set(MENUITEM_TEXT_ALBUM, typeof(string)); - results.set(MENUITEM_TEXT_ARTURL, typeof(string)); + results.set(MENUITEM_ARTURL, typeof(string)); return results; } - - public static HashMap<string, string> format_updates(HashMap<string, Value?> data) - { - HashMap<string,string> results = new HashMap<string, string>(); - - results.set(MENUITEM_TEXT_TITLE, (string)data.lookup("title").strip()); - results.set(MENUITEM_TEXT_ARTIST, (string)data.lookup("artist").strip()); - results.set(MENUITEM_TEXT_ALBUM, (string)data.lookup("album").strip(), typeof(string)); - results.set(MENUITEM_TEXT_ARTURL, sanitize_image_path((string)data.lookup("arturl").strip()), typeof(string)); - return results; - } }
\ No newline at end of file |