Package: deskbar-applet
Version: 2.14.0.1-2
Severity: minor

Hello,

I tried changing my panel background colour and the deskbar applet 
did not react to this change. I think the applet should have it's 
border in the panel colour. The inner of the gtkEntry should also 
probably change it's colour.

Here is a bit of code that should do it for the applet. If I have 
some time (hopefully this weekend I hope to get some) I'll try to 
create a real patch.




    def on_bckg_change(self, widget, background, colour, pixmap):
        logger.debug('New background: %s,%s,%s' % (background, colour, pixmap))
        if background == gnomeapplet.NO_BACKGROUND:
            pass
        elif background == gnomeapplet.COLOR_BACKGROUND:
            self.applet.modify_bg(gtk.STATE_NORMAL, colour)
        elif background == gnomeapplet.PIXMAP_BACKGROUND:
            copy = self.applet.get_style().copy()
            copy.bg_pixmap[gtk.STATE_NORMAL] = pixmap
            self.applet.set_style(copy)


Thank you.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)

Versions of packages deskbar-applet depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.11.4-1        The ATK accessibility toolkit
ii  libbonobo2-0             2.14.0-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.14.0-1        The Bonobo UI library
ii  libc6                    2.3.6-5         GNU C Library: Shared libraries an
ii  libcairo2                1.0.2-3         The Cairo 2D vector graphics libra
ii  libebook1.2-5            1.4.2.1-2       Client library for evolution addre
ii  libedataserver1.2-4      1.4.2.1-2       Utility library for evolution data
ii  libfontconfig1           2.3.2-5.1       generic font configuration library
ii  libgconf2-4              2.14.0-1        GNOME configuration database syste
ii  libglib2.0-0             2.10.1-2        The GLib library of C routines
ii  libgnome-desktop-2       2.14.0-1        Utility library for loading .deskt
ii  libgnome-keyring0        0.4.9-1         GNOME keyring services library
ii  libgnome2-0              2.14.0-2        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.14.0-1        A powerful object-oriented display
ii  libgnomeui-0             2.14.0-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.14.0-2        GNOME virtual file-system (runtime
ii  libgtk2.0-0              2.8.16-1        The GTK+ graphical user interface 
ii  libice6                  6.9.0.dfsg.1-6  Inter-Client Exchange library
ii  liborbit2                1:2.14.0-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.12.0-2        Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   6.9.0.dfsg.1-6  X Window System Session Management
ii  libstartup-notification0 0.8-1           library for program launch feedbac
ii  libx11-6                 6.9.0.dfsg.1-6  X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 6.9.0.dfsg.1-6  X Window System miscellaneous exte
ii  libxi6                   6.9.0.dfsg.1-6  X Window System Input extension li
ii  libxinerama1             6.9.0.dfsg.1-6  X Window System multi-head display
ii  libxml2                  2.6.23.dfsg.2-3 GNOME XML library
ii  libxrandr2               6.9.0.dfsg.1-6  X Window System Resize, Rotate and
ii  libxrender1              1:0.9.0.2-1     X Rendering Extension client libra
ii  python                   2.3.5-5         An interactive high-level object-o
ii  python-glade2            2.8.2-3         GTK+ bindings: Glade support
ii  python-gnome2            2.12.3-2        Python bindings for the GNOME desk
ii  python-gnome2-extras     2.12.1-2.1      Python bindings for the GNOME desk
ii  python-gtk2              2.8.2-3         Python bindings for the GTK+ widge
ii  zlib1g                   1:1.2.3-11      compression library - runtime

deskbar-applet recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to