mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 300710 part.1 Specify context menu for bookmark items to bookmark toolbar items r=mak
This commit is contained in:
parent
9ed492a1a7
commit
908f13b4d2
@ -326,10 +326,6 @@ PlacesViewBase.prototype = {
|
||||
popup.setAttribute("placespopup", "true");
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// No context menu on mac.
|
||||
popup.setAttribute("context", "placesContext");
|
||||
#endif
|
||||
element.appendChild(popup);
|
||||
element.className = "menu-iconic bookmark-item";
|
||||
|
||||
@ -988,9 +984,7 @@ PlacesToolbar.prototype = {
|
||||
popup.setAttribute("placespopup", "true");
|
||||
button.appendChild(popup);
|
||||
popup._placesNode = PlacesUtils.asContainer(aChild);
|
||||
#ifndef XP_MACOSX
|
||||
popup.setAttribute("context", "placesContext");
|
||||
#endif
|
||||
|
||||
this._domNodes.set(aChild, popup);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user