summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2001-04-10 05:52:44 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2001-04-10 05:52:44 +0000
commit992ab7632d68cd10419040da4ef285bc05316864 (patch)
tree89c76a08420a4a7aa35ada8ae62e3431c87e5105 /acconfig.h
parente9cdcb7c6588d755011d6b78bd6d55888839178a (diff)
downloadnautilus-992ab7632d68cd10419040da4ef285bc05316864.tar.gz
Stage one of removing services from the nautilus cvs tree. Make
the services enabled machinery work at runtime rather than compile time. * acconfig.h: Add HAVE_AMMONITE. * components/mozilla/main.c: (main): * components/mozilla/nautilus-mozilla-content-view.c: (translate_uri_nautilus_to_mozilla), (translate_uri_mozilla_to_nautilus): Use HAVE_AMMONITE instead of EAZEL_SERVICES for the specific Ammonite features. * components/text/services/Makefile.am: Fix rogue spacing. * configure.in: * libnautilus-extensions/nautilus-directory.c: (nautilus_self_check_directory): Remove EAZEL_SERVICES from self test code. Run the test for the eazel-services uri scheme regardless. * libnautilus-extensions/nautilus-mime-actions.h: * libnautilus-extensions/nautilus-mime-actions.c: (mime_get_all_components_for_uri_scheme): New flavor of function tha takes a uri scheme parameter instead of a NautilusFile. (nautilus_mime_has_any_components_for_uri_scheme): New function to find out if there exists any components registered to handle a uri scheme. * src/Makefile.am: Use AMMONITE_CFLAGS and AMMONITE_LIBS instead of SERVICES_LIBS hac. * src/nautilus-services.h, * src/nautilus-services.c: New files for putting all shared services related code in one places. * src/nautilus-window-menus.c: (services_button_callback), (nautilus_window_initialize_menus_part_1): Remove EAZEL_HACKING hackery. Make the services code always be linked in. Use new shared services functions to determine whether we need to populate the services menus and toolbars. * src/nautilus-window-service-ui.c: (goto_services_summary), (goto_online_storage), (goto_software_catalog), (nautilus_window_install_service_ui): Simplify by using shared services code. Remove all Ammonite code from here. Ammonite code is constrained to nautilus-services.[ch] only. Use shared services code t determine the target uris for services callbacks. * src/nautilus-window-toolbars.c: (set_up_toolbar_images): * src/nautilus-window.c: (nautilus_window_constructed): Remove EAZEL_HACKING hackery. Decide at runtime whether to setup the services toobar or not.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 952c6fcea..fc0b9af75 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -15,6 +15,7 @@
#undef HAVE_RPM_40
#undef HAVE_STPCPY
#undef HAVE_LIBBZ2
+#undef HAVE_AMMONITE
#undef bzCompress
#undef bzCompressInit
#undef bzDecompress