@elextr

Needs to set use_underline so the mnemonics work, thats the reason for the workaround in the first place.

No, as @vfaronov mentioned there's no need as the item is crated with gtk_image_menu_item_new_with_mnemonic(), changing the label will keep the mnemonic choice. No it's not properly documented, but it always worked (AFAIK) and works.

So IMO the best fix would be to get rid of this obsolete compatibility function and call gtk_menu_item_set_label() directly.

[…] despite normal gtk_label_set_text() explicitly clearing the flag.

But gtk_label_set_label() explicitly does not reset that flag.

@vfaronov sorry if it was your original fix, I didn't see it before :S


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.