Skip to content

Commit

Permalink
Changed the notification module to create dismissable notifications, …
Browse files Browse the repository at this point in the history
…except for error notifications
  • Loading branch information
vellerefond committed Dec 21, 2015
1 parent 7998561 commit 1f38356
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
###### 0.36.1 - Changed the notification module to create dismissable notifications, except for error notifications

###### 0.36.0 - Implemented a tab and tab-bar context menu item for closing any project/always open unrelated files

###### 0.35.2 - Fixed the logic for when a project's files are removed from the file system but Atom opens their cached versions
Expand Down
4 changes: 2 additions & 2 deletions lib/project-ring-notification.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ class ProjectRingNotification

notify: (message) ->
return unless @isEnabled and message
atom.notifications.addSuccess message
atom.notifications.addSuccess message, dismissable: true

warn: (message) ->
return unless @isEnabled and message
atom.notifications.addWarning message
atom.notifications.addWarning message, dismissable: true

alert: (message) ->
return unless message
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "project-ring",
"main": "./lib/project-ring",
"version": "0.36.0",
"version": "0.36.1",
"description": "Project management for the Atom editor.",
"repository": "https://github.com/vellerefond/project-ring",
"license": "GPL-2.0",
Expand Down

0 comments on commit 1f38356

Please sign in to comment.