kopia lustrzana https://github.com/c9/core
change confusing quit and restart items in cloud9 menu
rodzic
f70091690c
commit
5d4dee25ac
|
@ -83,7 +83,7 @@
|
||||||
"c9.ide.ace.stripws": "#8885016b9e",
|
"c9.ide.ace.stripws": "#8885016b9e",
|
||||||
"c9.ide.behaviors": "#db32109ebc",
|
"c9.ide.behaviors": "#db32109ebc",
|
||||||
"c9.ide.closeconfirmation": "#cee4674141",
|
"c9.ide.closeconfirmation": "#cee4674141",
|
||||||
"c9.ide.configuration": "#528234d97d",
|
"c9.ide.configuration": "#a936df26bb",
|
||||||
"c9.ide.dialog.wizard": "#7667ec79a8",
|
"c9.ide.dialog.wizard": "#7667ec79a8",
|
||||||
"c9.ide.fontawesome": "#781602c5d8",
|
"c9.ide.fontawesome": "#781602c5d8",
|
||||||
"c9.ide.format": "#5ec97fb083",
|
"c9.ide.format": "#5ec97fb083",
|
||||||
|
|
|
@ -334,15 +334,6 @@ define(function(require, exports, module) {
|
||||||
|
|
||||||
menus.addItemByPath("File/~", new apf.divider(), 1000000, plugin);
|
menus.addItemByPath("File/~", new apf.divider(), 1000000, plugin);
|
||||||
|
|
||||||
if (!c9.local) {
|
|
||||||
menus.addItemByPath("Cloud9/~", new apf.divider(), 2000000, plugin);
|
|
||||||
menus.addItemByPath("Cloud9/Quit Cloud9", new apf.item({
|
|
||||||
onclick: function(){
|
|
||||||
location.href = "http://c9.io";
|
|
||||||
}
|
|
||||||
}), 2000100, plugin);
|
|
||||||
}
|
|
||||||
|
|
||||||
menus.addItemByPath("View/~", new apf.divider(), 9999, plugin);
|
menus.addItemByPath("View/~", new apf.divider(), 9999, plugin);
|
||||||
|
|
||||||
menus.addItemByPath("Window/Presets", null, 10200, plugin);
|
menus.addItemByPath("Window/Presets", null, 10200, plugin);
|
||||||
|
|
|
@ -40,6 +40,15 @@ define(function(require, exports, module) {
|
||||||
});
|
});
|
||||||
|
|
||||||
auth.on("relogin", onReLogin);
|
auth.on("relogin", onReLogin);
|
||||||
|
|
||||||
|
if (!c9.local) {
|
||||||
|
menus.addItemByPath("Cloud9/~", new apf.divider(), 2000000, plugin);
|
||||||
|
menus.addItemByPath("Cloud9/Quit Cloud9", new apf.item({
|
||||||
|
onclick: function(){
|
||||||
|
signout();
|
||||||
|
}
|
||||||
|
}), 2000100, plugin);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Methods *****/
|
/***** Methods *****/
|
||||||
|
|
Ładowanie…
Reference in New Issue