Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ install_data(
rename: meson.project_name() + '.gschema.xml'
)

configure_file(
input: 'settings.service.in',
output: meson.project_name() + '.service',
configuration: conf_data,
install_dir: get_option('datadir') / 'dbus-1' / 'services',
install: true
)

i18n.merge_file(
input: 'settings.desktop.in',
output: meson.project_name() + '.desktop',
Expand Down
13 changes: 9 additions & 4 deletions data/settings.desktop.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
[Desktop Entry]
Type=Application

Name=System Settings
Comment=Change system and user settings
Exec=io.elementary.settings %u
Icon=io.elementary.settings
Terminal=false
StartupNotify=true
Categories=GNOME;GTK;System;
Keywords=Center;Control;Panel;Preferences;System;

Icon=io.elementary.settings
Exec=io.elementary.settings %u
DBusActivatable=true
SingleMainWindow=true
StartupNotify=true
Terminal=false

MimeType=x-scheme-handler/settings;
3 changes: 3 additions & 0 deletions data/settings.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[D-BUS Service]
Name=io.elementary.settings
Exec=@BINDIR@/io.elementary.settings --gapplication-service
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ add_project_arguments([
)

conf_data = configuration_data()
conf_data.set('BINDIR', get_option('bindir'))
conf_data.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
conf_data.set_quoted('GETTEXT_PACKAGE', meson.project_name())
conf_file = configure_file(
Expand Down