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:
annie.sullivan%gmail.com 2006-03-07 18:41:38 +00:00
parent 79254475ac
commit 7038dc011b
3 changed files with 7 additions and 6 deletions

View File

@ -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>

View File

@ -602,7 +602,7 @@
for (var i = 0; i < this._self.supportedDropTypes.length; ++i)
flavorSet.appendFlavour(this._self.supportedDropTypes[i]);
return flavorSet;
},
}
})]]></field>

View File

@ -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>