(lib)glademm and GtkMenuItem accelerator keys
Michael Rasmussen <[email protected]> Mon, 06 Mar 2006 23:00:05 +0100
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <1141682405l.19612l.0l@loke> |
Hi List,
I am strugling with a problem in (lib)glademm which seems to be a long
outstanding bug, http://bugzilla.gnome.org/show_bug.cgi?id=3D129846. The, =20
almost famous, GtkMenuItem accelerator keys bug. I have tried, to the =20
best of my knowledge, any possible solution incorporating reparent or =20
without reparent but without any luck so far:-\ Any news regarding this =20
bug?
Using GtkMenuItem accelerators also courses the application to output a =20
lot of error messages when terminating. One way, I have found out, to =20
solve this is the following solution:
Recommended way:
Gtk::Main application(argc, argv);
Foo foo;
application.run(foo);
My solution:
Gtk::Main application(argc, argv);
Foo *foo =3D new Foo();
application.run(*foo);
The solution I have found gives a hint regarding the bug. As I see it =20
the GtkAccelGroup is actually created but the information is not =20
populated to the class in which case a lot of uninitialized references =20
are left unresolved? So maybe solving the bug is simply a matter of =20
fixing the assignment/copy constructor or some kind of clone method?
Any comments?
--=20
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xD3C9A00E
mir <at> datanom <dot> net
http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xE501F51C
mir <at> miras <dot> org
http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xE3E80917
--------------------------------------------------------------
Don't kiss an elephant on the lips today.