tags 432164 patch thanks Attached is the patch for the NMU.
-- Eric Evans [EMAIL PROTECTED]
--- debian/changelog 2007-07-09 17:20:32.000000000 -0500
+++ debian/changelog 2007-07-09 16:18:31.000000000 -0500
@@ -1,3 +1,11 @@
+exaile (0.2.10+debian-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Applied patch to substitute a hard-coded color depth with the current
+ default color depth, (Closes: #432164).
+
+ -- Eric Evans <[EMAIL PROTECTED]> Mon, 09 Jul 2007 16:14:07 -0500
+
exaile (0.2.10+debian-1) unstable; urgency=low
* New upstream release
--- debian/patches/00list 2007-07-09 17:20:32.000000000 -0500
+++ debian/patches/00list 2007-07-09 16:08:31.000000000 -0500
@@ -1 +1,2 @@
01_fix_makefile_for_pysupport
+432164
--- debian/patches/432164.dpatch 1969-12-31 18:00:00.000000000 -0600
+++ debian/patches/432164.dpatch 2007-07-09 16:12:36.000000000 -0500
@@ -0,0 +1,20 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 432164.dpatch
+## by Eric Evans <[EMAIL PROTECTED]> and Alessandro Arrichiello
+##
+## DP: Use default color depth, not hard-code value of 24 bits.
+
[EMAIL PROTECTED]@
+--- exaile-0.2.10+debian/xl/xlmisc.py.orig 2007-06-25 19:03:21.000000000 +0200
++++ exaile-0.2.10+debian/xl/xlmisc.py 2007-06-25 19:03:49.000000000 +0200
+@@ -1709,8 +1709,8 @@ def get_text_icon(widget, text, width, h
+ """
+ if BITMAP_CACHE.has_key("%s - %sx%s - %s" % (text, width, height, bgcolor)):
+ return BITMAP_CACHE["%s - %sx%s - %s" % (text, width, height, bgcolor)]
+-
+- pixmap = gtk.gdk.Pixmap(None, width, height, 24)
++ default_visual = gtk.gdk.visual_get_system()
++ pixmap = gtk.gdk.Pixmap(None, width, height, default_visual.depth)
+ colormap = gtk.gdk.colormap_get_system()
+ white = colormap.alloc_color(65535, 65535, 65535)
+ black = colormap.alloc_color(0, 0, 0)
signature.asc
Description: Digital signature

