gnome-control-center/capplets/default-applications/gnome-at-session.desktop.in.in
Martin Pitt 8df7aa00ff 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
2010-01-26 11:55:28 +01:00

15 lines
480 B
Text

[Desktop Entry]
_Name=Visual Assistance
_Comment=Start the preferred visual assistive technology
Exec=gnome-at-visual -s
Icon=preferences-desktop-accessibility
Terminal=false
Type=Application
StartupNotify=false
OnlyShowIn=GNOME;
AutostartCondition=GNOME /desktop/gnome/interface/accessibility
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=other capplets
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-Autostart-enabled=true