Comment 31 for bug 613119

Revision history for this message
In , Gheorghe-ca (gheorghe-ca) wrote :

Created attachment 194654
Sample snippet

Here is a sample snippet that shows dynamic menus failing. When you run the snippet, you will get a shell with a button in it. The top menu bar will have File and Edit menus visible. If you press the button, a new menu item gets added to the the menu bar, but the top bar does not get updated.

If you uncomment the "OS.g_set_prgname(buffer);" line, it will force the menu bars to appear in the shell. Clicking on the button, you will see that the menu item gets added to the bar.