aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem-proxy.h
diff options
context:
space:
mode:
authorChris Coulson <chrisccoulson@ubuntu.com>2011-02-28 22:47:04 +0000
committerChris Coulson <chrisccoulson@ubuntu.com>2011-02-28 22:47:04 +0000
commit6fd3cb9d03b1418aaf550e4069f18e0dca8c7054 (patch)
treebd35ec613b65934c6deebf8199f966b2c748ba47 /libdbusmenu-glib/menuitem-proxy.h
parent218b2b32a73881b198f09f74725d395d2d27acdc (diff)
downloadlibdbusmenu-6fd3cb9d03b1418aaf550e4069f18e0dca8c7054.tar.gz
libdbusmenu-6fd3cb9d03b1418aaf550e4069f18e0dca8c7054.tar.bz2
libdbusmenu-6fd3cb9d03b1418aaf550e4069f18e0dca8c7054.zip
Fix LP: #723873 - when a menuitems property is restored to a default value, the new
state is not updated correctly on the listening client. Make dbusmenu_menuitem_property_remove call dbusmenu_menuitem_property_set_variant with a NULL value rather than manipulating the properties directly. When removing a property that has a default value now, it will signal PROPERTY_CHANGED with the default value, which means that changing a property from non-default to default over the wire (which really just deletes the property) now works correctly. This is also now more aligned with how dbusmenu_menuitem_property_get* works, which will return the default value for a property after removing the property from the menuitem
Diffstat (limited to 'libdbusmenu-glib/menuitem-proxy.h')
0 files changed, 0 insertions, 0 deletions