diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-06-17 18:02:38 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-06-17 18:02:38 +0100 |
commit | 5f7e8583de28afb9424666bbf9652b9774cf9499 (patch) | |
tree | 37ab15bef7ff780e512a24d685e11436ab1b6b84 /src/metadata-menu-item.vala | |
parent | 05e82f2c6a8a72aeb3a589b702e5a9f1d68251d9 (diff) | |
download | ayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.tar.gz ayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.tar.bz2 ayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.zip |
merge request comments applied
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r-- | src/metadata-menu-item.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala index be078bd..82926b1 100644 --- a/src/metadata-menu-item.vala +++ b/src/metadata-menu-item.vala @@ -26,7 +26,7 @@ public class MetadataMenuitem : Dbusmenu.Menuitem public static string sanitize_image_path(string path) { string result = path.strip(); - if(result.contains("file:///")){ + if(result.has_prefix("file:///")){ result = result.slice(7, result.len()); } debug("Sanitize image path - result = %s", result); |