aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename dbus properties to follow dbus naming conventionsAurelien Gateau2011-03-023-13/+13
| | | | | | | - version => Version - text-direction => TextDirection - status => Status
* Specification cleanupsTed Gould2011-03-011-11/+12
|\
| * Doc fixes:Aurelien Gateau2011-02-281-11/+12
| | | | | | | | | | | | | | - Use "@a foo" for arguments, not "@foo" - Rename "recurse" (which sounds boolean) to "recursionDepth" - Removed dbusmenu-qt specific annotations
* | Check for valid name before building up variant.Ted Gould2011-03-011-1/+3
|\ \
| * | Move keyname check before builder is init'dTed Gould2011-03-011-2/+3
| | |
| * | Check the return value of gdk_keyval_name, as passing NULL pointersChris Coulson2011-02-281-0/+1
| | | | | | | | | | | | to g_variant_builder_add can cause bad things to happen. Might fix LP: #720895
* | | Disconnecting theme changed on normal cleanup as well to ensure it's benign.Ted Gould2011-03-011-8/+10
|\ \ \
| * | | Ensure we disconnect theme_changed_cb if the DbusmenuMenuitem disappears, butChris Coulson2011-02-281-8/+10
| |/ / | | | | | | | | | | | | | | | the corresponding GtkMenuItem stays alive. This shouldn't really be a problem, as dbusmenu_item_freed *should* do enough cleaning up to ensure that theme_changed_cb is inert if it fires later on. Just do this to be safe though
* | | Removing properties by setting the variant to NULL to generate signals and ↵Ted Gould2011-03-011-24/+18
|\ \ \ | | | | | | | | | | | | cleaning up an associated warning.
| * | | 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
* | | Adding a weak pointer to the submenuTed Gould2011-03-011-0/+11
|\ \ \
| * | | Oops, fix a silly typoChris Coulson2011-03-011-1/+1
| | | |
| * | | Ensure we hook on to child-added signals from sub GtkMenuShell's. This broke ↵Chris Coulson2011-03-011-0/+11
| |/ / | | | | | | | | | | | | | | | | | | in r220 in order to stop adding weak pointers on the root shell more than once. Now, we connect the signals when we create the DbusmenuMenuitem
* | | Have the gir-scanner use the exported interfacesTed Gould2011-03-011-4/+11
|\ \ \
| * | | Add enum-types to the exported headers so that language bindings can use them.Ted Gould2011-02-251-0/+1
| | | |
| * | | Switching so that the GIR file is built from our exported H files and objects.Ted Gould2011-02-251-4/+10
| | | |
* | | | Use the right i18n headerTed Gould2011-03-012-2/+2
|\ \ \ \
| * | | | Use the library i18n instead of the standard one for apps.Ted Gould2011-02-252-2/+2
| |/ / /
* | | | Making sure to disconnect all signal handlers.Ted Gould2011-03-011-0/+6
|\ \ \ \
| * | | | disconnect some more signals when menuitem diesMichael Terry2011-02-281-0/+6
| | |/ / | |/| |
* | | | Actually use the parent parameter to find the menuitemTed Gould2011-03-011-1/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Actually looking up the parent menu itemTed Gould2011-03-011-1/+5
|/ / /
* | | Fixing to ensure we keep a variant reference.Ted Gould2011-02-261-1/+12
|\ \ \ | |/ / |/| |
| * | Making sure to grab the variant and dispose of it in handle_event.Ted Gould2011-02-241-1/+12
|/ /
* | 0.3.99Ted Gould2011-02-241-3/+3
| |
* | Marking as having details available in the signalTed Gould2011-02-241-1/+1
| |
* | Set property to status and return itTed Gould2011-02-242-1/+3
| |
* | Changing the property changed handler to get the property instead of using ↵Ted Gould2011-02-241-6/+11
|\ \ | | | | | | | | | accessor functions that might not be the same
| * | Rework widget_notify_cb() to get the properties directly.Mathieu Trudel-Lapierre2011-02-231-6/+11
| | |
* | | Document the event signal define.Ted Gould2011-02-241-0/+5
| | |
* | | Adding in the event signal for the menuitemTed Gould2011-02-241-0/+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-244-7/+113
|\ \ \
| * | | Add the new functions to the sections docTed Gould2011-02-241-0/+3
| | | |
| * | | 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-243-7/+105
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Unregister the theme signal handler on destruction instead of doing it ↵Ted Gould2011-02-241-10/+3
|\ \ \ \ | | | | | | | | | | | | | | | through an odd reference.
| * | | | Not commenting out code, just deleteingTed Gould2011-02-241-18/+0
| |/ / /
| * | | Disconnect the theme_changed_cb handler when widgets are destroyedChris Coulson2011-02-241-1/+12
| | | |
* | | | Adding an 'event' signal for generic event handlingTed Gould2011-02-243-3/+28
|\ \ \ \
| * | | | Switch signal handler to return bool so that we can signal if someone has ↵Ted Gould2011-02-232-7/+8
| | | | | | | | | | | | | | | | | | | | handled it
| * | | | Sync to trunkTed Gould2011-02-2229-2630/+2686
| |\ \ \ \
| * | | | | 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-283-1/+23
| | | | | |
* | | | | | Documentation fixesTed Gould2011-02-2410-6/+81
| |_|/ / / |/| | | |
* | | | | Bad merge, forgot this change in nameTed Gould2011-02-241-1/+1
| | | | |
* | | | | Only send property updates if the item has been already requested.Ted Gould2011-02-243-6/+32
|\ \ \ \ \