diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-06-21 12:25:46 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-06-21 12:25:46 +0100 |
commit | 87445b8921774ec705b4bb62429a5f69be941737 (patch) | |
tree | 74ef153839a96551294c421509ec1bd909e23d7c /src/metadata-menu-item.vala | |
parent | 2357b40b5530215fc018302eaa288241b436d025 (diff) | |
download | ayatana-indicator-sound-87445b8921774ec705b4bb62429a5f69be941737.tar.gz ayatana-indicator-sound-87445b8921774ec705b4bb62429a5f69be941737.tar.bz2 ayatana-indicator-sound-87445b8921774ec705b4bb62429a5f69be941737.zip |
more refactoring of vapis
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r-- | src/metadata-menu-item.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala index 02ae1c9..2b865f7 100644 --- a/src/metadata-menu-item.vala +++ b/src/metadata-menu-item.vala @@ -6,16 +6,16 @@ public class MetadataMenuitem : PlayerItem { public MetadataMenuitem() { - this.property_set(MENUITEM_PROP_TYPE, CommonDefs.DBUSMENU_METADATA_MENUITEM_TYPE); + this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_METADATA_MENUITEM_TYPE); } public override void update(HashMap<string, string> data) { - this.property_set(CommonDefs.DBUSMENU_METADATA_MENUITEM_TEXT_ARTIST, data.get("artist").strip()); - this.property_set(CommonDefs.DBUSMENU_METADATA_MENUITEM_TEXT_TITLE, data.get("title").strip()); - this.property_set(CommonDefs.DBUSMENU_METADATA_MENUITEM_TEXT_ALBUM, data.get("album").strip()); - this.property_set(CommonDefs.DBUSMENU_METADATA_MENUITEM_IMAGE_PATH, sanitize_image_path(data.get("arturl"))); + this.property_set(DBUSMENU_METADATA_MENUITEM_TEXT_ARTIST, data.get("artist").strip()); + this.property_set(DBUSMENU_METADATA_MENUITEM_TEXT_TITLE, data.get("title").strip()); + this.property_set(DBUSMENU_METADATA_MENUITEM_TEXT_ALBUM, data.get("album").strip()); + this.property_set(DBUSMENU_METADATA_MENUITEM_IMAGE_PATH, sanitize_image_path(data.get("arturl"))); } public static string sanitize_image_path(string path) |