This bug was fixed in the package gtk+3.0 - 3.5.12-0ubuntu2
---------------
gtk+3.0 (3.5.12-0ubuntu2) quantal-proposed; urgency=low
* debian/control.in: updated glib requirement
* debian/patches/ubuntu_gtk_custom_menu_items.patch:
- define new gtk_model_menu_create_custom_item function, it's required
for the indicator-message on gmenu update, thanks Lars Uebernickel
(lp: #1039476)
-- Sebastien Bacher <[email protected]> Tue, 21 Aug 2012 13:57:05 +0200
** Changed in: gtk+3.0 (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1039476
Title:
gtk_menu_new_from_model doesn't support custom menu items
Status in “gtk+3.0” package in Ubuntu:
Fix Released
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_new_from_model to create a GtkMenu widget from a GMenuModel.
Most of the menu items in the messaging menu are custom widgets (to
show icons, message counts, and the application-is-running triangles).
However, gtk_menu_new_from_model always creates GtkCheckMenuItems.
The attached patch solves this problem by introducing a new menu item
attribute ("x-canonical-type"). The value of this attribute should be
a valid GType name (as passed to g_type_from_name). An instance of
this type is created to represent the menu item if the type is a
subclass of GtkMenuItem and it has these two properties:
- "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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1039476/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp