changeset 1304:46005e4bb063 trunk

[svn] - this p == tuple check really fucks things up if you move back to the previous tuple after the popup has gone away
author nenolod
date Sun, 18 Jun 2006 23:26:41 -0700
parents a9aba74678fc
children c81735c068c6
files ChangeLog audacious/ui_fileinfo.c
diffstat 2 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jun 18 23:19:46 2006 -0700
+++ b/ChangeLog	Sun Jun 18 23:26:41 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-19 06:19:46 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1518]
+  - nemo's patch applied to fileinfo
+  
+
+  Changes:        Modified:
+  +24 -12         trunk/audacious/ui_fileinfo.c  
+
+
 2006-06-19 06:06:45 +0000  Derek Pomery <nemo@m8y.org>
   revision [1516]
   fetch first jpeg/png in directory, hopefully is album image.. merged again, still needs fileinfo, maybe, and undoubtedly tweaking.  but bedtime dammit.
--- a/audacious/ui_fileinfo.c	Sun Jun 18 23:19:46 2006 -0700
+++ b/audacious/ui_fileinfo.c	Sun Jun 18 23:26:41 2006 -0700
@@ -67,7 +67,6 @@
 GtkWidget *fileinfo_win;
 GtkWidget *filepopup_win;
 
-void *p;  /* not as useful now that check on popup window is done */
 gchar *cur_dir;  /* only one album image per directory, no need to look again */
 
 static void
@@ -361,12 +360,6 @@
 
 	gtk_widget_realize(filepopup_win);
 
-	if (p == tuple)
-	{
-		gtk_widget_show(filepopup_win);
-		return;
-	}
-
 	filepopup_entry_set_text("label_title", tuple->track_name);
 	filepopup_entry_set_text("label_artist", tuple->performer);
 	filepopup_entry_set_text("label_album", tuple->album_name);
@@ -405,7 +398,6 @@
 	}
 
 	gtk_widget_show(filepopup_win);
-	p = tuple;
 }
 
 void