Multi-Core System Monitor is an applet that displays in realtime the CPU usage for each core/cpu, Memory, Swap, Network usage, and Hard Disk (still in beta) information. It allows you to see at a glance how your system resources are being utilized. The goal for this applet is to display system resources in an elegant non-distracting way.
I've noticed each time you move this applet around in your panel, a new duplicate "Preferences" item appears in context menu. I believe the problem is caused by this piece of code:
on_orientation_changed: function (orientation) {
this._initContextMenu();
},
I did some debugging, and it seems that; when you move an applet in the panel on_orientation_changed() method is called even if the orientation of the applet is the same. And this causes duplicate items in context menu.
I've noticed each time you move this applet around in your panel, a new duplicate "Preferences" item appears in context menu. I believe the problem is caused by this piece of code:
https://github.com/ccadeptic23/Multi-Core-System-Monitor/blob/master/applet.js#L141
I did some debugging, and it seems that; when you move an applet in the panel
on_orientation_changed()
method is called even if the orientation of the applet is the same. And this causes duplicate items in context menu.