diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-12-18 06:53:29 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-12-18 06:53:29 -0600 |
commit | 004680a07cd38a90417d8740dbfcbcae54494e28 (patch) | |
tree | 818dd3680529dcc25835ef909f5d47f33fcf573a | |
parent | 8c6f26a654948ffb0b64f378a8a7e7932abf950e (diff) | |
download | ayatana-indicator-bluetooth-004680a07cd38a90417d8740dbfcbcae54494e28.tar.gz ayatana-indicator-bluetooth-004680a07cd38a90417d8740dbfcbcae54494e28.tar.bz2 ayatana-indicator-bluetooth-004680a07cd38a90417d8740dbfcbcae54494e28.zip |
add a second .desktop file to be installed in /usr/share/upstart/xdg/autostart with Hidden=true
-rw-r--r-- | data/Makefile.am | 14 | ||||
-rw-r--r-- | data/indicator-bluetooth.upstart.desktop.in | 8 |
2 files changed, 21 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index ec60c73..9784451 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -16,6 +16,17 @@ BUILT_SOURCES += $(upstart_jobs_DATA) EXTRA_DIST += $(upstart_jobs_in) CLEANFILES += $(upstart_jobs_DATA) +# the upstart version of the xdg autostart job file +# see https://code.launchpad.net/~charlesk/indicator-bluetooth/upstart-job/+merge/198100 +upstart_xdg_autostartdir = $(datadir)/upstart/xdg/autostart +upstart_xdg_autostart_DATA = indicator-bluetooth.desktop +upstart_xdg_autostart_in = indicator-bluetooth.upstart.desktop.in +$(upstart_xdg_autostart_DATA): $(upstart_xdg_autostart_in) + $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ +BUILT_SOURCES += $(upstart_xdg_autostart_DATA) +EXTRA_DIST += $(upstart_xdg_autostart_in) +CLEANFILES += $(upstart_xdg_autostart_DATA) + # the xdg autostart job file xdg_autostartdir = /etc/xdg/autostart xdg_autostart_DATA = indicator-bluetooth.desktop @@ -34,7 +45,8 @@ gsettings_SCHEMAS = com.canonical.indicator.bluetooth.gschema.xml EXTRA_DIST += \ com.canonical.indicator.bluetooth.gschema.xml.in \ indicator-bluetooth.conf.in \ - indicator-bluetooth.desktop.in + indicator-bluetooth.desktop.in \ + indicator-bluetooth.upstart.desktop.in CLEANFILES += \ $(dbus_services_DATA) \ diff --git a/data/indicator-bluetooth.upstart.desktop.in b/data/indicator-bluetooth.upstart.desktop.in new file mode 100644 index 0000000..5c9dcaf --- /dev/null +++ b/data/indicator-bluetooth.upstart.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Indicator Bluetooth +Exec=@pkglibexecdir@/indicator-bluetooth-service +NoDisplay=true +StartupNotify=false +Terminal=false +Hidden=true |