Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | respond to opened and closed events for the benefit of any watching application | Michael Terry | 2011-04-05 | 1 | -0/+38 | |
| | ||||||
* | Remove some code duplication introduced in this branch | Chris Coulson | 2011-03-30 | 1 | -14/+13 | |
| | ||||||
* | - Don't change the type of existing menu items in the server. This | Chris Coulson | 2011-03-30 | 1 | -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 Coulson | 2011-03-30 | 1 | -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 instead | Chris Coulson | 2011-03-30 | 1 | -1/+21 | |
| | ||||||
* | Entering and exiting the GDK threads when calling up to GTK | Oleg Shparber | 2011-03-21 | 1 | -0/+2 | |
| | ||||||
* | Add handling for children getting removed | Ted Gould | 2011-03-16 | 1 | -6/+50 | |
|\ | ||||||
| * | Update to current trunk | Ted Gould | 2011-03-09 | 1 | -5/+31 | |
| |\ | ||||||
| * | | If we call the parse function and we already have the menu item built for ↵ | Ted Gould | 2011-03-08 | 1 | -6/+15 | |
| | | | | | | | | | | | | the passed in value let's just use that and not bother looking any further. | |||||
| * | | Disconnecting the child removed handlers | Ted Gould | 2011-03-08 | 1 | -0/+2 | |
| | | | ||||||
| * | | Removing the dbusmenu menuitem from the parent if it gets removed on the GTK ↵ | Ted Gould | 2011-03-08 | 1 | -0/+14 | |
| | | | | | | | | | | | | side | |||||
| * | | Add a callback for child-removed as well | Ted Gould | 2011-03-08 | 1 | -0/+19 | |
| | | | ||||||
* | | | Empty images are images too | Ted Gould | 2011-03-16 | 1 | -0/+3 | |
|\ \ \ | ||||||
| * | | | handle empty image types | Michael Terry | 2011-03-16 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Not everything is a menuitem | Ted Gould | 2011-03-15 | 1 | -1/+3 | |
|/ / / | ||||||
* | | | 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. |