gapplication: add a way to override the app-id
commitb32f8ba19bd05db95f65baa5074c942b3964c1d3
authorLars Uebernickel <lars.uebernickel@canonical.com>
Tue, 3 Feb 2015 13:09:44 +0000 (3 14:09 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Feb 2016 13:18:58 +0000 (18 08:18 -0500)
tree93adb23a066e64a0640936ec4d16672be9fab0a1
parent15dea440c4c2a1b595b5513b458e84cd667f98b2
gapplication: add a way to override the app-id

Some applications support running in a mode where they present
themselves as a different application to the user (for example web
browsers or terminals).

To facilitate this, add an option --gapplication-app-id which allows
users to override an application's id from desktop files or similar.

Applications need to opt-in to this by setting the
G_APPLICATION_CAN_OVERRIDE_APP_ID flag.

https://bugzilla.gnome.org/show_bug.cgi?id=743933
gio/gapplication.c
gio/gioenums.h