logo       

amiconn: apps dbtree.c,1.4,1.5: msg#00079

systems.archos.rockbox.cvs

Subject: amiconn: apps dbtree.c,1.4,1.5

Update of /cvsroot/rockbox/apps
In directory labb:/tmp/cvs-serv31640/apps

Modified Files:
dbtree.c
Log Message:
Player: Return the correct icon for id3 database browsing.

Index: dbtree.c
===================================================================
RCS file: /cvsroot/rockbox/apps/dbtree.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- dbtree.c 17 Jan 2005 22:48:03 -0000 1.4
+++ dbtree.c 18 Jan 2005 00:04:08 -0000 1.5
@@ -368,7 +368,18 @@
#else
int db_get_icon(struct tree_context* c)
{
- (void)c;
- return Folder;
+ int icon;
+ switch (c->currtable)
+ {
+ case allsongs:
+ case songs:
+ icon = File;
+ break;
+
+ default:
+ icon = Folder;
+ break;
+ }
+ return icon;
}
#endif

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise