aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't listen for "changed" events from the screen's default GtkIconTheme. ↵Charles Kerr2012-03-211-51/+0
| | | | | | | | | Fixes lp bug #953509 The crash in #953509 was being caused by the last two lines of theme_changed_cb() (a) leaving a dangling handler id in priv.theme_changed_sig, and (b) not remembering the handler id of its own signal connection. However after testing I don't see any reason to keep any of the theme handling code at all. "But wait," you say. "How will our menu icons follow the theme changes?" It works in practice anyway because we always listen for property changes to our reference GtkImage, **and** we listen for property changes to its GtkImageMenuItem parent so that if the GtkImageMenuItem changes GtkImages we can stop listening to the old one and start listening to the new one.
* Missing a couple of cases of removing the signal handler and clearing the ↵Ted Gould2012-03-091-4/+12
| | | | stored value
* Don't need to setup this signal twiceTed Gould2012-03-021-3/+0
|
* Moving the adding of signals to the update_icon function so that everyone ↵Ted Gould2012-03-021-12/+32
| | | | gets them
* Changing 'update_icon' to take more variables so we can do more fun stuff ↵Ted Gould2012-03-021-6/+12
| | | | with it soon!
* Track the theme changed signal so we ensure that we can drop it eventuallyTed Gould2012-03-021-1/+8
|
* Use defines instead of stringsTed Gould2012-02-151-1/+1
|\
| * Making sure our strings come from defines to avoid typosTed Gould2012-02-121-1/+1
| |
* | Fix some of the issues with throwing criticalsTed Gould2012-02-151-2/+7
|\ \ | |/ |/|
| * Ensuring that we don't just unparent a menu item, we remove it from the list ↵Ted Gould2012-02-071-2/+7
| | | | | | | | of children that it has
* | Parse and handle a11y descriptionsTed Gould2012-02-101-0/+58
|\ \ | |/ |/|
| * Use the #define property name instead of a stringTed Gould2012-02-101-3/+3
| |
| * Adding a detail hint on the notify signalTed Gould2012-02-101-1/+1
| |
| * Fix up monitoring of the atk object, didn't understand that notification was ↵Luke Yelavich2012-02-011-5/+8
| | | | | | | | the same as the GTK widgets as well.
| * When parsing an existing GTK menu hierarchy, we should also set theLuke Yelavich2012-01-311-0/+53
|/ | | | | | DBUSMENU_MENU_ITEM_ACCESSIBLE_DESC property, if the accessible name for the menu differs from the text of the menu item label.
* Include config.h to get the HAVE_GTK3 defineTed Gould2012-01-261-0/+1
|
* Missing commaTed Gould2012-01-261-1/+1
|
* Remove custom WITH_GTK3 and use the HAVE_GTK3Ted Gould2012-01-261-3/+3
|
* in gtk3, use stock signals instead of Ubuntu-specific onesRyan Lortie2012-01-121-12/+23
|
* Don't try to get objects from boolean values. Handle the 'always show ↵Ted Gould2011-10-131-2/+7
| | | | image' property by getting the image from the object and using that
* Adding in warnings to protect watch_submenuTed Gould2011-09-191-0/+3
|
* Unsetting the property valueTed Gould2011-06-171-0/+3
|\
| * Unset the value as specified in bug 785828Jonathan Landis2011-06-161-0/+3
| |
* | Toggle visibility to help EclipseTed Gould2011-05-311-0/+18
|\|
| * ref menu until we're done toggling its visibilityMichael Terry2011-05-181-1/+3
| |
| * toggle visibility of menus to fix Eclipse RCP appsMichael Terry2011-04-271-0/+16
| |
* | Dropping the serializable menu item. Not a bad idea, but we can do better.Ted Gould2011-04-261-8/+1
|/
* refactor this branch a bit to rebase on trunkMichael Terry2011-04-151-29/+31
|
* merge from trunkMichael Terry2011-04-151-23/+34
|\
| * Only activate items if they have submenusTed Gould2011-04-151-0/+14
| |\
| | * Oops, wrong object typeTed Gould2011-04-151-1/+1
| | |
| | * Only activate items that have submenusTed Gould2011-04-151-0/+14
| | |
| * | watch new submenus for additions and removalsMichael Terry2011-04-151-23/+20
| |/
* / activate new toplevel menu itemsMichael Terry2011-04-151-0/+8
|/
* watch empty/separator menu items for any added GtkLabel children, as ↵Michael Terry2011-04-121-13/+43
| | | | gnome-commander likes to do
* respond to opened and closed events for the benefit of any watching applicationMichael Terry2011-04-051-0/+38
|
* Remove some code duplication introduced in this branchChris Coulson2011-03-301-14/+13
|
* - Don't change the type of existing menu items in the server. ThisChris Coulson2011-03-301-12/+62
| | | | | isn't handled in the client too well - Handle a GtkMenuItem's GtkLabel being removed too
* Remove the now unneeded null pointer check on label in ↵Chris Coulson2011-03-301-17/+14
| | | | | | | construct_dbusmenu_for_widget. Also, don't use a strcmp in widget_notify_cb for checking if the menuitem is a separator. Just do a null pointer check on pdata->label instead
* Revert the last commit and handle the same problem in the parser insteadChris Coulson2011-03-301-1/+21
|
* Entering and exiting the GDK threads when calling up to GTKOleg Shparber2011-03-211-0/+2
|
* Add handling for children getting removedTed Gould2011-03-161-6/+50
|\
| * Update to current trunkTed Gould2011-03-091-5/+31
| |\
| * | If we call the parse function and we already have the menu item built for ↵Ted Gould2011-03-081-6/+15
| | | | | | | | | | | | the passed in value let's just use that and not bother looking any further.
| * | Disconnecting the child removed handlersTed Gould2011-03-081-0/+2
| | |
| * | Removing the dbusmenu menuitem from the parent if it gets removed on the GTK ↵Ted Gould2011-03-081-0/+14
| | | | | | | | | | | | side
| * | Add a callback for child-removed as wellTed Gould2011-03-081-0/+19
| | |
* | | Empty images are images tooTed Gould2011-03-161-0/+3
|\ \ \
| * | | handle empty image typesMichael Terry2011-03-161-0/+3
| | | |
* | | | Not everything is a menuitemTed Gould2011-03-151-1/+3
|/ / /