(lib)glademm and GtkMenuItem accelerator keys



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=129846. The, almost famous, GtkMenuItem accelerator keys bug. I have tried, to the best of my knowledge, any possible solution incorporating reparent or without reparent but without any luck so far:-\ Any news regarding this bug?

Using GtkMenuItem accelerators also courses the application to output a lot of error messages when terminating. One way, I have found out, to 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 = new Foo();
    application.run(*foo);

The solution I have found gives a hint regarding the bug. As I see it the GtkAccelGroup is actually created but the information is not populated to the class in which case a lot of uninitialized references are left unresolved? So maybe solving the bug is simply a matter of fixing the assignment/copy constructor or some kind of clone method?

Any comments?

--
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Don't kiss an elephant on the lips today.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]