extensionPrefs: Make app D-Bus-activatable
This is the preferred way of launching applications nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081
This commit is contained in:
parent
3ee878491b
commit
96e534796f
@ -26,5 +26,13 @@ i18n.merge_file('desktop',
|
||||
type: 'desktop'
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input: app_id + '.service.in',
|
||||
output: app_id + '.service',
|
||||
configuration: desktopconf,
|
||||
install: true,
|
||||
install_dir: servicedir,
|
||||
)
|
||||
|
||||
subdir('icons')
|
||||
subdir('metainfo')
|
||||
|
@ -5,5 +5,6 @@ Name=Extensions
|
||||
Icon=@app_id@
|
||||
Comment=Configure GNOME Shell Extensions
|
||||
Exec=@bindir@/@prgname@ %u
|
||||
DBusActivatable=true
|
||||
Categories=GNOME;GTK;
|
||||
OnlyShowIn=GNOME;
|
||||
|
3
js/extensionPrefs/data/org.gnome.Extensions.service.in
Normal file
3
js/extensionPrefs/data/org.gnome.Extensions.service.in
Normal file
@ -0,0 +1,3 @@
|
||||
[D-BUS Service]
|
||||
Name=@app_id@
|
||||
Exec=@bindir@/@prgname@
|
Loading…
Reference in New Issue
Block a user