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/695
This commit is contained in:
parent
098114f4c8
commit
ff1b411f74
12
data/gnome-shell-extensions-disabled-warning.desktop.in.in
Normal file
12
data/gnome-shell-extensions-disabled-warning.desktop.in.in
Normal file
@ -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-HiddenUnderSystemd=@systemd_hidden@
|
@ -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_dir,
|
||||
install: true,
|
||||
install_dir: autostartdir,
|
||||
type: 'desktop'
|
||||
)
|
||||
|
||||
serviceconf = configuration_data()
|
||||
serviceconf.set('libexecdir', libexecdir)
|
||||
foreach service_file : service_files
|
||||
|
Loading…
Reference in New Issue
Block a user