]> Pileus Git - ~andy/gtk/commit
Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 27 Sep 2008 04:27:53 +0000 (04:27 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 27 Sep 2008 04:27:53 +0000 (04:27 +0000)
commit783c7932f38e5690b8b5f98313f301b0f18b09c3
treec9e63a3d80aee2a6063d7792c632fa9512107322
parent1a962664ee0e339c7218c643845a697a6ecd1ad7
    Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
        transparency

        * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL
        property described in
        http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
        If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
        parent-relative-background hack is skipped and we draw with a real
        transparent background.

        * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
        parent-relative background is now set when realizing the tray
        icon.

        Patch by Owen Taylor

svn path=/trunk/; revision=21531
ChangeLog
gtk/gtkrc.c
gtk/gtktrayicon-x11.c