Remove item from panel plugin menu

Landry Breuil landry.breuil at gmail.com
Mon Dec 21 12:26:24 CET 2009


On Mon, Dec 21, 2009 at 10:23 AM, Nick Schermer <nickschermer at gmail.com> wrote:
> 2009/12/20 Landry Breuil <landry.breuil at gmail.com>:
>> 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..
>
> You can always remove items by keeping a pointer to the widget (menu
> item) and calling gtk_widget_destroy on it.

Hm, makes sense.. i was more worried this was going to confuse panel plugin
menu internals.

Thanks!
Landry



More information about the Xfce4-dev mailing list