octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44801] Removing a context menu


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44801] Removing a context menu
Date: Sat, 11 Apr 2015 11:26:24 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #5, bug #44801 (project octave):

I have attached a simple patch that fixes the issue for me. However it does
only handle the case of deleting a uicontextmenu and reseting its parent
"uicontextmenu" property. 
I am working on a more general solution that uses Rik's suggestion to do the
cleanup in the uicontextmenu destructor. uicontextmenu objects will store a
list of objects that may depend on them, and reset their "uicontextmenu"
property at destruction if needed.

(file #33637)
    _______________________________________________________

Additional Item Attachment:

File name: fix_deletectx2.patch           Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44801>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]