GNOME Bugzilla – Bug 629720
Action and create menu/tool items
Last modified: 2021-07-05 12:22:31 UTC
It'd be good if Gtk2::Action subclasses could implement the GtkActionClass class functions create_menu_item() and create_tool_item(). Those functions allow an arbitrary class for the menu item or tool item. For example GtkRecentAction uses them to make a GtkMenuToolButton instead of a plain GtkToolButton. Those class functions don't appear in the GtkAction docs, but seem to be the way to get the desired effect. Being non-signal class functions means all the usual gtk-perl trouble with how to call to a superclass. Initially it could be enough to have no chaining.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME?utf8=%E2%9C%93&filter=perl- Thank you for your understanding and your help.