fix(templates): Open manage templates from composer window

- Fixes #1433
- Make Action.openPreferences global
This commit is contained in:
Juan Tejada 2016-02-26 15:22:39 -08:00
parent 8f184f2896
commit 29cf1fedcd
2 changed files with 6 additions and 6 deletions

View file

@ -81,7 +81,7 @@ class SystemTrayManager {
if (this._platform !== 'darwin') {
this._application.emit('application:show-main-window');
}
}
};
setTrayCount(iconPath, unreadString) {
if (!this._tray) return;

View file

@ -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.