mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
fix(templates): Open manage templates from composer window
- Fixes #1433 - Make Action.openPreferences global
This commit is contained in:
parent
8f184f2896
commit
29cf1fedcd
2 changed files with 6 additions and 6 deletions
|
@ -81,7 +81,7 @@ class SystemTrayManager {
|
|||
if (this._platform !== 'darwin') {
|
||||
this._application.emit('application:show-main-window');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
setTrayCount(iconPath, unreadString) {
|
||||
if (!this._tray) return;
|
||||
|
|
|
@ -126,7 +126,7 @@ class Actions
|
|||
@longPollOffline: ActionScopeWorkWindow
|
||||
@willMakeAPIRequest: ActionScopeWorkWindow
|
||||
@didMakeAPIRequest: ActionScopeWorkWindow
|
||||
|
||||
|
||||
###
|
||||
Public: Retry the initial sync
|
||||
|
||||
|
@ -137,16 +137,16 @@ class Actions
|
|||
###
|
||||
Public: Open the preferences view.
|
||||
|
||||
*Scope: Window*
|
||||
*Scope: Global*
|
||||
###
|
||||
@openPreferences: ActionScopeWindow
|
||||
@openPreferences: ActionScopeGlobal
|
||||
|
||||
###
|
||||
Public: Switch to the preferences tab with the specific name
|
||||
|
||||
*Scope: Window*
|
||||
*Scope: Global*
|
||||
###
|
||||
@switchPreferencesTab: ActionScopeWindow
|
||||
@switchPreferencesTab: ActionScopeGlobal
|
||||
|
||||
###
|
||||
Public: Clear the developer console for the current window.
|
||||
|
|
Loading…
Reference in a new issue