aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-07 15:34:18 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-07 15:34:18 +0100
commitb69ebdb28bb8b2d508c5788977d3c49f1d2fd28a (patch)
tree2cf97e1956bc8fafff1205b40d2de8adab009375 /src
parent0c8770bdf288089fe2e0dce4e3c4b2743bb7a15d (diff)
downloadayatana-indicator-sound-b69ebdb28bb8b2d508c5788977d3c49f1d2fd28a.tar.gz
ayatana-indicator-sound-b69ebdb28bb8b2d508c5788977d3c49f1d2fd28a.tar.bz2
ayatana-indicator-sound-b69ebdb28bb8b2d508c5788977d3c49f1d2fd28a.zip
tidy up on the print outs
Diffstat (limited to 'src')
-rw-r--r--src/metadata-menu-item.vala13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index 4e66bb0..581fa10 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -46,12 +46,6 @@ public class MetadataMenuitem : PlayerItem
string path = Environment.get_user_cache_dir().dup().concat(ALBUM_ART_DIR_SUFFIX);
GLib.File? album_art_dir = GLib.File.new_for_uri(path);
-
- /*if(album_art_dir == null || album_art_dir.query_exists(null) == false){
- warning("here %s %s", (album_art_dir.query_exists(null) == false).to_string(), path);
- return;
- }
- */
if(delete_album_art_contents(album_art_dir) == false)
{
@@ -72,7 +66,7 @@ public class MetadataMenuitem : PlayerItem
{
bool result = true;
try {
- var e = dir.enumerate_children (FILE_ATTRIBUTE_STANDARD_NAME + "," + FILE_ATTRIBUTE_STANDARD_TYPE ,
+ var e = dir.enumerate_children (FILE_ATTRIBUTE_STANDARD_NAME,
FileQueryInfoFlags.NOFOLLOW_SYMLINKS,
null);
while (true)
@@ -117,10 +111,9 @@ public class MetadataMenuitem : PlayerItem
// eitherway return, the artwork was local
return;
}
- // If we didn't manage to create the temp dir
- // don't bother with remote
debug("fetch_art -remotely %s", this.album_art_cache_dir);
-
+ // If we didn't manage to create the temp dir
+ // don't bother with remote
if(this.album_art_cache_dir == null){
return;
}