Holger's qtopia repo: Changes to 'softmenu-rework'

git at git.openmoko.org git at git.openmoko.org
Thu Jun 19 04:11:42 CEST 2008

Rebased ref, commits from common ancestor:
commit 03d70badb46f2e487f8a94885b78ff9b1c287ae2
Author: Holger Freyther <zecke at selfish.org>
Date:   Tue Jun 17 11:16:55 2008 +0200

    [softmenu] Start using X Properties for the Soft Menu to avoid race conditions
        Set properties on the toplevel window about what keys and what labels
        and pixmaps should be used. This will make sure that _NET_ACTIVE_WINDOW
        changes and softmenu will be properly synchronized. Currently we have two
        mediums that are not synchronized with each other (X11 and QCOP).
        We use just one Atom and put the state of all keys into this property.
        Currently QDataStream is used to serialize the state but in the future
        something like the dbus marshalling could be used to be more portable.
        Everytime the property changes the provider of the softmenubar will have
        to parse and update.
        To update both keys we might end up changing the Atom twice this needs
        to be improved.
        The setLabelPixmap and setLabelText was tested, clearLabel was _not_ really
        tested and needs some more verification.

More information about the commitlog mailing list