Add AutostartCondition to gnome-at-session.desktop

The gnome-at-session autostart desktop file launches a shell script, which in
turn calls gconftool-2, just to find out that it's disabled, and exit. This
wastes unnecessary cycles on starting the desktop.

Add an AutostartCondition to the .desktop file which only runs when a11y is
enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=608138
This commit is contained in:
Martin Pitt 2010-01-26 11:55:28 +01:00
parent 646355855f
commit 8df7aa00ff

View file

@ -7,6 +7,7 @@ Terminal=false
Type=Application Type=Application
StartupNotify=false StartupNotify=false
OnlyShowIn=GNOME; OnlyShowIn=GNOME;
AutostartCondition=GNOME /desktop/gnome/interface/accessibility
X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=other capplets X-GNOME-Bugzilla-Component=other capplets