diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-09-26 18:18:46 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-10-11 11:00:56 +0200 |
commit | 2645a7b37d3c0fe92b64fecdb57b4069d94a7787 (patch) | |
tree | 806f101055fc0697a9080a80d92319db02f9dba1 /plugins/screensaver-proxy | |
parent | 7746c04a175707ebc7083ad8276fcdc3054677b4 (diff) | |
download | gnome-settings-daemon-2645a7b37d3c0fe92b64fecdb57b4069d94a7787.tar.gz |
plugins: Add desktop files for all the plugins
So that the plugins can be started independently.
https://bugzilla.gnome.org/show_bug.cgi?id=772370
Diffstat (limited to 'plugins/screensaver-proxy')
-rw-r--r-- | plugins/screensaver-proxy/Makefile.am | 13 | ||||
-rw-r--r-- | plugins/screensaver-proxy/org.gnome.SettingsDaemon.ScreensaverProxy.desktop.in | 9 |
2 files changed, 19 insertions, 3 deletions
diff --git a/plugins/screensaver-proxy/Makefile.am b/plugins/screensaver-proxy/Makefile.am index 999008eb..2f2da3a3 100644 --- a/plugins/screensaver-proxy/Makefile.am +++ b/plugins/screensaver-proxy/Makefile.am @@ -53,10 +53,17 @@ plugin_in_files = screensaver-proxy.gnome-settings-plugin.in plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin) -EXTRA_DIST = $(plugin_in_files) +desktopdir = $(sysconfdir)/xdg/autostart +desktop_in_files = org.gnome.SettingsDaemon.ScreensaverProxy.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) -CLEANFILES = $(plugin_DATA) +org.gnome.SettingsDaemon.ScreensaverProxy.desktop: $(desktop_in_files) Makefile + $(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ -DISTCLEANFILES = $(plugin_DATA) +EXTRA_DIST = $(plugin_in_files) $(desktop_in_files) + +CLEANFILES = $(plugin_DATA) $(desktop_DATA) + +DISTCLEANFILES = $(plugin_DATA) $(desktop_DATA) @GSD_INTLTOOL_PLUGIN_RULE@ diff --git a/plugins/screensaver-proxy/org.gnome.SettingsDaemon.ScreensaverProxy.desktop.in b/plugins/screensaver-proxy/org.gnome.SettingsDaemon.ScreensaverProxy.desktop.in new file mode 100644 index 00000000..43822fb4 --- /dev/null +++ b/plugins/screensaver-proxy/org.gnome.SettingsDaemon.ScreensaverProxy.desktop.in @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=GNOME Settings Daemon's screensaver-proxy plugin +Exec=@libexecdir@/gsd-screensaver-proxy +OnlyShowIn=GNOME; +NoDisplay=true +X-GNOME-Autostart-Phase=Initialization +X-GNOME-Autostart-Notify=true +X-GNOME-AutoRestart=true |