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 316541 - Adding an item to a GtkMenu does not emit the containers add signal
Adding an item to a GtkMenu does not emit the containers add signal
Status: RESOLVED DUPLICATE of bug 398241
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
2.6.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-09-17 05:41 UTC by Gary Kramlich
Modified: 2009-05-15 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
source code proof of concept (1.18 KB, application/x-compressed-tar)
2005-09-17 05:43 UTC, Gary Kramlich
Details
Ekiga-3.0.0 compile error (ptlib.h needed) (4.09 KB, text/plain)
2008-10-04 08:35 UTC, trax
Details

Description Gary Kramlich 2005-09-17 05:41:45 UTC
Please describe the problem:
If you connect a handler to a GtkMenu on the container::add signal, the handler
never gets called when you add a new menu item into the menu.  The remove
signal, however, does get emitted.

Steps to reproduce:
1. Create a GtkMenu
2. Connect to the container::add signal
3. Add a menu item to the menu
4. signal handler never gets called


Actual results:
The signal handler never gets called.

Expected results:
The signal handler to get called.

Does this happen every time?
Yes

Other information:
I will be adding a small proof of concept application...
Comment 1 Gary Kramlich 2005-09-17 05:43:14 UTC
Created attachment 52335 [details]
source code proof of concept

Here's a proof of concept, I didn't bother showing the container::remove
behavior, since that is working as expected.
Comment 2 trax 2008-10-04 08:35:57 UTC
Created attachment 119906 [details]
Ekiga-3.0.0 compile error (ptlib.h needed)

I have tried on two differents OS, Gentoo and Debian, it is the same problem.
Comment 3 Claudio Saavedra 2009-05-15 11:00:32 UTC

*** This bug has been marked as a duplicate of 398241 ***