aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.c
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the class is correctTed Gould2011-09-231-1/+1
|
* Various memory leaks and fixesTed Gould2011-06-171-11/+6
|\
| * Avoid string parsing by using a direct variant new function.Ted Gould2011-06-161-1/+1
| |
| * Fix for several issues as documented in bug 784890Jonathan Landis2011-06-161-11/+6
| |
* | Adding the element type to get_childrenTed Gould2011-05-131-1/+1
|/
* Make check to send about-to-show look for properties as well.Ted Gould2011-04-051-1/+1
|
* Using the new definesTed Gould2011-03-161-1/+1
|
* Putting in a protection and fixing the truthTed Gould2011-03-071-2/+6
|
* Steal earlier instead of later so that signal handlers don't find the value ↵Ted Gould2011-03-071-1/+3
| | | | in the hashtable
* Switching to using the extended lookup and getting the key and valueTed Gould2011-03-071-4/+6
|
* Delaying the removal from the hashtable.Ted Gould2011-03-011-2/+18
|
* Putting a protection in for bad key values.Ted Gould2011-03-011-0/+1
|
* The last commit causes the warning in dbusmenu_menuitem_property_is_default ↵Chris Coulson2011-03-011-7/+2
| | | | | | | | 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
* Fix LP: #723873 - when a menuitems property is restored to a default value, ↵Chris Coulson2011-02-281-17/+16
| | | | | | | | | | | | 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
* Making sure to grab the variant and dispose of it in handle_event.Ted Gould2011-02-241-1/+12
|
* Marking as having details available in the signalTed Gould2011-02-241-1/+1
|
* Fixing signal emition to use the saved value instead of the enumTed Gould2011-02-241-1/+1
|
* Track the parent inside the menuitem instead of with a data property externally.Ted Gould2011-02-241-2/+105
|\
| * Adding a transfer annotation for the get_parent functionTed Gould2011-02-241-1/+1
| |
| * Checking to ensure we're the parent before deletingTed Gould2011-02-241-0/+5
| |
| * Hold a weak pointer to each DbusmenuMenuitems parent. This avoidsChris Coulson2011-02-241-2/+100
| | | | | | | | | | | | using g_object_{get/set}_data for storing a nodes parent in the parser code, and the associated problems with that (ie, a child out-living its parent, leading to invalid reads
* | Adding an 'event' signal for generic event handlingTed Gould2011-02-241-1/+23
|\ \ | |/ |/|
| * Switch signal handler to return bool so that we can signal if someone has ↵Ted Gould2011-02-231-6/+7
| | | | | | | | handled it
| * Sync to trunkTed Gould2011-02-221-379/+497
| |\
| * | Should return VOIDTed Gould2011-02-221-1/+1
| | |
| * | Now emit that signal appropriatelyTed Gould2011-01-281-0/+3
| | |
| * | Adding a signal for eventsTed Gould2011-01-281-0/+18
| | |
* | | Only send property updates if the item has been already requested.Ted Gould2011-02-241-0/+14
|\ \ \
| * | | Tracking whether we've been exposedTed Gould2011-02-181-2/+7
| | | |
| * | | Adding a stub for exposed checkingTed Gould2011-02-181-0/+9
| | | |
* | | | Allow sending only some properties based on what is requested.Ted Gould2011-02-241-1/+28
|\ \ \ \
| * | | | If there's a singular NULL entry we also want the full listTed Gould2011-02-231-1/+1
| | | | |
| * | | | Handle a request for selective properties and give less data backTed Gould2011-02-181-1/+28
| |/ / /
* | | | Fix up documentation and make it part of make checkTed Gould2011-02-241-1/+1
|\ \ \ \
| * | | | Fixing all the menuitem documentationTed Gould2011-02-211-1/+1
| | | | |
* | | | | Make sure to not recurse if the value says we shouldn'tTed Gould2011-02-241-1/+1
|\ \ \ \ \
| * | | | | Redefine so that we don't recurse if we shouldn'tTed Gould2011-02-231-1/+1
| | |_|_|/ | |/| | |
* / | | | Only look at defaults if we have a value to compare with.Ted Gould2011-02-231-22/+25
|/ / / /
* | | | Ensure that we check the local db for the type and don't go all recursive.Ted Gould2011-02-211-1/+6
| | | |
* | | | Fleshing out the check for if a property is a default value.Ted Gould2011-02-211-2/+15
| | | |
* | | | The defaults database can, and should, handle NULL types with fallbacks.Ted Gould2011-02-211-23/+21
| | | |
* | | | If we can't get the value from our database, let's check the defaults.Ted Gould2011-02-211-1/+7
| | | |
* | | | Always replace to ensure we don't leak references.Ted Gould2011-02-211-4/+9
| | | |
* | | | Always check the type even if we don't have a value.Ted Gould2011-02-211-12/+11
| | | |
* | | | Allow for signaling the default value if it makes senseTed Gould2011-02-211-2/+11
| | | |
* | | | When we're setting a value check to see if it's the same as the default and ↵Ted Gould2011-02-211-0/+37
| | | | | | | | | | | | | | | | clear it if so.
* | | | Finally getting our very own reference for the defaultsTed Gould2011-02-211-0/+9
|/ / /
* | | merge trunkMartin Pitt2011-02-211-21/+57
|\| |
| * | Making sure all refs sink incase of floating variantsTed Gould2011-02-151-1/+1
| | |
| * | Should sink as well if given a floating reference.Ted Gould2011-02-151-1/+1
| | |