Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tray icon to the application #1676

Merged
merged 1 commit into from
Nov 27, 2017

Commits on Nov 23, 2017

  1. Add a tray icon to the application

    This commit adds a tray icon to the application, shown in the system
    tray bar, that can be used to minimise the application window.  This
    is a common feature on most desktop messaging apps (e.g. Telegram
    Desktop or Slack) and allows to save space in the system task bar.
    
    The tray icon provides a context menu that contains a button to
    show/hide the application window, and a button to quit the
    application. When the tray icon is clicked, the visibility of the
    window is toggled.  When the close (x) button of the window is
    pressed, the application is not terminated but minimised to the tray
    icon instead (it can be terminated by using the "Quit" entry in the
    File menu or in the context menu of the tray icon).
    
    The tray icon is disabled by default, and two command line arguments
    are available to enable it:
      --use-tray-icon: enables the tray icon
      --start-in-tray: enables the tray icon and the application starts
                       minimised in the tray bar
    
    Resolves: signalapp#1480
    m-pilia committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    141eaef View commit details
    Browse the repository at this point in the history