showTrayBalloon.js 649 B
Newer Older
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
// This file is part of Parity.
//
// SPDX-License-Identifier: BSD-3-Clause

import path from 'path';

import staticPath from '../utils/staticPath';
import Pino from '../utils/pino';

const iconBalloonPath = path.join(
  staticPath,
  'assets',
  'icons',
  'win',
  'iconBalloon.png'
);

Luke Schoen's avatar
Luke Schoen committed
function showTrayBalloon (thatFA) {

  pino.info('Showing Tray Balloon');

  tray.displayBalloon({
    content: `Press ALT in the Fether window to toggle the menu`,
    icon: iconBalloonPath,
    title: 'Fether Menu'
  });
}

export default showTrayBalloon;