changeset 1284:13d5b542f4fd trunk

[svn] - kludge
author nenolod
date Sun, 18 Jun 2006 00:28:12 -0700
parents 19b1d3f22e10
children 000a0c4207ae
files ChangeLog audacious/ui_fileinfo.c audacious/ui_playlist.h
diffstat 3 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jun 17 20:30:31 2006 -0700
+++ b/ChangeLog	Sun Jun 18 00:28:12 2006 -0700
@@ -1,3 +1,16 @@
+2006-06-18 03:30:31 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1478]
+  - when hovering over a playlist tuple, describe the tuple via a tooltip-like popup
+  
+
+  Changes:        Modified:
+  +1 -0           trunk/audacious/glade/Makefile  
+  +202 -0         trunk/audacious/glade/fileinfo_popup.glade  
+  +1 -0           trunk/audacious/main.c  
+  +119 -0         trunk/audacious/ui_fileinfo.c  
+  +4 -0           trunk/audacious/ui_fileinfo.h  
+
+
 2006-06-17 23:17:51 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [1474]
   Sync with upstream. This adds Westwood ADL format support.
--- a/audacious/ui_fileinfo.c	Sat Jun 17 20:30:31 2006 -0700
+++ b/audacious/ui_fileinfo.c	Sun Jun 18 00:28:12 2006 -0700
@@ -62,6 +62,7 @@
 #include "playlist_list.h"
 #include "build_stamp.h"
 #include "ui_fileinfo.h"
+#include "ui_playlist.h"
 
 GtkWidget *fileinfo_win;
 GtkWidget *filepopup_win;
@@ -129,6 +130,12 @@
 
 	gdk_window_get_pointer(playlistwin->window, &x, &y, NULL);
 
+	if (playlistwin_is_shaded())
+	{
+		ctr = 0;
+		return TRUE;
+	}
+
 	if (prev_x == x && prev_y == y)
 		ctr++;
 	else
--- a/audacious/ui_playlist.h	Sat Jun 17 20:30:31 2006 -0700
+++ b/audacious/ui_playlist.h	Sun Jun 18 00:28:12 2006 -0700
@@ -50,6 +50,7 @@
 
 #define PLAYLISTWIN_DEFAULT_FONT        "Sans Bold 8"
 
+gboolean playlistwin_is_shaded(void);
 void playlistwin_update_list(void);
 gboolean playlistwin_item_visible(gint index);
 gint playlistwin_get_toprow(void);