aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-17 18:02:38 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-17 18:02:38 +0100
commit5f7e8583de28afb9424666bbf9652b9774cf9499 (patch)
tree37ab15bef7ff780e512a24d685e11436ab1b6b84 /src/metadata-menu-item.vala
parent05e82f2c6a8a72aeb3a589b702e5a9f1d68251d9 (diff)
downloadayatana-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.vala2
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);