MozillaZine

Talk:Dev : Extensions : Example Code : Adding Drag and Drop to Statusbarpanel

From MozillaZine Knowledge Base

Ihoss.

Does this code allow you to drag and drop a statusbar icon to the toolbar menu? -Jed

no


New comment ------------

This code seems to work fine as long as only one extension uses it. Example: I have an extension that displays two icons in the statusbar. If I drag and drop one of them to one end of the statusbar and the other to the other end, all is fine until I restart the browser. When the browser loads, both icons are right next to each other near the same place I dragged the second one. I installed another extension which uses similar code and it's icon is clumped together with the other two. It seems the last icon to be moved determines the location for all (previously moved) icons after a restart.