gtk_menu_new_from_model doesn't support custom menu items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+3.0 (Ubuntu) |
Fix Released
|
Wishlist
|
Lars Karlitski |
Bug Description
indicator-messages is the first indicator that uses GMenuModel instead of Dbusmenu to send its menus to the panel. Its panel plugin uses gtk_menu_
Most of the menu items in the messaging menu are custom widgets (to show icons, message counts, and the application-
The attached patch solves this problem by introducing a new menu item attribute ("x-canonical-
- "menu-item": a GMenuItem from which to build the item
- "action-group": a GActionGroup which contains the action for this menu item
indicator-messages already depends on this patch and is a first "test-case" for this API.
The patch doesn't introduce new public functions. "x-canonical-type" should be considered private for now.
Related branches
Changed in gtk+3.0 (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
affects: | gtk+3.0 (Ubuntu) → ubuntu |
Changed in ubuntu: | |
status: | In Progress → Fix Committed |
affects: | ubuntu → gtk+3.0 (Ubuntu) |
Changed in gtk+3.0 (Ubuntu): | |
status: | In Progress → Fix Released |
The attachment "gtk-custom- menu-items. patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]