GNOME Bugzilla – Bug 316541
Adding an item to a GtkMenu does not emit the containers add signal
Last modified: 2009-05-15 11:00:32 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...
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.
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.
*** This bug has been marked as a duplicate of 398241 ***