changeset 1614:9b4678a2efc9 trunk

[svn] - If transparency fails, disable it.
author nhjm449
date Sun, 03 Sep 2006 22:04:17 -0700
parents 9becbe564217
children e402e0217870
files ChangeLog audacious/widgets/playlist_list.c
diffstat 2 files changed, 25 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 02 08:24:10 2006 -0700
+++ b/ChangeLog	Sun Sep 03 22:04:17 2006 -0700
@@ -1,3 +1,19 @@
+2006-09-02 15:24:10 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2157]
+  - chardet patch for Russian language witten by Valentine Sinitsyn.
+  
+
+  Changes:        Modified:
+  +1 -0           trunk/audacious/main.c  
+  +19 -0          trunk/audacious/util.c  
+  +2 -0           trunk/configure.ac  
+  +17 -0          trunk/librcd/Makefile.in  
+  +4 -0           trunk/librcd/README  
+  +269 -0         trunk/librcd/librcd.c  
+  +45 -0          trunk/librcd/librcd.h  
+  +899 -0         trunk/librcd/russian_table.h  
+
+
 2006-08-30 13:14:33 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2155]
   - revert equalizer.c and ui_playlist.c. :(
--- a/audacious/widgets/playlist_list.c	Sat Sep 02 08:24:10 2006 -0700
+++ b/audacious/widgets/playlist_list.c	Sun Sep 03 22:04:17 2006 -0700
@@ -108,10 +108,16 @@
 
 	gdk_error_trap_pop();
 
-	shade_gdkimage_generic(gdk_drawable_get_visual(GDK_WINDOW(playlistwin->window)),
-		ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);
+	if (GDK_IS_IMAGE(ximg))
+	{
+		shade_gdkimage_generic(gdk_drawable_get_visual(GDK_WINDOW(playlistwin->window)),
+			ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);
 
-	gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h);
+		gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h);
+	}
+	else {
+		cfg.playlist_transparent = FALSE;
+	}
 
 	g_object_unref(gc);