changeset 1313:696315025220 trunk

[svn] Better, nenolod? :-p
author nemo
date Mon, 19 Jun 2006 14:33:54 -0700
parents f7244db08f40
children bd4c5ac7278e
files ChangeLog audacious/ui_fileinfo.c
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 19 14:06:54 2006 -0700
+++ b/ChangeLog	Mon Jun 19 14:33:54 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-19 21:06:54 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1536]
+  - solve the blink issue
+  
+
+  Changes:        Modified:
+  +8 -7           trunk/audacious/ui_fileinfo.c  
+
+
 2006-06-19 17:52:13 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [1534]
   RMI support for timidity by nemo, for which he would like to credit giacomos amidi-plug detection code.
--- a/audacious/ui_fileinfo.c	Mon Jun 19 14:06:54 2006 -0700
+++ b/audacious/ui_fileinfo.c	Mon Jun 19 14:33:54 2006 -0700
@@ -324,7 +324,7 @@
 		while(f)
 		{
 			/* ok. why did I not have strcasestr, thought glib had that one */
-			if (strstr(f,".jpg") || strstr(f,".jpeg") || strstr(f,".png") || strstr(f,".JPG") || strstr(f,".JPEG") || strstr(f,".PNG"))
+			if ((strstr(f,".jpg") || strstr(f,".jpeg") || strstr(f,".png") || strstr(f,".JPG") || strstr(f,".JPEG") || strstr(f,".PNG")) && !strstr(f,"back") && !strstr(f,"Back") && !strstr(f,"BACK")==-1)
 			{
 				tmp = g_strdup_printf("%s/%s", tuple->file_path, f);
 				fileinfo_entry_set_image("image_artwork", tmp);
@@ -374,7 +374,7 @@
 		while(f)
 		{
 			/* ok. why did I not have strcasestr, thought glib had that one */
-			if (strstr(f,".jpg") || strstr(f,".jpeg") || strstr(f,".png") || strstr(f,".JPG") || strstr(f,".JPEG") || strstr(f,".PNG"))
+			if ((strstr(f,".jpg") || strstr(f,".jpeg") || strstr(f,".png") || strstr(f,".JPG") || strstr(f,".JPEG") || strstr(f,".PNG")) && !strstr(f,"back") && !strstr(f,"Back") && !strstr(f,"BACK")==-1)
 			{
 				tmp = g_strdup_printf("%s/%s", tuple->file_path, f);
 				filepopup_entry_set_image("image_artwork", tmp);