BGO#642077: Remove --enable-relocate handling from at-spi-dbus-bus.in
authorMike Gorse <mgorse@novell.com>
Fri, 11 Feb 2011 22:16:11 +0000 (16:16 -0600)
committerMike Gorse <mgorse@novell.com>
Fri, 11 Feb 2011 22:16:11 +0000 (16:16 -0600)
bus/at-spi-dbus-bus.in

index 86b676b..9b2fede 100644 (file)
@@ -3,18 +3,10 @@
 prefix="@prefix@"
 sysconfdir="@sysconfdir@"
 dbusdaemon="@DBUS_DAEMON@"
-relocate=@enable_relocate@
 
-if [ "$relocate" == "yes" ]; then
-  var=`gconftool-2 --get /desktop/gnome/interface/at-spi-dbus`
-  if [ "$var" == "false" ]; then
-    exit 0
-  fi
-else
-  var=`gconftool-2 --get /desktop/gnome/interface/at-spi-corba`
-  if [ "$var" == "true" ]; then
-    exit 0
-  fi
+var=`gconftool-2 --get /desktop/gnome/interface/at-spi-corba`
+if [ "$var" == "true" ]; then
+  exit 0
 fi
 
 address=`${dbusdaemon} --config-file=${sysconfdir}/at-spi2/accessibility.conf --print-address`