[gnome-shell/benzea/systemd-user-units: 1/2] data: Add desktop autostart file for extension warning
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/benzea/systemd-user-units: 1/2] data: Add desktop autostart file for extension warning
- Date: Tue, 30 Apr 2019 12:06:35 +0000 (UTC)
commit 668cb7df994c337bd57e74bd9626f41f1fa09092
Author: Benjamin Berg <bberg redhat com>
Date: Sat Apr 20 00:19:17 2019 +0200
data: Add desktop autostart file for extension warning
Adding this file allows gnome-session to trigger the warning after it
disabled extensions in the non-systemd case.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/507
data/gnome-shell-extensions-disabled-warning.desktop.in.in | 12 ++++++++++++
data/meson.build | 13 +++++++++++++
2 files changed, 25 insertions(+)
---
diff --git a/data/gnome-shell-extensions-disabled-warning.desktop.in.in
b/data/gnome-shell-extensions-disabled-warning.desktop.in.in
new file mode 100644
index 000000000..b34474bf5
--- /dev/null
+++ b/data/gnome-shell-extensions-disabled-warning.desktop.in.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Shell Extensions Disabled Warning
+Comment=Warning shown if extensions were disabled due to a failure
+Exec=@bindir@/gnome-shell-extension-prefs --disabled-warning
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-shell
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Bugzilla-Version=@VERSION@
+OnlyShowIn=GNOME;
+AutostartCondition=if-exists gnome-shell-extensions-disabled-warning
+X-GNOME-Autostart-systemd=@systemd_hidden@
diff --git a/data/meson.build b/data/meson.build
index 2cc71be4a..c56d43be7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -31,6 +31,19 @@ foreach desktop_file : desktop_files
)
endforeach
+i18n.merge_file('desktop',
+ input: configure_file(
+ input: 'gnome-shell-extensions-disabled-warning.desktop.in.in',
+ output: 'gnome-shell-extensions-disabled-warning.desktop.in',
+ configuration: desktopconf
+ ),
+ output: 'gnome-shell-extension-disabled-warning.desktop',
+ po_dir: '../po',
+ install: true,
+ install_dir: autostartdir,
+ type: 'desktop'
+)
+
serviceconf = configuration_data()
serviceconf.set('libexecdir', libexecdir)
foreach service_file : service_files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]