Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mousepad mousepad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Apps
  • mousepadmousepad
  • Merge requests
  • !110

History: Trap some external signals, try to quit gracefully

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Gaël Bonithon requested to merge Tamaranch/mousepad:trap-external-signals into master Jul 07, 2021
  • Overview 0
  • Commits 1
  • Pipelines 4
  • Changes 4

Closes #3 (closed).

This traps SIGHUP, SIGINT and SIGTERM on UNIX platforms, and uses GtkApplication features to listen to the session manager notifications on logout. When one of these signals is received, we quit gracefully and non-interactively using autosave features added in !109 (merged).

Edited Jul 07, 2021 by Gaël Bonithon
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: trap-external-signals