Package: hal-device-manager
Version: 0.4.7-3
Severity: minor
Tags: patch

I got the following warning when running hal-device-manager:

/usr/share/hal/device-manager/Representation.py:14: GtkDeprecationWarning: 
gtk.TRUE is deprecated, use True instead

Maybe this only needs the following modification:

diff -ru hal-0.4.7/tools/device-manager/Representation.py 
hal-0.4.7.new/tools/device-manager/Representation.py
--- hal-0.4.7/tools/device-manager/Representation.py    2004-09-20 
20:31:15.000000000 +0200
+++ hal-0.4.7.new/tools/device-manager/Representation.py        2005-04-13 
12:17:39.168157056 +0200
@@ -11,7 +11,7 @@
     def load_and_scale_icon(self, path):
         """Helper function for loading an icon and scaling it to 16x16"""
         orig = gtk.gdk.pixbuf_new_from_file(path)
-        icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, gtk.TRUE, 8, 16, 16)
+        icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, TRUE, 8, 16, 16)
         orig.scale(icon, 0, 0, 16, 16,
                    0, 0,
                    16.0/orig.get_width(),


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages hal-device-manager depends on:
ii  hal                           0.4.7-3    Hardware Abstraction Layer
ii  python                        2.3.5-1    An interactive high-level object-o
ii  python2.3-dbus                0.23.2-3   simple interprocess messaging syst
ii  python2.3-glade2              2.6.1-2    GTK+ bindings: Glade support
ii  python2.3-gnome2              2.6.1-1    Python bindings for the GNOME desk

-- no debconf information

-- 
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature

Reply via email to