![]() Registered Member ![]()
|
Hi everybody.
I have a main interface with some menus et actions :
Plugins are loaded and can add other menus.
When I load my plugin, menus are correctly added and actions work perfectly. When I unload the plugin, actions are deleted but not the menus or sub-menus even if they are empty. For example, when I unload the previous plugin, the submenus Open and New are not deleted but are empty. How can I delete menus and submenus if they are empty? |
![]() Administrator ![]()
|
KDE applications usually do not unload plugins once loaded. Also, plugins usually do not provide sub-menus, but simply add items to existing menus. This is a corner case currently.
I believe they only way to fix this would be to get the GUI "Rebuilt" by XMLGUI. While I think this is possible, I would recommend talking with the developers of XMLGUI, in #kde-devel on Freenode. They may be able to offer recommendations on how to fix this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]