Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show represented file on MacOS #868

Merged
merged 1 commit into from
Mar 1, 2022
Merged

show represented file on MacOS #868

merged 1 commit into from
Mar 1, 2022

Conversation

AlbyIanna
Copy link
Contributor

@AlbyIanna AlbyIanna commented Feb 27, 2022

Motivation

On macOS, you can set a represented file for any window in your application. The represented file's icon will be shown in the title bar, and when users CMD/CTRL+Click, a popup with a path to the file will be shown.

image

Change description

Use BrowserWindow.setRepresentedFilename whenever the file selected in the editor changes.

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@per1234 per1234 added os: macos Specific to macOS operating system topic: code Related to content of the project itself type: enhancement Proposed improvement labels Feb 27, 2022
@AlbyIanna AlbyIanna merged commit f2d492b into main Mar 1, 2022
@AlbyIanna AlbyIanna deleted the macos-represented-file branch March 1, 2022 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos Specific to macOS operating system topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants