aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | be a little more cautious about pointers in sanitize_label_textMichael Terry2011-03-141-2/+8
| | |
* | | Add a function to get the cached menu itemTed Gould2011-03-091-0/+19
| | |
* | | respect use-underline and use-markup of labels in menu itemsMichael Terry2011-03-091-2/+28
| |/ |/|
* | Get the label and remove markup so that we get the mnemonicsTed Gould2011-03-091-5/+26
|\ \
| * | sanitize label text to strip pango markupMichael Terry2011-03-091-5/+26
| | |
| * | pass on mnemonics and markup from labelMichael Terry2011-03-081-2/+2
| |/
* / Ensure we set the CACHED_MENUITEM data on GtkWidget'sChris Coulson2011-03-081-0/+5
|/
* 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
* | 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
* / disconnect some more signals when menuitem diesMichael Terry2011-02-281-0/+6
|/
* 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
| |
* | Track the parent inside the menuitem instead of with a data property externally.Ted Gould2011-02-241-5/+1
|\ \
| * | Hold a weak pointer to each DbusmenuMenuitems parent. This avoidsChris Coulson2011-02-241-5/+1
| | | | | | | | | | | | | | | | | | 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
* | | 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
| |
* | Various memory error fixes:Chris Coulson2011-02-231-25/+39
|/ | | | | | | | - Don't call g_object_add_weak_pointer multiple times on GtkMenuShell's - Ensure we always clean up weak pointers to avoid invalid writes when objects are destroyed - If a GtkWidget is destroyed before it's DbusmenuMenuitem, don't try to access it with g_object_steal_data
* Fixing transfer from the parser to be fullTed Gould2011-02-211-1/+1
|
* merge trunkMartin Pitt2011-02-211-88/+150
|\
| * make sure other icon property is removed when setting oneMichael Terry2011-02-171-0/+4
| |
| * fix icon usage -- watch more signals, handle gicons, respect ↵Michael Terry2011-02-101-88/+146
| | | | | | | | always-show-image better
* | Fix GI annotations for DbusmenuGtkMartin Pitt2011-02-161-10/+10
|/
* Handle ChildAdded on GtkShell items and clean up the code so that it has ↵Ted Gould2011-02-041-12/+89
|\ | | | | | | single functions for doing common operations.
| * watch for new menu items being added to existing menu shellsMichael Terry2011-02-041-12/+85
|/
* keep track of objects that we set notifies forMichael Terry2011-02-031-11/+34
|
* disconnect signals when done with menuitemMichael Terry2011-02-021-0/+15
|
* Handle the case where we don't have a cached item. Not sure how that'd be, ↵Ted Gould2011-01-311-2/+10
| | | | but we shouldn't let it drop.
* Switching to take_children() so that we can ensure all the data remains validTed Gould2011-01-311-4/+6
|
* notice new submenusMichael Terry2011-01-281-0/+21
|
* Making the parser recognize when it hits serializable menu itemsTed Gould2011-01-271-4/+16
|\
| * Fix changing prototypes.Ted Gould2011-01-271-1/+1
| |
| * Looking for the serializable menu item and using it's build function if it ↵Ted Gould2011-01-251-5/+17
| | | | | | | | is one.
* | Adding an early check on the type of widget coming into the function.Ted Gould2011-01-271-0/+2
| |
* | Adding documentation of the public API.Ted Gould2011-01-271-0/+10
| |
* | Only activating on menu bars.Ted Gould2011-01-261-1/+1
| |
* | No really, read the comment and make sure that only happens on the highest levelTed Gould2011-01-261-7/+9
| |
* | Fix to the type of toggle-state to intMichael Terry2011-01-261-3/+3
| |
* | Factoring out the stack and just tracking the parent as that's all we were ↵Ted Gould2011-01-261-137/+99
| | | | | | | | using it for really.
* | Adding comments and a check to ensure the item is valid.Ted Gould2011-01-261-0/+5
|/
* Moving one up the stack so GtkMenu works as wellTed Gould2011-01-251-1/+1
|
* Fixing referencing warnings on destruction.Ted Gould2011-01-241-1/+3
|
* Stop using the data field in gtk image for GTK3Ted Gould2011-01-231-5/+11
|
* Reimplementing the cache based on object data with signals to cleanupTed Gould2011-01-231-2/+22
|
* Trying to put back in the visibility notifier to force the rebuild, but I'm ↵Ted Gould2011-01-231-3/+30
| | | | not quite sure how to do that yet.
* Needed to go up a level to get recursion code.Ted Gould2011-01-231-0/+158
|
* Adding copyright headersTed Gould2011-01-231-0/+27
|
* Reformating prototypes because it makes the code run faster.Ted Gould2011-01-231-11/+24
|