Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | be a little more cautious about pointers in sanitize_label_text | Michael Terry | 2011-03-14 | 1 | -2/+8 | |
| | | | ||||||
* | | | Add a function to get the cached menu item | Ted Gould | 2011-03-09 | 1 | -0/+19 | |
| | | | ||||||
* | | | respect use-underline and use-markup of labels in menu items | Michael Terry | 2011-03-09 | 1 | -2/+28 | |
| |/ |/| | ||||||
* | | Get the label and remove markup so that we get the mnemonics | Ted Gould | 2011-03-09 | 1 | -5/+26 | |
|\ \ | ||||||
| * | | sanitize label text to strip pango markup | Michael Terry | 2011-03-09 | 1 | -5/+26 | |
| | | | ||||||
| * | | pass on mnemonics and markup from label | Michael Terry | 2011-03-08 | 1 | -2/+2 | |
| |/ | ||||||
* / | Ensure we set the CACHED_MENUITEM data on GtkWidget's | Chris Coulson | 2011-03-08 | 1 | -0/+5 | |
|/ | ||||||
* | 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 | |||||
* | | 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 | |||||
* / | disconnect some more signals when menuitem dies | Michael Terry | 2011-02-28 | 1 | -0/+6 | |
|/ | ||||||
* | 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 | |
| | | ||||||
* | | Track the parent inside the menuitem instead of with a data property externally. | Ted Gould | 2011-02-24 | 1 | -5/+1 | |
|\ \ | ||||||
| * | | Hold a weak pointer to each DbusmenuMenuitems parent. This avoids | Chris Coulson | 2011-02-24 | 1 | -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 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 | |
| | | ||||||
* | | Various memory error fixes: | Chris Coulson | 2011-02-23 | 1 | -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 full | Ted Gould | 2011-02-21 | 1 | -1/+1 | |
| | ||||||
* | merge trunk | Martin Pitt | 2011-02-21 | 1 | -88/+150 | |
|\ | ||||||
| * | make sure other icon property is removed when setting one | Michael Terry | 2011-02-17 | 1 | -0/+4 | |
| | | ||||||
| * | fix icon usage -- watch more signals, handle gicons, respect ↵ | Michael Terry | 2011-02-10 | 1 | -88/+146 | |
| | | | | | | | | always-show-image better | |||||
* | | Fix GI annotations for DbusmenuGtk | Martin Pitt | 2011-02-16 | 1 | -10/+10 | |
|/ | ||||||
* | Handle ChildAdded on GtkShell items and clean up the code so that it has ↵ | Ted Gould | 2011-02-04 | 1 | -12/+89 | |
|\ | | | | | | | single functions for doing common operations. | |||||
| * | watch for new menu items being added to existing menu shells | Michael Terry | 2011-02-04 | 1 | -12/+85 | |
|/ | ||||||
* | keep track of objects that we set notifies for | Michael Terry | 2011-02-03 | 1 | -11/+34 | |
| | ||||||
* | disconnect signals when done with menuitem | Michael Terry | 2011-02-02 | 1 | -0/+15 | |
| | ||||||
* | Handle the case where we don't have a cached item. Not sure how that'd be, ↵ | Ted Gould | 2011-01-31 | 1 | -2/+10 | |
| | | | | but we shouldn't let it drop. | |||||
* | Switching to take_children() so that we can ensure all the data remains valid | Ted Gould | 2011-01-31 | 1 | -4/+6 | |
| | ||||||
* | notice new submenus | Michael Terry | 2011-01-28 | 1 | -0/+21 | |
| | ||||||
* | Making the parser recognize when it hits serializable menu items | Ted Gould | 2011-01-27 | 1 | -4/+16 | |
|\ | ||||||
| * | Fix changing prototypes. | Ted Gould | 2011-01-27 | 1 | -1/+1 | |
| | | ||||||
| * | Looking for the serializable menu item and using it's build function if it ↵ | Ted Gould | 2011-01-25 | 1 | -5/+17 | |
| | | | | | | | | is one. | |||||
* | | Adding an early check on the type of widget coming into the function. | Ted Gould | 2011-01-27 | 1 | -0/+2 | |
| | | ||||||
* | | Adding documentation of the public API. | Ted Gould | 2011-01-27 | 1 | -0/+10 | |
| | | ||||||
* | | Only activating on menu bars. | Ted Gould | 2011-01-26 | 1 | -1/+1 | |
| | | ||||||
* | | No really, read the comment and make sure that only happens on the highest level | Ted Gould | 2011-01-26 | 1 | -7/+9 | |
| | | ||||||
* | | Fix to the type of toggle-state to int | Michael Terry | 2011-01-26 | 1 | -3/+3 | |
| | | ||||||
* | | Factoring out the stack and just tracking the parent as that's all we were ↵ | Ted Gould | 2011-01-26 | 1 | -137/+99 | |
| | | | | | | | | using it for really. | |||||
* | | Adding comments and a check to ensure the item is valid. | Ted Gould | 2011-01-26 | 1 | -0/+5 | |
|/ | ||||||
* | Moving one up the stack so GtkMenu works as well | Ted Gould | 2011-01-25 | 1 | -1/+1 | |
| | ||||||
* | Fixing referencing warnings on destruction. | Ted Gould | 2011-01-24 | 1 | -1/+3 | |
| | ||||||
* | Stop using the data field in gtk image for GTK3 | Ted Gould | 2011-01-23 | 1 | -5/+11 | |
| | ||||||
* | Reimplementing the cache based on object data with signals to cleanup | Ted Gould | 2011-01-23 | 1 | -2/+22 | |
| | ||||||
* | Trying to put back in the visibility notifier to force the rebuild, but I'm ↵ | Ted Gould | 2011-01-23 | 1 | -3/+30 | |
| | | | | not quite sure how to do that yet. | |||||
* | Needed to go up a level to get recursion code. | Ted Gould | 2011-01-23 | 1 | -0/+158 | |
| | ||||||
* | Adding copyright headers | Ted Gould | 2011-01-23 | 1 | -0/+27 | |
| | ||||||
* | Reformating prototypes because it makes the code run faster. | Ted Gould | 2011-01-23 | 1 | -11/+24 | |
| |