After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629720 - Action and create menu/tool items
Action and create menu/tool items
Status: RESOLVED OBSOLETE
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2010-09-14 23:13 UTC by Kevin Ryde
Modified: 2021-07-05 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin Ryde 2010-09-14 23:13:59 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.
Comment 1 GNOME Infrastructure Team 2021-07-05 12:22:31 UTC
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.