Bug#608411: libgnome-desktop-2-17: "Span" style for desktop background doesn't zoom.
Thomas E. Vaughan
tevaughan at gmail.com
Thu Dec 30 17:31:39 UTC 2010
Package: libgnome-desktop-2-17
Version: 2.30.2-2local1
Severity: normal
Tags: upstream patch
The problem is that, unless the image has *exactly* the
right dimensions, there will be constant-color bars in the
background on either side of the multi-monitor background.
--- gnome-desktop-2.30.2/libgnome-desktop/gnome-bg.c.orig 2010-12-30 10:13:04.000000000 -0700
+++ gnome-desktop-2.30.2/libgnome-desktop/gnome-bg.c 2010-12-30 09:45:52.000000000 -0700
@@ -748,7 +748,7 @@
switch (placement) {
case GNOME_BG_PLACEMENT_SPANNED:
- new = pixbuf_scale_to_fit (pixbuf, width, height);
+ new = pixbuf_scale_to_min (pixbuf, width, height);
break;
case GNOME_BG_PLACEMENT_ZOOMED:
new = pixbuf_scale_to_min (pixbuf, width, height);
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgnome-desktop-2-17 depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libstartup-notification0 0.10-1 library for program launch feedbac
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxrandr2 2:1.3.1-1 X11 RandR extension library
Versions of packages libgnome-desktop-2-17 recommends:
ii hwdata 0.230-1 hardware identification / configur
libgnome-desktop-2-17 suggests no packages.
-- no debconf information
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
-------------- next part --------------
--- gnome-desktop-2.30.2/libgnome-desktop/gnome-bg.c.orig 2010-12-30 10:13:04.000000000 -0700
+++ gnome-desktop-2.30.2/libgnome-desktop/gnome-bg.c 2010-12-30 09:45:52.000000000 -0700
@@ -748,7 +748,7 @@
switch (placement) {
case GNOME_BG_PLACEMENT_SPANNED:
- new = pixbuf_scale_to_fit (pixbuf, width, height);
+ new = pixbuf_scale_to_min (pixbuf, width, height);
break;
case GNOME_BG_PLACEMENT_ZOOMED:
new = pixbuf_scale_to_min (pixbuf, width, height);
More information about the pkg-gnome-maintainers
mailing list