GNOME Bugzilla – Bug 651606
Wrong superclass used in NMNetworkMenuItem destroy ?
Last modified: 2011-06-02 13:30:34 UTC
NMNetworkMenuItem's destroy method does this: PopupMenu.PopupImageMenuItem.prototype.destroy.call(this); But the class inherits from: __proto__: PopupMenu.PopupBaseMenuItem.prototype, So should the destroy be calling up to PopupBaseMenuItem instead?
Yes, definitely. Probably this was forgot when NMNetworkMenuItem started showing two icons.
had no effect since ImageMenuItem didn't override BaseMenuItem's destroy anyway (and also, we never destroy the network menu). But yeah. The following fix has been pushed: 7f2456c network: fix chaining of a destroy method
Created attachment 189078 [details] [review] network: fix chaining of a destroy method