Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • E electronic-wechat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 198
    • Issues 198
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Zhongyi Tong
  • electronic-wechat
  • Merge requests
  • !285

Enable tray icon click event on Linux

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/jichu4n/click into master Jul 08, 2016
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: jichu4n

This addresses issue #178 .

The Electron docs says the click event only fires on Linux if using GTK indicator, so listening to the click event is not reliable. However, there is no downside to listening to the event even if it never fires. With this change, the click event does fire for me on Ubuntu 14.04 with MATE.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jichu4n/click