[glade--]Missing Stock Menu Item Accelerators
Samuel Abels <[email protected]> Wed, 07 Apr 2004 11:40:15 +0200
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <1081330814.23371.12.camel@chef> |
Hello,
I have built a window using Glade2/libglademm2. There are several
accelerators attached to menu items, and in Glade2 they are correctly
showing up in the menu (e.g. File/"Quit Ctrl+Q").
But when I load the window in my program, the accelerators will not work
and they are not showing up in the menu as well.
This happens only with the stock menu items. The accelerators of
non-stock items work fine.
Any ideas? Help appreciated.
Thanks,
-Samuel
---------------------------------
// Load the Glade file and instantiate its widgets.
try {
refXml = Gnome::Glade::Xml::create(PACKAGE_LIB_DIR "cantus-3.glade",
"mainwindow");
}
catch(const Gnome::Glade::XmlError & err) {
std::cerr << err.what() << '\n';
return(NULL);
}
---------------------------------