Skip to content

Commit

Permalink
Added yellow icon for notifications with warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Bandera committed Apr 22, 2016
1 parent 5576da2 commit c512b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions catkin_tools/execution/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ def print_compact_summary(self, completed_jobs, warned_jobs, failed_jobs):
if self.show_notifications:
if len(failed_jobs) != 0:
notify(notification_title, "\n".join(notification_msg), icon_image='catkin_icon_red.png')
elif len(warned_jobs) != 0:
notify(notification_title, "\n".join(notification_msg), icon_image='catkin_icon_yellow.png')
else:
notify(notification_title, "\n".join(notification_msg))

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c512b03

Please # to comment.