aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.c
Commit message (Collapse)AuthorAgeFilesLines
* fold client's two DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED signal handlers ↵Charles Kerr2012-03-271-12/+2
| | | | together for clarity
* Fix string leakTed Gould2012-03-201-1/+1
|
* Handle the case of the label being NULL which can happen on custom itemsTed Gould2012-03-201-7/+10
|
* Restructuring slightly to have two cases, allocating memory and not allocatingTed Gould2012-03-091-7/+9
|
* Remove the underscores used for mnewmonics, as orca speaks them, which is notLuke Yelavich2012-03-091-1/+7
| | | | | what we want.
* Set the accessible name from the dbusmenu item label. THis is a work-around ↵Luke Yelavich2012-03-081-0/+8
| | | | until GTK follows atk docs.
* Do not set the accessible name to an empty string if the accessible_descLuke Yelavich2012-02-171-4/+0
| | | | | | | | | property = NULL. Yes this was recently changed so that dbusmenu conformed to Atk documentation, but the GTK menu item accessibility code does not yet conform to sed documentation. As a result, all dbusmenu menu items that do not have the accessible_desc property set end up getting an empty string for their accessible name. In the long term, GTK accessibility needs to be fixed.
* Fix some of the issues with throwing criticalsTed Gould2012-02-151-6/+1
|\
| * Don't get the string to check if something is being cleared, use whether the ↵Ted Gould2012-02-071-6/+1
| | | | | | | | variant is NULL or not
* | Parse and handle a11y descriptionsTed Gould2012-02-101-2/+26
|\ \
| * | Heh, wrote the code but forgot to handle the errorTed Gould2012-02-101-0/+4
| | |
| * | Refactor setting the ATK Object name into a function that can do all the ↵Ted Gould2012-02-101-4/+22
| | | | | | | | | | | | error handling needed.
| * | Don't pass a NULL name to set_nameTed Gould2012-02-101-1/+1
| | |
* | | If the ACCESSIBLE_DESC property is set to NULL, set an empty string as the ↵Luke Yelavich2012-02-011-1/+1
| |/ |/| | | | | atk object's accessible name, as per atk docs.
* | Only setting the accessible object name if it has been setTed Gould2012-01-261-2/+5
|/
* Fix function calls hereTed Gould2012-01-261-2/+2
|
* Add a new property DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC, to set anLuke Yelavich2011-12-131-0/+6
| | | | | | | | alternative label for a menu item. This alternative label is only used for assistive technologies such as Orca. It is particularly useful for menu items where an icon is used to present further information to the user, in which case this property can be used to give a textual description of the icon.
* make sure to cancel an idle callback when the object diesMichael Terry2011-11-101-3/+10
|
* remove last ref from GtkMenuItems that we createMichael Terry2011-10-041-5/+13
|
* Set the disposition from the value given and from the enum.Ted Gould2011-08-221-1/+3
|
* Adding infrastructure to watch for the disposition property.Ted Gould2011-08-221-0/+17
|
* Changing the cleanup of GTK Menuitems to avoid undefined references.Ted Gould2011-04-121-25/+6
|\
| * Protecting the label with the null check and don't unref something that ↵Ted Gould2011-04-101-2/+1
| | | | | | | | shouldn't be.
| * Attaching the data in a way that it'll cleanup itselfTed Gould2011-04-101-2/+3
| |
| * We have to destroy, why? Because we want to make sure that the menu having ↵Ted Gould2011-04-071-1/+1
| | | | | | | | a ref doesn't block us from getting rid of the item.
| * Switching the reference to the GTK Menuitem to be a _sink as well as using ↵Ted Gould2011-04-071-21/+2
| | | | | | | | set_data_full() instead of a weak ref for unref'ing it.
* | guard against an activation that does not actually have an associated menu-hideMichael Terry2011-04-081-4/+26
| |
* | force activated event to be sandwiched by opened/closed eventsMichael Terry2011-04-071-8/+105
|/
* Making the debug message betterTed Gould2011-04-051-1/+1
|
* We don't need the parent, cut-and-paste confusion here.Ted Gould2011-04-051-6/+3
|
* Handle the case of the variant being NULLTed Gould2011-04-051-1/+4
|
* Then menu should get created when processing the property, so let's warn and ↵Ted Gould2011-04-051-10/+5
| | | | exit here if it's not available
* Passing in the client so that I can get the menuitem in all casesTed Gould2011-04-051-6/+19
|
* Setting up the shell to handle the children display propTed Gould2011-04-051-0/+22
|
* Using the new definesTed Gould2011-03-161-3/+3
|
* add opened and closed eventsMichael Terry2011-03-161-1/+11
|
* Having the GTK Client handle theme directoriesTed Gould2011-03-101-0/+172
|\
| * Check the theme directories on build so we can insure we're up-to-dateTed Gould2011-03-101-0/+2
| |
| * Stealing the code from indicator-application to ref and unref theme directories.Ted Gould2011-03-041-0/+74
| |
| * Build the theme directory database when we build objectsTed Gould2011-03-041-0/+22
| |
| * Fleshing out the change functions, but it infact creates more functions. Whoa! Ted Gould2011-03-041-0/+45
| |
| * Making a private variable and making a lifecycle for it.Ted Gould2011-03-041-0/+17
| |
| * Signal handler for theme directories changing.Ted Gould2011-03-041-0/+12
| |
* | Fix various memory leaksChris Coulson2011-03-101-0/+4
|/
* Fixing the variable nameTed Gould2011-02-211-1/+1
|
* Fix GI annotations for DbusmenuGtkMartin Pitt2011-02-161-55/+55
|
* Adding in a serializable menuitem objectTed Gould2011-01-271-4/+4
|\
| * Updating to trunkTed Gould2011-01-211-0/+2
| |\
| * | Fixing callback prototypesTed Gould2011-01-181-4/+4
| | |
* | | Actually setting the 'checked' valueTed Gould2011-01-261-0/+1
| | |