-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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
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.
Metadata
Metadata
Assignees
Labels
No labels