[glade--]Possible bug in menu writer

Mark Jones <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Message-ID <20021021062855.OWSB9318.out016.verizon.net@[127.0.0.1]>
This is something that I keep running across using Glade 2 and glademm-1.1.1c

I have created a standard gtkmm/gnome menubar, and the source for it keeps getting written out incorrectly for just one thing.

This:   menubar1->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-help"), *help1_menu));

Should be:   menubar1->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-help")));

I get compile errors without that change.

I think it has to do with a menubar push_back on a stock menu item, because the other cases below it writes correctly:
   settings1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-preferences")));
help1_menu->items().push_back(Gtk::Menu_Helpers::MenuElem("_About"));
menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("_File", *menuitem1_menu));

I hope this is enough info to understand the problem.  Let me know if not!  :)

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.