I'm developing a RCP application at Centos7, and GTK version is gtk3-3.22.30-3.el7.x86_64.
but there is a sub menu "Input Methods" appeared in all content menu. SubMenu.png
How can I remove this sub menu.
I'm developing a RCP application at Centos7, and GTK version is gtk3-3.22.30-3.el7.x86_64.
but there is a sub menu "Input Methods" appeared in all content menu. SubMenu.png
How can I remove this sub menu.
Finally, my colleague given me an answer.
There is a internal static String variable in org.eclipse.swt.widgets.Composite named NO_INPUT_METHOD, all we need to do is just set this val not be null by display.setData("org.eclipse.swt.internal.gtk.noInputMethod", true);, then everything is OK!
org.eclipse.ui.activitiesextension point to suppress the menu item.