extensions-app: Start as service when D-Bus activated
When the app is properly launched, D-Bus activation will be followed by a call to org.freedesktop.Application.Activate() to open the window. But it's also possible for D-Bus activation to happen in other circumstances, for example during gdbus command line completion. We don't want to pop up a window then, so pass the --gapplication-service flag to properly separate D-Bus activation from activating the app. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2076>
This commit is contained in:
parent
8b3f74bb7d
commit
e8d5564e9e
@ -4,7 +4,7 @@ Name=Extensions
|
|||||||
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
Icon=@app_id@
|
Icon=@app_id@
|
||||||
Comment=Configure GNOME Shell Extensions
|
Comment=Configure GNOME Shell Extensions
|
||||||
Exec=@bindir@/@prgname@
|
Exec=@bindir@/@prgname@ --gapplication-service
|
||||||
DBusActivatable=true
|
DBusActivatable=true
|
||||||
Categories=GNOME;GTK;Utility;
|
Categories=GNOME;GTK;Utility;
|
||||||
OnlyShowIn=GNOME;
|
OnlyShowIn=GNOME;
|
||||||
|
Loading…
Reference in New Issue
Block a user