Remove item from panel plugin menu
Landry Breuil
landry.breuil at gmail.com
Sun Dec 20 18:09:13 CET 2009
Hi,
so far the public functions to handle panel rightclick menu only
permits to block/unblock menu,
and add an item. Is it possible to also add a function to remove items
from this menu ? Or
maybe there's another way to implement that i didn't found..
Use case: i want to implement output selection checkboxes in mpd
plugin in the rightclick menu,
(maybe in a sub-menu), so i have to dynamically add/remove checkboxes
items for each available
output, which can change upon connection to a different mpd server.
Adding items to menu is
easy, removing seems not possible yet.
Comments ? Is it a valid use case, or panel plugin menu is not the
place for that ?
Thanks,
Landry
More information about the Xfce4-dev
mailing list