mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-30 20:19:58 +02:00
remove committed conflict markers
This commit is contained in:
parent
4e94817959
commit
9aeda32f3f
1 changed files with 19 additions and 66 deletions
|
@ -255,8 +255,8 @@ function goHomeClicked() {
|
||||||
var logWindow = null;
|
var logWindow = null;
|
||||||
|
|
||||||
function buildMenuArray(serverState) {
|
function buildMenuArray(serverState) {
|
||||||
<<<<<<< HEAD
|
|
||||||
var menuArray = null;
|
var menuArray = null;
|
||||||
|
|
||||||
if (isShuttingDown) {
|
if (isShuttingDown) {
|
||||||
menuArray = [
|
menuArray = [
|
||||||
{
|
{
|
||||||
|
@ -266,54 +266,6 @@ function buildMenuArray(serverState) {
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
menuArray = [
|
menuArray = [
|
||||||
{
|
|
||||||
label: 'Go Home',
|
|
||||||
click: goHomeClicked,
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'separator'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Server - Stopped",
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Start",
|
|
||||||
click: function() { homeServer.restart(); }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Stop",
|
|
||||||
visible: false,
|
|
||||||
click: function() { homeServer.stop(); }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Settings",
|
|
||||||
click: function() { shell.openExternal('http://localhost:40100/settings'); },
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "View Logs",
|
|
||||||
click: function() { logWindow.open(); }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Open Log Directory",
|
|
||||||
click: function() { openFileBrowser(logPath); }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'separator'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Quit',
|
|
||||||
accelerator: 'Command+Q',
|
|
||||||
click: function() { shutdown(); }
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
updateMenuArray(menuArray, serverState);
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
var menuArray = [
|
|
||||||
{
|
{
|
||||||
label: 'Server - Stopped',
|
label: 'Server - Stopped',
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -363,8 +315,9 @@ function buildMenuArray(serverState) {
|
||||||
click: function() { app.quit(); }
|
click: function() { app.quit(); }
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
>>>>>>> shuffling and renaming of menu options
|
|
||||||
|
|
||||||
|
updateMenuArray(menuArray, serverState);
|
||||||
|
}
|
||||||
|
|
||||||
return menuArray;
|
return menuArray;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue