Problem updating a (sub)menu

2005-10-06 Thread Chris Vetter
Hi, I'm having a problem with updating a submenu: What I'm trying to do is implement a Recent Files submenu. When I open a file/document in one application, I'm sending a notification about it, that is picked up by the other application. I can retrieve the file/document name and when I use

Re: Problem updating a (sub)menu

2005-10-06 Thread Benhur Stein
On 10/6/05, Chris Vetter [EMAIL PROTECTED] wrote: However, the submenu on screen never gets updated, that is, the entry is never shown, even if I use -update on the submenu or the main menu. I call sizeToFit in my code and it works. I took a look at the documentation, and it seems that -update

Re: Problem updating a (sub)menu

2005-10-06 Thread Chris Vetter
On Thu, 6 Oct 2005 10:40:10 -0300, Benhur wrote: On 10/6/05, Chris Vetter [EMAIL PROTECTED] wrote: However, the submenu on screen never gets updated, that is, the entry is never shown, even if I use -update on the submenu or the main menu. I call sizeToFit in my code and it works. I took a