blob: f7ae50ee48fa6f429176a7984978593a41aef922 [file] [log] [blame]
Stephan Herhutd24b1b72017-08-24 15:09:36 +02001#!/usr/bin/env python
2# Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
3# for details. All rights reserved. Use of this source code is governed by a
4# BSD-style license that can be found in the LICENSE file.
5
6try:
7 import gi
8 from gi.repository import Notify
9 Notify.init("R8 build tools")
10
11 def notify(message):
12 try:
13 Notify.Notification.new("R8 build tools", message).show()
14 except:
15 return
16
17except ImportError:
18 def notify(message):
19 return