Bug#243334: Fails to load some of its own icons

Michel Daenzer Michel Daenzer <daenzer@debian.org>, 243334@bugs.debian.org
Mon, 12 Apr 2004 16:31:58 +0200


This is a multi-part MIME message sent by reportbug.

--===============1589537474==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: totem
Version: 0.99.10-1
Severity: normal
Tags: experimental patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Without this patch, totem doesn't even try to load some of the icons it
ships:

** (totem:3825): WARNING **: Couldn't find themed icon for
"stock-media-play"
                                                                                
** (totem:3825): WARNING **: Couldn't find themed icon for
"stock-media-pause"
                                                                                
** (totem:3825): WARNING **: Couldn't find themed icon for
"stock-media-prev"
                                                                                
** (totem:3825): WARNING **: Couldn't find themed icon for
"stock-media-next"

Now I'll have to investigate why these stock icons don't work with any GTK
theme here...


- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.5-rc2-ben0-ck1
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8

Versions of packages totem depends on:
ii  debconf [debconf-2.0]       1.4.16       Debian configuration management sy
ii  gconf2                      2.6.0-2      GNOME configuration database syste
ii  libart-2.0-2                2.3.16-3     Library of functions for 2D graphi
ii  libatk1.0-0                 1.6.0-2      The ATK accessibility toolkit
ii  libaudiofile0               0.2.6-3      Open-source version of SGI's audio
ii  libbonobo2-0                2.6.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0              2.6.0-1      The Bonobo UI library
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libesd0                     0.2.29-1     Enlightened Sound Daemon - Shared 
ii  libfreetype6                2.1.7-2      FreeType 2 font engine, shared lib
ii  libgcc1                     1:3.4-0pre4  GCC support library
ii  libgconf2-4                 2.6.0-2      GNOME configuration database syste
ii  libgcrypt7                  1.1.90-1.1   LGPL Crypto library - runtime libr
ii  libglade2-0                 1:2.3.6-4    Library to load .glade files at ru
ii  libglib2.0-0                2.4.0-2      The GLib library of C routines
ii  libgnome-desktop-2          2.6.0-4      Utility library for loading .deskt
ii  libgnome-keyring0           0.2.0-3      GNOME keyring services library
ii  libgnome2-0                 2.6.0-4      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0           2.6.0-3      A powerful object-oriented display
ii  libgnomeui-0                2.6.0-7      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              2.6.0-4      The GNOME virtual file-system libr
ii  libgnutls10                 1.0.4-3      GNU TLS library - runtime library
ii  libgpg-error0               0.7-1        library for common error values an
ii  libgtk2.0-0                 2.4.0-2      The GTK+ graphical user interface 
ii  libice6                     4.3.0-7      Inter-Client Exchange library
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  liblircclient0              0.6.6-7      LIRC client library
ii  liborbit2                   1:2.10.0-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.4.0-1      Layout and rendering of internatio
ii  libpopt0                    1.7-4        lib for parsing cmdline parameters
ii  libsm6                      4.3.0-7      X Window System Session Management
ii  libstartup-notification0    0.5-9        library for program launch feedbac
ii  libstdc++5                  1:3.3.3-6    The GNU Standard C++ Library v3
ii  libtasn1-2                  0.2.7-1      Manage ASN.1 structures (runtime)
ii  libx11-6                    4.3.0-7      X Window System protocol client li
ii  libxext6                    4.3.0-7      X Window System miscellaneous exte
ii  libxine1                    1-rc3c-1     the xine video/media player librar
ii  libxml2                     2.6.8-1      GNOME XML library
ii  libxrandr2                  4.3.0-7      X Window System Resize, Rotate and
ii  libxrender1                 0.8.3-7      X Rendering Extension client libra
ii  libxtst6                    4.3.0-7      X Window System event recording an
ii  libxv1                      4.3.0-7      X Window System video extension li
ii  scrollkeeper                0.3.14-7     A free electronic cataloging syste
ii  xlibs                       4.3.0-7      X Window System client libraries m
ii  zlib1g                      1:1.2.1-5    compression library - runtime

- -- debconf information excluded

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAeqheWoGvjmrbsgARArHnAJ41KApL0VMF78XgZrFn6iXggwRzlACgi93w
hiq6tsbrznUg6eAO2YDftCk=
=LO/x
-----END PGP SIGNATURE-----

--===============1589537474==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="totem.diff"

--- totem-0.99.10.orig/src/totem-stock-icons.c	2004-03-24 12:26:12.000000000 +0100
+++ totem-0.99.10/src/totem-stock-icons.c	2004-04-12 15:27:41.765624360 +0200
@@ -210,6 +210,11 @@ totem_named_icons_init (Totem *totem, gb
 		}
 
 		if (pixbuf == NULL) {
+			pixbuf = totem_get_pixbuf_from_totem_install
+				(items[i].fn3);
+		}
+
+		if (pixbuf == NULL) {
 			g_warning ("Couldn't find themed icon for \"%s\"",
 					items[i].fn1);
 			continue;

--===============1589537474==--