Re: gtk_menu_item_set_accel_path()

2018-02-11 Thread Christian Schoenebeck
On Donnerstag, 8. Februar 2018 20:21:52 CET Christian Schoenebeck wrote: > Ok, the attached quick hack (on gtkmm3) fixed that issue for me. With that > patch the acceleration keys are now correctly displayed again with gtkmm3. > But obviously I have no idea whether the acceleration label was

Re: gtk_menu_item_set_accel_path()

2018-02-08 Thread Christian Schoenebeck
On Donnerstag, 8. Februar 2018 16:32:05 CET Christian Schoenebeck wrote: > And in fact that C code works perfectly even with Gtk 3, but gtkmm3 is doing > something differently than in above's C code: in the Gtk::MenuItem > constructor they explicitly create an acceleration label for the menu item

Re: gtk_menu_item_set_accel_path()

2018-02-08 Thread Christian Schoenebeck
u item to menu GtkWidget* menuItem = gtk_menu_item_new_with_label("Some text"); gtk_menu_shell_append(menu, menuItem); // assign keyboard acceleration path to menu item gtk_menu_item_set_accel_path(GTK_MENU_ITEM(menuItem), "/bla");

gtk_menu_item_set_accel_path()

2018-02-07 Thread Christian Schoenebeck
Hi! I am currently debugging gtk_menu_item_set_accel_path(): when using that function then keyboard accelerator key(s) are not displayed in the menu item at all. Has anybody looked into this bug before? What I found out so far is that the the menu item's GtkAccelLabel->p