Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename dbus properties to follow dbus naming conventions | Aurelien Gateau | 2011-03-02 | 3 | -13/+13 |
| | | | | | | | - version => Version - text-direction => TextDirection - status => Status | ||||
* | Specification cleanups | Ted Gould | 2011-03-01 | 1 | -11/+12 |
|\ | |||||
| * | Doc fixes: | Aurelien Gateau | 2011-02-28 | 1 | -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 Gould | 2011-03-01 | 1 | -1/+3 |
|\ \ | |||||
| * | | Move keyname check before builder is init'd | Ted Gould | 2011-03-01 | 1 | -2/+3 |
| | | | |||||
| * | | Check the return value of gdk_keyval_name, as passing NULL pointers | Chris Coulson | 2011-02-28 | 1 | -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 Gould | 2011-03-01 | 1 | -8/+10 |
|\ \ \ | |||||
| * | | | Ensure we disconnect theme_changed_cb if the DbusmenuMenuitem disappears, but | Chris Coulson | 2011-02-28 | 1 | -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 Gould | 2011-03-01 | 1 | -24/+18 |
|\ \ \ | | | | | | | | | | | | | cleaning up an associated warning. | ||||
| * | | | The last commit causes the warning in dbusmenu_menuitem_property_is_default ↵ | Chris Coulson | 2011-03-01 | 1 | -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 Coulson | 2011-02-28 | 1 | -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 submenu | Ted Gould | 2011-03-01 | 1 | -0/+11 |
|\ \ \ | |||||
| * | | | Oops, fix a silly typo | Chris Coulson | 2011-03-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | Ensure we hook on to child-added signals from sub GtkMenuShell's. This broke ↵ | Chris Coulson | 2011-03-01 | 1 | -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 interfaces | Ted Gould | 2011-03-01 | 1 | -4/+11 |
|\ \ \ | |||||
| * | | | Add enum-types to the exported headers so that language bindings can use them. | Ted Gould | 2011-02-25 | 1 | -0/+1 |
| | | | | |||||
| * | | | Switching so that the GIR file is built from our exported H files and objects. | Ted Gould | 2011-02-25 | 1 | -4/+10 |
| | | | | |||||
* | | | | Use the right i18n header | Ted Gould | 2011-03-01 | 2 | -2/+2 |
|\ \ \ \ | |||||
| * | | | | Use the library i18n instead of the standard one for apps. | Ted Gould | 2011-02-25 | 2 | -2/+2 |
| |/ / / | |||||
* | | | | Making sure to disconnect all signal handlers. | Ted Gould | 2011-03-01 | 1 | -0/+6 |
|\ \ \ \ | |||||
| * | | | | disconnect some more signals when menuitem dies | Michael Terry | 2011-02-28 | 1 | -0/+6 |
| | |/ / | |/| | | |||||
* | | | | Actually use the parent parameter to find the menuitem | Ted Gould | 2011-03-01 | 1 | -1/+5 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | Actually looking up the parent menu item | Ted Gould | 2011-03-01 | 1 | -1/+5 |
|/ / / | |||||
* | | | Fixing to ensure we keep a variant reference. | Ted Gould | 2011-02-26 | 1 | -1/+12 |
|\ \ \ | |/ / |/| | | |||||
| * | | Making sure to grab the variant and dispose of it in handle_event. | Ted Gould | 2011-02-24 | 1 | -1/+12 |
|/ / | |||||
* | | 0.3.99 | Ted Gould | 2011-02-24 | 1 | -3/+3 |
| | | |||||
* | | Marking as having details available in the signal | Ted Gould | 2011-02-24 | 1 | -1/+1 |
| | | |||||
* | | Set property to status and return it | Ted Gould | 2011-02-24 | 2 | -1/+3 |
| | | |||||
* | | Changing the property changed handler to get the property instead of using ↵ | Ted Gould | 2011-02-24 | 1 | -6/+11 |
|\ \ | | | | | | | | | | accessor functions that might not be the same | ||||
| * | | Rework widget_notify_cb() to get the properties directly. | Mathieu Trudel-Lapierre | 2011-02-23 | 1 | -6/+11 |
| | | | |||||
* | | | Document the event signal define. | Ted Gould | 2011-02-24 | 1 | -0/+5 |
| | | | |||||
* | | | Adding in the event signal for the menuitem | Ted Gould | 2011-02-24 | 1 | -0/+1 |
| | | | |||||
* | | | Fixing signal emition to use the saved value instead of the enum | Ted Gould | 2011-02-24 | 1 | -1/+1 |
| | | | |||||
* | | | Track the parent inside the menuitem instead of with a data property externally. | Ted Gould | 2011-02-24 | 4 | -7/+113 |
|\ \ \ | |||||
| * | | | Add the new functions to the sections doc | Ted Gould | 2011-02-24 | 1 | -0/+3 |
| | | | | |||||
| * | | | Adding a transfer annotation for the get_parent function | Ted Gould | 2011-02-24 | 1 | -1/+1 |
| | | | | |||||
| * | | | Checking to ensure we're the parent before deleting | Ted Gould | 2011-02-24 | 1 | -0/+5 |
| | | | | |||||
| * | | | Hold a weak pointer to each DbusmenuMenuitems parent. This avoids | Chris Coulson | 2011-02-24 | 3 | -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 Gould | 2011-02-24 | 1 | -10/+3 |
|\ \ \ \ | | | | | | | | | | | | | | | | through an odd reference. | ||||
| * | | | | Not commenting out code, just deleteing | Ted Gould | 2011-02-24 | 1 | -18/+0 |
| |/ / / | |||||
| * | | | Disconnect the theme_changed_cb handler when widgets are destroyed | Chris Coulson | 2011-02-24 | 1 | -1/+12 |
| | | | | |||||
* | | | | Adding an 'event' signal for generic event handling | Ted Gould | 2011-02-24 | 3 | -3/+28 |
|\ \ \ \ | |||||
| * | | | | Switch signal handler to return bool so that we can signal if someone has ↵ | Ted Gould | 2011-02-23 | 2 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | handled it | ||||
| * | | | | Sync to trunk | Ted Gould | 2011-02-22 | 29 | -2630/+2686 |
| |\ \ \ \ | |||||
| * | | | | | Should return VOID | Ted Gould | 2011-02-22 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Now emit that signal appropriately | Ted Gould | 2011-01-28 | 1 | -0/+3 |
| | | | | | | |||||
| * | | | | | Adding a signal for events | Ted Gould | 2011-01-28 | 3 | -1/+23 |
| | | | | | | |||||
* | | | | | | Documentation fixes | Ted Gould | 2011-02-24 | 10 | -6/+81 |
| |_|/ / / |/| | | | | |||||
* | | | | | Bad merge, forgot this change in name | Ted Gould | 2011-02-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Only send property updates if the item has been already requested. | Ted Gould | 2011-02-24 | 3 | -6/+32 |
|\ \ \ \ \ |