"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/src/main-process/menu/build-default-menu.ts" between
desktop-release-2.7.2-linux1.tar.gz and desktop-release-2.8.0-linux1.tar.gz

About: GitHub Desktop (Linux) is an open source Electron-based GitHub app. It is written in TypeScript and uses React. A fork of GitHub Desktop to support various Linux distributions. Release candidate.

build-default-menu.ts  (desktop-release-2.7.2-linux1):build-default-menu.ts  (desktop-release-2.8.0-linux1)
import { Menu, ipcMain, shell } from 'electron' import { Menu, ipcMain, shell } from 'electron'
import { ensureItemIds } from './ensure-item-ids' import { ensureItemIds } from './ensure-item-ids'
import { MenuEvent } from './menu-event' import { MenuEvent } from './menu-event'
import { truncateWithEllipsis } from '../../lib/truncate-with-ellipsis' import { truncateWithEllipsis } from '../../lib/truncate-with-ellipsis'
import { getLogDirectoryPath } from '../../lib/logging/get-log-path' import { getLogDirectoryPath } from '../../lib/logging/get-log-path'
import { ensureDir } from 'fs-extra' import { ensureDir } from 'fs-extra'
import { UNSAFE_openDirectory } from '../shell' import { UNSAFE_openDirectory } from '../shell'
import { enableCreateGitHubIssueFromMenu } from '../../lib/feature-flag'
import { MenuLabelsEvent } from '../../models/menu-labels' import { MenuLabelsEvent } from '../../models/menu-labels'
const platformDefaultShell = __WIN32__ ? 'Command Prompt' : 'Terminal' const platformDefaultShell = __WIN32__ ? 'Command Prompt' : 'Terminal'
const createPullRequestLabel = __DARWIN__ const createPullRequestLabel = __DARWIN__
? 'Create Pull Request' ? 'Create Pull Request'
: 'Create &pull request' : 'Create &pull request'
const showPullRequestLabel = __DARWIN__ const showPullRequestLabel = __DARWIN__
? 'Show Pull Request' ? 'Show Pull Request'
: 'Show &pull request' : 'Show &pull request'
const defaultBranchNameValue = __DARWIN__ ? 'Default Branch' : 'default branch' const defaultBranchNameValue = __DARWIN__ ? 'Default Branch' : 'default branch'
skipping to change at line 331 skipping to change at line 330
click: emit('open-external-editor'), click: emit('open-external-editor'),
}, },
separator, separator,
{ {
id: 'create-issue-in-repository-on-github', id: 'create-issue-in-repository-on-github',
label: __DARWIN__ label: __DARWIN__
? 'Create Issue on GitHub' ? 'Create Issue on GitHub'
: 'Create &issue on GitHub', : 'Create &issue on GitHub',
accelerator: 'CmdOrCtrl+I', accelerator: 'CmdOrCtrl+I',
click: emit('create-issue-in-repository-on-github'), click: emit('create-issue-in-repository-on-github'),
visible: enableCreateGitHubIssueFromMenu(),
}, },
separator, separator,
{ {
label: __DARWIN__ ? 'Repository Settings…' : 'Repository &settings…', label: __DARWIN__ ? 'Repository Settings…' : 'Repository &settings…',
id: 'show-repository-settings', id: 'show-repository-settings',
click: emit('show-repository-settings'), click: emit('show-repository-settings'),
}, },
], ],
}) })
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)