aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-12-13 17:46:42 +0000
committerConor Curran <conor.curran@canonical.com>2010-12-13 17:46:42 +0000
commit2a35f9b78b75cd95090142b891c401a46eec9bf3 (patch)
tree9817caf23baf835dbbfa48ccb5689b24522fc1af /src/metadata-menu-item.vala
parentf800967fcabf6a9d7e6223ff8d6591f042496588 (diff)
downloadayatana-indicator-sound-2a35f9b78b75cd95090142b891c401a46eec9bf3.tar.gz
ayatana-indicator-sound-2a35f9b78b75cd95090142b891c401a46eec9bf3.tar.bz2
ayatana-indicator-sound-2a35f9b78b75cd95090142b891c401a46eec9bf3.zip
started along the road of removing the familiar db backend and replacing with the g-settings entry approach
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r--src/metadata-menu-item.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index e84e902..741bb9f 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -99,10 +99,10 @@ public class MetadataMenuitem : PlayerItem
{
File art_file = File.new_for_uri(uri);
if(art_file.is_native() == true){
- string path;
+ string path;
try{
- path = Filename.from_uri(uri.strip());
- this.property_set(prop, path);
+ path = Filename.from_uri ( uri.strip() );
+ this.property_set ( prop, path );
}
catch(ConvertError e){
warning("Problem converting URI %s to file path",