Bug 993274 - Remove cmd_new:livemark. r=mak

This commit is contained in:
Asaf Romano 2014-04-08 12:05:26 +03:00
Родитель 5a82eade2f
Коммит 9e2d98e42e
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -137,7 +137,6 @@ PlacesController.prototype = {
case "cmd_paste": case "cmd_paste":
case "placesCmd_paste": case "placesCmd_paste":
case "placesCmd_new:folder": case "placesCmd_new:folder":
case "placesCmd_new:livemark":
case "placesCmd_new:bookmark": case "placesCmd_new:bookmark":
case "placesCmd_createBookmark": case "placesCmd_createBookmark":
return false; return false;
@ -189,7 +188,6 @@ PlacesController.prototype = {
var selectedNode = this._view.selectedNode; var selectedNode = this._view.selectedNode;
return selectedNode && PlacesUtils.nodeIsURI(selectedNode); return selectedNode && PlacesUtils.nodeIsURI(selectedNode);
case "placesCmd_new:folder": case "placesCmd_new:folder":
case "placesCmd_new:livemark":
return this._canInsert(); return this._canInsert();
case "placesCmd_new:bookmark": case "placesCmd_new:bookmark":
return this._canInsert(); return this._canInsert();
@ -280,9 +278,6 @@ PlacesController.prototype = {
case "placesCmd_new:bookmark": case "placesCmd_new:bookmark":
this.newItem("bookmark"); this.newItem("bookmark");
break; break;
case "placesCmd_new:livemark":
this.newItem("livemark");
break;
case "placesCmd_new:separator": case "placesCmd_new:separator":
this.newSeparator().then(null, Cu.reportError); this.newSeparator().then(null, Cu.reportError);
break; break;
@ -1684,7 +1679,6 @@ function goUpdatePlacesCommands() {
updatePlacesCommand("placesCmd_open:tab"); updatePlacesCommand("placesCmd_open:tab");
updatePlacesCommand("placesCmd_new:folder"); updatePlacesCommand("placesCmd_new:folder");
updatePlacesCommand("placesCmd_new:bookmark"); updatePlacesCommand("placesCmd_new:bookmark");
updatePlacesCommand("placesCmd_new:livemark");
updatePlacesCommand("placesCmd_new:separator"); updatePlacesCommand("placesCmd_new:separator");
updatePlacesCommand("placesCmd_show:info"); updatePlacesCommand("placesCmd_show:info");
updatePlacesCommand("placesCmd_moveBookmarks"); updatePlacesCommand("placesCmd_moveBookmarks");

Просмотреть файл

@ -59,8 +59,6 @@
<command id="placesCmd_new:bookmark" <command id="placesCmd_new:bookmark"
oncommand="goDoPlacesCommand('placesCmd_new:bookmark');"/> oncommand="goDoPlacesCommand('placesCmd_new:bookmark');"/>
<command id="placesCmd_new:livemark"
oncommand="goDoPlacesCommand('placesCmd_new:livemark');"/>
<command id="placesCmd_new:folder" <command id="placesCmd_new:folder"
oncommand="goDoPlacesCommand('placesCmd_new:folder');"/> oncommand="goDoPlacesCommand('placesCmd_new:folder');"/>
<command id="placesCmd_new:separator" <command id="placesCmd_new:separator"