r25417 - in /desktop/unstable/hamster-applet/debian: changelog patches/10_colordepth.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Oct 19 23:19:35 UTC 2010


Author: joss
Date: Tue Oct 19 23:19:34 2010
New Revision: 25417

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25417
Log:
10_colordepth.patch: patch from Étienne Loks to avoid crashes when 
the colordepth is not 24 bits. Closes: #579723.

Added:
    desktop/unstable/hamster-applet/debian/patches/10_colordepth.patch
Modified:
    desktop/unstable/hamster-applet/debian/changelog
    desktop/unstable/hamster-applet/debian/patches/series

Modified: desktop/unstable/hamster-applet/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/hamster-applet/debian/changelog?rev=25417&op=diff
==============================================================================
--- desktop/unstable/hamster-applet/debian/changelog [utf-8] (original)
+++ desktop/unstable/hamster-applet/debian/changelog [utf-8] Tue Oct 19 23:19:34 2010
@@ -1,3 +1,10 @@
+hamster-applet (2.30.2-2) UNRELEASED; urgency=low
+
+  * 10_colordepth.patch: patch from Étienne Loks to avoid crashes when 
+    the colordepth is not 24 bits. Closes: #579723.
+
+ -- Josselin Mouette <joss at debian.org>  Wed, 20 Oct 2010 01:18:42 +0200
+
 hamster-applet (2.30.2-1) unstable; urgency=low
 
   * New upstream release.

Added: desktop/unstable/hamster-applet/debian/patches/10_colordepth.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/hamster-applet/debian/patches/10_colordepth.patch?rev=25417&op=file
==============================================================================
--- desktop/unstable/hamster-applet/debian/patches/10_colordepth.patch (added)
+++ desktop/unstable/hamster-applet/debian/patches/10_colordepth.patch [utf-8] Tue Oct 19 23:19:34 2010
@@ -1,0 +1,22 @@
+Index: hamster-applet-2.30.2/src/hamster/widgets/facttree.py
+===================================================================
+--- hamster-applet-2.30.2.orig/src/hamster/widgets/facttree.py	2010-10-20 01:18:15.778681297 +0200
++++ hamster-applet-2.30.2/src/hamster/widgets/facttree.py	2010-10-20 01:18:27.407182679 +0200
+@@ -91,7 +91,7 @@ class FactTree(gtk.TreeView):
+         self.box = None
+ 
+ 
+-        pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
++        pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
+         _test_context = pixmap.cairo_create()
+         self._test_layout = _test_context.create_layout()
+         font = pango.FontDescription(gtk.Style().font_desc.to_string())
+@@ -455,7 +455,7 @@ class FactCellRenderer(gtk.GenericCellRe
+         if not self.data or "id" not in self.data:
+             return None
+         fact = self.data
+-        pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
++        pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
+         context = pixmap.cairo_create()
+ 
+         layout = context.create_layout()

Modified: desktop/unstable/hamster-applet/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/hamster-applet/debian/patches/series?rev=25417&op=diff
==============================================================================
--- desktop/unstable/hamster-applet/debian/patches/series [utf-8] (original)
+++ desktop/unstable/hamster-applet/debian/patches/series [utf-8] Tue Oct 19 23:19:34 2010
@@ -1,2 +1,3 @@
 01_startup-fix.patch
 02_absolute-imports.patch
+10_colordepth.patch




More information about the pkg-gnome-commits mailing list