mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 328779: Statusbar text for bookmark menu items, Patch by Dave Townsend <mossop@blueprintit.co.uk> r=annie.sullivan@gmail.com sr=ben@mozilla.org
This commit is contained in:
parent
79254475ac
commit
7038dc011b
@ -165,7 +165,7 @@
|
||||
element = document.createElementNS(XULNS, "menuitem");
|
||||
element.setAttribute("label", child.title);
|
||||
element.setAttribute("url", child.uri);
|
||||
element.setAttribute("statustext", child.url);
|
||||
element.setAttribute("statustext", child.uri);
|
||||
element.className = "menuitem-iconic bookmark-item";
|
||||
}
|
||||
else if (PlacesController.nodeIsSeparator(child)) {
|
||||
@ -605,7 +605,7 @@
|
||||
for (var i = 0; i < this._self.supportedDropTypes.length; ++i)
|
||||
flavorSet.appendFlavour(this._self.supportedDropTypes[i]);
|
||||
return flavorSet;
|
||||
},
|
||||
}
|
||||
|
||||
})]]></field>
|
||||
|
||||
|
@ -602,7 +602,7 @@
|
||||
for (var i = 0; i < this._self.supportedDropTypes.length; ++i)
|
||||
flavorSet.appendFlavour(this._self.supportedDropTypes[i]);
|
||||
return flavorSet;
|
||||
},
|
||||
}
|
||||
|
||||
})]]></field>
|
||||
|
||||
|
@ -61,6 +61,7 @@
|
||||
return this.view.QueryInterface(Ci.nsINavHistoryResult);
|
||||
}
|
||||
catch (e) {
|
||||
return null;
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
@ -480,8 +481,8 @@
|
||||
var dragService =
|
||||
Cc["@mozilla.org/widget/dragservice;1"].
|
||||
getService(Ci.nsIDragService);
|
||||
var session = dragService.getCurrentSession();
|
||||
session.canDrop = this._viewObserver.canDrop(-1, 1);
|
||||
var dragSession = dragService.getCurrentSession();
|
||||
dragSession.canDrop = this._viewObserver.canDrop(-1, 1);
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
@ -669,7 +670,7 @@
|
||||
onCycleCell: function VO_onCycleCell(row, column) { },
|
||||
onPerformAction: function VO_onPerformAction(action) { },
|
||||
onPerformActionOnRow: function VO_onPerformActionOnRow(action, row) { },
|
||||
onPerformActionOnCell: function VO_onPerformActionOnCell(action, row, column) { },
|
||||
onPerformActionOnCell: function VO_onPerformActionOnCell(action, row, column) { }
|
||||
})]]></field>
|
||||
|
||||
<field name="_nextSelection">[]</field>
|
||||
|
Loading…
Reference in New Issue
Block a user