lp:~chrisccoulson/libdbusmenu/lp723873
- Get this branch:
- bzr branch lp:~chrisccoulson/libdbusmenu/lp723873
Branch merges
- Ted Gould (community): Approve
-
Diff: 78 lines (+18/-24)1 file modifiedlibdbusmenu-glib/menuitem.c (+18/-24)
Related bugs
Bug #723873: indicator menu items missing since the recent natty update | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 242. By Chris Coulson
-
The last commit causes the warning in dbusmenu_
menuitem_ property_ is_default to be thrown
when removing a property that has no default value. This warning seems bogus though, as any property that is not
in the menuitems local property list is a default value (as that is what dbusmenu_menuitem_ property_ get* will return).
Simplify this function to work like this and drop the warning - 241. By Chris Coulson
-
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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:libdbusmenu/0.5