Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 853
    • Issues 853
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !2227

gdesktopappinfo: Emit "launched" signal for D-Bus activation too

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guido Günther requested to merge guidog/glib:dbus-launch-startup-id into main Aug 19, 2021
  • Overview 36
  • Commits 3
  • Pipelines 7
  • Changes 4

When using g_desktop_app_info_launch_uris_as_manager() the "launched" signal allows to map a desktop-startup-id to a GAppInfo. Make this possible for DBus activation too. Otherwise it's hard for desktop shells to track application startup when apps are DBus activated.

It might make sense to use a different signal here since we don't have a PID and the current API says it's always set. We could also add signal detail like 'launched::dbus' vs 'launched::spawn' but my I first wanted to check if I'm on the right track.

Edited Oct 05, 2021 by Philip Withnall
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dbus-launch-startup-id