Commit graph

34 commits

Author SHA1 Message Date
Darin Adler
5d267d2c86 Fix for wrongly named ChangeLog-200001018. Removed obsolete comment.
* Makefile.am: Fix for wrongly named ChangeLog-200001018.
	* components/Makefile.am: Removed obsolete comment.
2001-01-05 23:24:18 +00:00
Maciej Stachowiak
7f8d07e83c xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part
of resolving bug 2693 (I will consider my work done once I have
	also handled Bonobo).

	* autogen.sh, configure.in: xml-i18n-toolize
	* .cvsignore: ignore xml-i18n scripts
	* Makefile.am: distribute xml-i18n-scripts

	* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
	Renamed from components/adapter/nautilus-adapter.oafinfo; mark
	translatable strings transalatable.
	* components/adapter/Makefile.am: Deal w/ oaf file rename, do
	merge.
	* components/adapter/.cvsignore: Ignore .oaf file.

	* components/hardware/.cvsignore, components/hardware/Makefile.am,
	components/hardware/Nautilus_View_hardware.oaf.in,
	components/hardware/nautilus-hardware-view.oafinfo: Ditto.
	* components/history/.cvsignore, components/history/Makefile.am,
	components/history/Nautilus_View_history.oaf.in,
	components/history/nautilus-history-view.oafinfo: Ditto.

	* components/image-viewer/.cvsignore,
	components/image-viewer/Makefile.am,
	components/image-viewer/Nautilus_View_image.oaf.in,
	components/image-viewer/nautilus-image-view.oafinfo: Ditto.

	* components/loser/content/.cvsignore,
	components/loser/content/Makefile.am,
	components/loser/content/Nautilus_View_content-loser.oaf.in,
	components/loser/content/nautilus-content-loser.oafinfo: Ditto.

	* components/loser/sidebar/.cvsignore,
	components/loser/sidebar/Makefile.am,
	components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
	components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
	* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
	components/mozilla/Nautilus_View_mozilla.oaf.in,
	components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
	* components/music/.cvsignore, components/music/Makefile.am,
	components/music/Nautilus_View_music.oaf.in,
	components/music/nautilus-music-view.oafinfo: Ditto.
	* components/notes/.cvsignore, components/notes/Makefile.am,
	components/notes/Nautilus_View_notes.oaf.in,
	components/notes/nautilus-notes.oafinfo: Ditto.
	* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
	components/rpmview/Nautilus_View_rpm.oaf.in,
	components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
	* components/sample/.cvsignore, components/sample/Makefile.am,
	components/sample/Nautilus_View_sample.oaf.in,
	components/sample/nautilus-sample-content-view.oafinfo: Ditto.
	* components/services/install/nautilus-view/.cvsignore,
	components/services/install/nautilus-view/Makefile.am,
	components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
	components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
	Ditto.
	* components/services/install/server/.cvsignore,
	components/services/install/server/Makefile.am,
	components/services/install/server/Trilobite_Service_install.oaf.in,
	components/services/install/server/trilobite-eazel-install-service.oafinfo:
	Ditto.
	* components/services/login/nautilus-view/.cvsignore,
	components/services/login/nautilus-view/Makefile.am,
	components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
	components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
	Ditto.
	* components/services/summary/nautilus-view/.cvsignore,
	components/services/summary/nautilus-view/Makefile.am,
	components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
	components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
	* components/services/trilobite/sample/.cvsignore,
	components/services/trilobite/sample/nautilus-view/Makefile.am,
	components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
	components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
	Ditto.
	* components/services/trilobite/sample/service/.cvsignore,
	components/services/trilobite/sample/service/Makefile.am,
	components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
	components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
	Ditto.
	* components/text/.cvsignore, components/text/Makefile.am,
	components/text/Nautilus_View_text.oaf.in,
	components/text/nautilus-text-view.oafinfo: Ditto.
	* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
	src/nautilus.oafinfo: Ditto.
	* components/tree/.cvsignore, components/tree/Makefile.am,
	components/tree/Nautilus_View_tree.oaf.in,
	components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
	removed ability to build tree view as an exe component (no one was
	really using it anyway).
	* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
	* components/help/.cvsignore, components/help/Makefile.am,
	components/help/Nautilus_View_help.oaf.in:
	components/help/help-contents.oafinfo: Ditto, and merged other
	oafinfo files into Nautilus_View_help.oaf.in, commented out.
	* components/help/help-factory.oafinfo,
	components/help/help-index.oafinfo,
	components/help/help-search.oafinfo: Removed.

	* po/POTFILES.in: Added .oaf.in files.
	* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
	po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
	now-obsolete files.

	* components/services/Makefile.am: Removed time service from build.
	* components/html/*, components/websearch/*: cvs deleted these
	obsolete long since non-built components.
	* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
2001-01-05 13:10:51 +00:00
Ramiro Estrugo
1541f5092f Add a place to put helper-scripts.
* Makefile.am:
	* configure.in:
	* helper-scripts/.cvsignore:
	* helper-scripts/Makefile.am:
	* helper-scripts/nautilus-verify-rpm.sh:
	Add a place to put helper-scripts.

	* helper-utilities/error-dialog/Makefile.am:
	Dont link in with Nautilus libraries and dependencies.

	* helper-utilities/error-dialog/nautilus-error-dialog.c:
	(find_message_label), (find_message_label_callback),
	(show_message_box), (show_ok_box), (nautilus_error_dialog),
	(nautilus_yes_no_dialog), (main):
	Add support for specifying button labels on the command line.

	* src/run-nautilus:
	Call the nautilus rpm verification script and bail if it fails.
2000-11-04 00:52:02 +00:00
Ramiro Estrugo
bbc1e5427b Add applets to SUBDIRS if needed.
* Makefile.am:
	Add applets to SUBDIRS if needed.

	* applets/Makefile.am:
	Tiny bit of cleanup.

	* configure.in:
	Define HAVE_APPLETS only if the applets devel libs are found by
	gnome-config.
2000-11-01 03:26:03 +00:00
Ramiro Estrugo
fd27a85a0a Fix bug 4155. Nautilus Panel launching icon installed in the wrong place.
* Makefile.am:
	* icons/Makefile.am:
	* nautilus-launch-icon.png:
	Fix bug 4155.  Nautilus Panel launching icon installed in the
	wrong place.  Needs to be $prefix/share/pixmaps, not
	$prefix/share/pixmaps/nautilus.

	Also added more ChangeLog files to EXTRA_DIST so they can be
	availalble in tarballs.
2000-10-29 00:28:47 +00:00
Darin Adler
06005f269a Moved some shared Makefile stuff to a shared include file so we don't use
* Makefile.am:
	* Makefile.shared:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/mozilla/Makefile.am:
	* components/sample/Makefile.am:
	* components/services/install/command-line/Makefile.am:
	* components/services/summary/nautilus-view/Makefile.am:
	* libnautilus-extensions/Makefile.am:
	* libnautilus/Makefile.am:
	* src/Makefile.am:
	* src/file-manager/Makefile.am:
	Moved some shared Makefile stuff to a shared include file so we
	don't use "copy and paste technology" in our Makefiles. Fixed the
	rule that builds .xml.h files so it doesn't have to be copied and
	pasted everywhere.

	* components/loser/content/nautilus-content-loser-ui.xml.h:
	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
	* components/mozilla/nautilus-mozilla-ui.xml.h:
	* components/sample/nautilus-sample-content-view-ui.xml.h:
	* libnautilus/nautilus-clipboard-ui.xml.h:
	* src/file-manager/nautilus-directory-view-ui.xml.h:
	* src/file-manager/nautilus-icon-view-ui.xml.h:
	* src/file-manager/nautilus-search-list-view-ui.xml.h:
	* src/nautilus-shell-ui.xml.h:
	Regenerated the xml.h files with the new Bonobo tool, which keeps
	things in alphabetical order to minimize cvs thrashing.

	* components/services/summary/nautilus-view/Makefile.am:
	* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
	Added localization for the summary view UI.

	* src/Makefile.am:
	Added localization for the service UI pieces.

	* libnautilus-extensions/nautilus-buffered-widget.c:
	(nautilus_buffered_widget_initialize),
	(connect_to_background_if_needed): Fixed bug where the widget
	would stay connected after the background was destroyed. John saw
	it once, but I'm not sure how to reproduce it.

	* nautilus.spec.in: Fix some bad spelling and strange wording.

	* src/nautilus-applicable-views.h:
	* src/nautilus-applicable-views.c: (got_file_info_callback),
	(nautilus_navigation_info_new), (nautilus_navigation_info_cancel),
	(nautilus_navigation_info_free),
	(nautilus_navigation_info_get_location),
	(nautilus_navigation_info_get_initial_content_id):
	Removed lots of cruft from this class so it's private and can be
	changed around a bit.

	* src/nautilus-window-manage-views.c:
	(nautilus_window_update_internals): Use the new
	nautilus_navigation_info_get_location.
	(handle_unreadable_location): Get rid of unneeded file == NULL
	check.
	(load_view_for_new_location): Use the new
	nautilus_navigation_info_get_initial_content_id.
	(set_view_location_and_selection): Use the new
	nautilus_navigation_info_get_location.
	(nautilus_window_end_location_change_callback): Use the new
	nautilus_navigation_info_get_location.
	(nautilus_window_begin_location_change): Remove some unnecessary
	code.
2000-10-20 19:09:34 +00:00
Mathieu Lacage
fcf7855410 fix small buggy with fix from ramiro: make sure mozilla loads local fiels
2000-10-10  Mathieu Lacage  <mathieu@eazel.com>

	fix small buggy with fix from ramiro: make sure mozilla
	loads local fiels through its own file library, not gnome-vfs.
	* components/mozilla/nautilus-mozilla-content-view.c:
	(mozilla_is_uri_handled_by_mozilla):

	autoconf magic for the documentation
	* configure.in:
	* Makefile.am:
	* user-guide/C/Makefile.am:
	* user-guide/Makefile.am:

	actual html/jpg/css documentation.
	* user-guide/C/html/*:
2000-10-11 03:24:05 +00:00
Darin Adler
2ae47c7563 Cut over to HEAD of Bonobo. This check-in includes all the changes
needed to compile and run, but there are many things wrong
	visually that may take a while to get fixed.

	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
	(file_menu_close_window_callback),
	(file_menu_close_all_windows_callback),
	(file_menu_toggle_find_mode_callback),
	(file_menu_web_search_callback), (edit_menu_undo_callback),
	(edit_menu_cut_callback), (edit_menu_copy_callback),
	(edit_menu_paste_callback), (edit_menu_clear_callback),
	(go_menu_back_callback), (go_menu_forward_callback),
	(go_menu_up_callback), (go_menu_home_callback),
	(go_menu_forget_history_callback), (view_menu_reload_callback),
	(view_menu_show_hide_sidebar_callback),
	(view_menu_show_hide_tool_bar_callback),
	(view_menu_show_hide_location_bar_callback),
	(view_menu_show_hide_status_bar_callback),
	(nautilus_window_update_show_hide_menu_items),
	(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
	(view_menu_zoom_normal_callback),
	(bookmarks_menu_add_bookmark_callback),
	(bookmarks_menu_edit_bookmarks_callback),
	(user_level_customize_callback), (customize_callback),
	(change_appearance_callback), (help_menu_about_nautilus_callback),
	(help_menu_nautilus_feedback_callback), (switch_to_user_level),
	(user_level_menu_item_callback), (append_placeholder),
	(append_separator), (append_bookmark_to_menu),
	(create_menu_item_from_node), (remove_bookmarks_after),
	(remove_underline_accelerator_from_menu_title),
	(new_top_level_menu), (add_user_level_menu_item),
	(nautilus_window_initialize_menus),
	(nautilus_window_update_find_menu_item),
	(update_user_level_menu_items), (convert_verb_to_user_level),
	(convert_user_level_to_verb), (update_preferences_dialog_title):
	* src/nautilus-window.c: (nautilus_window_clear_status),
	(nautilus_window_set_status), (install_status_bar),
	(nautilus_window_constructed), (nautilus_window_set_arg),
	(nautilus_window_get_arg), (nautilus_window_destroy),
	(nautilus_window_allow_back), (nautilus_window_allow_forward),
	(nautilus_window_allow_up), (nautilus_window_allow_reload),
	(nautilus_window_zoom_level_changed_callback),
	(nautilus_window_set_content_view_widget), (show_dock_item),
	(hide_dock_item), (dock_item_showing),
	(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
	(nautilus_window_tool_bar_showing),
	(nautilus_window_hide_status_bar),
	(nautilus_window_show_status_bar),
	(nautilus_window_status_bar_showing):
	Convert to new API. Some is disabled with #ifdef UIH.

	* Makefile.am:
	* configure.in:
	Turned off build of the idl directory, build components after src.

	* components/adapter/main.c:
	* components/notes/nautilus-notes.c:
	* components/sample/main.c:
	* libnautilus-extensions/nautilus-font-picker.c:
	* libnautilus-extensions/nautilus-global-preferences.c:
	* libnautilus-extensions/nautilus-password-dialog.c:
	* libnautilus-extensions/nautilus-preferences-item.c:
	* libnautilus/nautilus-undo-transaction.c:
	* libnautilus/nautilus-undo.c:
	* src/nautilus-application.c:
	* src/nautilus-history-frame.c:
	* src/nautilus-link-set-window.c:
	* src/nautilus-main.c:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar.c:
	* src/nautilus-view-frame-corba.c:
	* src/nautilus-zoomable-frame-corba.c:
	* test/test-nautilus-font-picker.c:
	* test/test-nautilus-image.c: (create_font_picker_frame):
	* test/test-nautilus-label.c: (create_font_picker_frame):
	* test/test-nautilus-preferences.c:
	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
	Fixed includes.

	* test/test-nautilus-image.c: (create_font_picker_frame):
	* test/test-nautilus-label.c: (create_font_picker_frame):
	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
	Turned off localization of some strings in tests.

	* components/adapter/nautilus-adapter-control-embed-strategy.c:
	(nautilus_adapter_control_embed_strategy_new):
	* components/adapter/nautilus-adapter-control-embed-strategy.h:
	* components/adapter/nautilus-adapter-embed-strategy.c:
	(nautilus_adapter_embed_strategy_get):
	* components/adapter/nautilus-adapter-embed-strategy.h:
	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
	(nautilus_adapter_embeddable_embed_strategy_new):
	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h:
	Embedding code now deals with Bonobo_UIContainer, not
	Bonobo_UIHandler.

	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
	This code not only had to be changed to deal with the
	Bonobo_UIContainer instead of Bonobo_UIHandler, but it also needed
	to deal with the containing item (was remote_ui_handler), not the
	local component.

	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
	(nautilus_adapter_embeddable_embed_strategy_new):
	* components/adapter/nautilus-adapter.c:
	BonoboContainer was renamed BonoboItemContainer.

	* components/history/nautilus-history-view.c:
	Remove unused BonoboUIHandler * field.

	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/mozilla/Makefile.am:
	* components/sample/Makefile.am:
	* src/Makefile.am:
	* src/file-manager/Makefile.am:
	Added the necessary defines and build rules to install ui.xml
	files and locate them from the C code.

	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/nautilus-icon-view-ui.xml:
	* src/file-manager/nautilus-search-list-view-ui.xml:
	* src/nautilus-shell-ui.xml:
	Added definitions of user interface.

	* components/loser/content/nautilus-content-loser-ui.xml:
	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
	* components/mozilla/nautilus-mozilla-ui.xml:
	* components/sample/nautilus-sample-content-view-ui.xml:
	Added empty placeholders for user interface.

	* components/loser/content/nautilus-content-loser.c:
	(loser_merge_bonobo_items_callback):
	* components/loser/sidebar/nautilus-sidebar-loser.c:
	(loser_merge_bonobo_items_callback):
	* components/mozilla/nautilus-mozilla-content-view.c:
	(mozilla_merge_bonobo_items_callback):
	* components/sample/nautilus-sample-content-view.c:
	(sample_merge_bonobo_items_callback):
	Use nautilus_view_set_up_ui to get the user interface from a
	ui.xml file. Put #ifdef UIH around old code to make the items work
	that still needs to be visited.

	* libnautilus-extensions/nautilus-bonobo-extensions.c:
	* libnautilus-extensions/nautilus-bonobo-extensions.h:
	* libnautilus-extensions/nautilus-undo-manager.c:
	* libnautilus-extensions/nautilus-undo-manager.h:
	* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
	(remove_menu_items_callback),
	(nautilus_clipboard_set_up_editable_from_bonobo_control):
	* libnautilus/nautilus-clipboard.h:
	Wrapped code in ifdef UIH to disable it until it can be converted
	to the new Bonobo.

	* libnautilus-extensions/nautilus-caption-table.h:
	* libnautilus-extensions/nautilus-caption.h:
	* libnautilus-extensions/nautilus-font-picker.h:
	* libnautilus-extensions/nautilus-preferences-group.h:
	* libnautilus-extensions/nautilus-preferences-item.h:
	* libnautilus-extensions/nautilus-radio-button-group.h:
	* src/nautilus-about.h:
	Got rid of any cases where headers include the omnibus header
	<gnome.h>. These made the conversion process harder, which is why
	we fixed them.

	* libnautilus/libnautilus.h:
	Got rid of cases where headers include the omnibus header
	<bonobo.h>.

	* libnautilus/nautilus-view.h:
	* libnautilus/nautilus-view.c: (nautilus_view_set_up_ui):
	Added a helper function to make it easy for Nautilus components to
	load their UI and get it attached to the Nautilus:View object.

	* nautilus.spec.in: Install the nautilus-*-ui.xml files too.

	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-directory-view.c:
	(bonobo_menu_select_all_callback),
	(bonobo_menu_empty_trash_callback),
	(bonobo_control_activate_callback): Convert to new API.
	(fm_directory_view_get_bonobo_ui_container): Name and purpose
	changed slightly for new API.
	(fm_directory_view_real_merge_menus): Merge with new API.
	(fm_directory_view_real_update_menus): Disabled this code for now.

	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy): Destroy
	icon view's own component at destroy time.
	(context_menu_layout_radio_item_callback),
	(append_one_context_menu_layout_item),
	(fm_icon_view_create_background_context_menu_items),
	(update_layout_menus): Convert to new API, disable some with
	#ifdef UIH.
	(get_sort_criterion_by_verb),
	(set_sort_criterion_by_verb), (sort_callback): Convert to new API.
	(fm_icon_view_merge_menus): Merge with new API, creating our own
	UI component separate from the directory view's.
	(fm_icon_view_update_menus): Disable with #ifdef UIH.

	* src/file-manager/fm-search-list-view.h:
	* src/file-manager/fm-search-list-view.c:
	(fm_search_list_view_initialize_class),
	(fm_search_list_view_initialize), (real_destroy),
	(indexing_info_callback), (real_merge_menus), (real_update_menus):
	Add code necessary to use a separate UI component, and disabled
	the actual menu set-up code with #ifdef UIH. This required adding
	a details struct.

	* src/nautilus-desktop-window.c: (realize): Turned off the code
	that hides the desktop elements.

	* src/nautilus-window-private.h:
	* src/nautilus-view-frame.h:
	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
	(nautilus_view_frame_new), (nautilus_view_frame_load_client):
	* src/nautilus-window-manage-views.c: (load_content_view),
	(nautilus_window_set_sidebar_panels):
	Change to use Bonobo_UIContainer instead of Bonobo_UIHandler.

	* src/nautilus-window-toolbars.c: (remember_buttons),
	(nautilus_window_initialize_toolbars): Leave this code around and
	change it enough to compile and run, even though it's creating a
	second, invisible toolbar.

	* src/nautilus-window.h: Change to be a BonoboWin subclass instead
	of a GnomeApp subclass.
2000-10-05 23:47:54 +00:00
Ramiro Estrugo
996e2bbb24 Moved the leak-checker and profiler tools to their own gnome cvs module.
* Makefile.am:
	* configure.in:
	* HACKING:
	* tools/.cvsignore:
	* tools/Makefile.am:
	* tools/README:
	* tools/leak-checker/.cvsignore:
	* tools/leak-checker/Makefile.am:
	* tools/leak-checker/nautilus-leak-checker-stubs.h:
	* tools/leak-checker/nautilus-leak-checker.c:
	* tools/leak-checker/nautilus-leak-checker.h:
	* tools/leak-checker/nautilus-leak-hash-table.c:
	* tools/leak-checker/nautilus-leak-hash-table.h:
	* tools/leak-checker/nautilus-leak-symbol-lookup.c:
	* tools/leak-checker/nautilus-leak-symbol-lookup.h:
	* tools/profiler/Makefile:
	* tools/profiler/funcsummary.C:
	* tools/profiler/funcsummary.h:
	* tools/profiler/machine-profile.S:
	* tools/profiler/machine-profile.h:
	* tools/profiler/machine-profileP.h:
	* tools/profiler/nautilus-leak-symbol-lookup.C:
	* tools/profiler/nautilus-leak-symbol-lookup.h:
	* tools/profiler/profile.C:
	* tools/profiler/profile.h:
	* tools/profiler/profileP.h:
	* tools/profiler/profiledata.C:
	* tools/profiler/profiledata.h:
	* tools/profiler/symbol-table.h:
	* tools/profiler/test.cpp:
	* tools/profiler/totaltime.C:
	* tools/profiler/totaltime.h:
	Moved the leak-checker and profiler tools to their own gnome cvs
	module.
2000-09-29 13:27:45 +00:00
Maciej Stachowiak
abdbe66a4c New IDL interface for the special adapter component that will be used to
* libnautilus-adapter/nautilus-adapter-factory.idl: New IDL
	interface for the special adapter component that will be used to
	wrap ordinary Bonobo components to look like Nautilus::Views as
	part of the solution to bugzilla.eazel.com #1994.
	* libnautilus-adapter/Makefile.am: Build a library containing the
	stubs and sekeletons.

	* libnautilus/nautilus-view-component.idl: Some changes so this
	IDL file can be included in others safely.
	* libnautilus/Makefile.am: Made necessary build adjustments for
	the above.

	* configure.in, Makefile.am: add libnautilus-adapter directory to
	build.
2000-09-07 00:57:04 +00:00
Mathieu Lacage
b9dd9701b5 tweak files for upcommin release. see Changelog. 2000-08-11 18:18:39 +00:00
Ramiro Estrugo
4232317b33 Make the cut-n-paste libraries be only static archives. Link all the
* Makefile.am:
	* components/hardware/Makefile.am:
	* components/help/Makefile.am:
	* components/history/Makefile.am:
	* components/html/Makefile.am:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/music/Makefile.am:
	* components/notes/Makefile.am:
	* components/rpmview/Makefile.am:
	* components/services/install/nautilus-view/Makefile.am:
	* components/services/inventory/nautilus-view/Makefile.am:
	* components/services/login/nautilus-view/Makefile.am:
	* components/services/startup/nautilus-view/Makefile.am:
	* components/services/summary/nautilus-view/Makefile.am:
	* components/services/time/nautilus-view/Makefile.am:
	* components/services/trilobite/sample/nautilus-view/Makefile.am:
	* components/services/vault/nautilus-view/Makefile.am:
	* components/tree/Makefile.am:
	* components/websearch/Makefile.am:
	* cut-n-paste-code/widgets/e-paned/Makefile.am:
	* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
	* helper-utilities/authenticate/Makefile.am:
	* libnautilus-extensions/Makefile.am:
	* librsvg/Makefile.am:
	* src/Makefile.am:
	* test/Makefile.am:

	Make the cut-n-paste libraries be only static archives.  Link all
	the private libraries statically into libnautilus-extensions.
	Remove all the references to private libraries in all the
	components and other users of libnautilus-extensions so that
	dependencies can be managed in just one place.
2000-07-26 21:53:48 +00:00
Ramiro Estrugo
185afae31f Turn my dumbass brain on this time before committing. Add the moved leak
* Makefile.am:
	* tools/.cvsignore:
	* tools/Makefile.am:
	* tools/leak-checker/.cvsignore:
	* tools/leak-checker/Makefile.am:
	* tools/leak-checker/nautilus-leak-checker-stubs.h:
	* tools/leak-checker/nautilus-leak-checker.c:
	(nautilus_leak_allocation_record_init),
	(nautilus_leak_allocation_record_copy),
	(nautilus_leak_allocation_record_finalize),
	(nautilus_leak_allocation_record_free),
	(nautilus_leak_stack_crawl_compare), (nautilus_leak_initialize),
	(get_stack_trace), (detect_reentry), (nautilus_leak_record_malloc),
	(nautilus_leak_record_realloc), (nautilus_leak_record_free),
	(nautilus_leak_initialize_if_needed),
	(allocate_temporary_fallback_memory), (__libc_malloc),
	(__libc_memalign), (__libc_calloc), (__libc_realloc),
	(__libc_free), (print_leaks_at_exit), (__libc_start_main),
	(print_one_leak), (nautilus_leak_print_leaks),
	(nautilus_leak_checker_init), (malloc), (realloc), (memalign),
	(calloc), (free), (allocate_lots), (leak_mem2), (leak_mem), (main):
	* tools/leak-checker/nautilus-leak-checker.h:
	* tools/leak-checker/nautilus-leak-hash-table.c:
	(nautilus_leak_hash_element_finalize),
	(nautilus_leak_hash_element_hash),
	(nautilus_leak_hash_element_match),
	(nautilus_leak_hash_element_vector_inititalize),
	(nautilus_leak_hash_element_vector_finalize),
	(nautilus_leak_hash_element_vector_at),
	(nautilus_leak_hash_element_vector_add),
	(nautilus_leak_hash_element_vector_remove),
	(nautilus_leak_hash_table_optimal_size),
	(nautilus_leak_hash_table_initialize),
	(nautilus_leak_hash_table_finalize),
	(nautilus_leak_hash_table_new), (nautilus_leak_hash_table_free),
	(nautilus_leak_hash_table_hash), (nautilus_leak_hash_table_find),
	(nautilus_leak_hash_table_add),
	(nautilus_leak_hash_table_remove_element),
	(nautilus_leak_hash_table_remove),
	(nautilus_leak_table_new_entry_at),
	(nautilus_leak_table_add_entry), (nautilus_leak_table_new),
	(nautilus_leak_table_free), (sort_by_count),
	(nautilus_leak_table_sort_by_count), (sort_by_size),
	(nautilus_leak_table_sort_by_size),
	(nautilus_leak_table_each_item):
	* tools/leak-checker/nautilus-leak-hash-table.h:
	* tools/leak-checker/nautilus-leak-symbol-lookup.c:
	(nautilus_leak_find_symbol_in_map),
	(nautilus_leak_symbol_map_get_offsets),
	(nautilus_leak_symbol_map_load),
	(nautilus_leak_symbol_map_load_if_needed),
	(nautilus_leak_print_symbol_cleanup),
	(nautilus_leak_find_symbol_address),
	(nautilus_leak_print_symbol_address):
	* tools/leak-checker/nautilus-leak-symbol-lookup.h:

	Turn my dumbass brain on this time before committing.
	Add the moved leak checker code for real.
2000-07-15 02:12:01 +00:00
Fatih Demir
0fd3bdb987 Some cosmetic updates to configure.in and another include addition to the help-utils 2000-06-26 14:33:01 +00:00
Ramiro Estrugo
9f8da03d11 Added a place to put cut-n-paste code. Cut-n-pasted the e-paned widget
* Makefile.am:
* components/hardware/Makefile.am:
* components/help/Makefile.am:
* components/history/Makefile.am:
* components/html/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/music/Makefile.am:
* components/notes/Makefile.am:
* components/rpmview/Makefile.am:
* components/sample/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/websearch/Makefile.am:
* configure.in:
* cut-n-paste-code/.cvsignore:
* cut-n-paste-code/Makefile.am:
* cut-n-paste-code/README:
* cut-n-paste-code/widgets/.cvsignore:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/e-paned/.cvsignore:
* cut-n-paste-code/widgets/e-paned/Makefile.am:
* cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_get_type),
(e_hpaned_class_init), (e_hpaned_init), (e_hpaned_new),
(e_hpaned_size_request), (e_hpaned_size_allocate), (e_hpaned_draw),
(e_hpaned_xor_line), (e_hpaned_button_press),
(e_hpaned_button_release), (e_hpaned_motion),
(e_hpaned_handle_shown):
* cut-n-paste-code/widgets/e-paned/e-hpaned.h:
* cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_get_type),
(e_paned_class_init), (e_paned_child_type), (e_paned_init),
(e_paned_set_arg), (e_paned_get_arg), (e_paned_realize),
(e_paned_map), (e_paned_unmap), (e_paned_unrealize),
(e_paned_expose), (e_paned_add1), (e_paned_add2), (e_paned_pack1),
(e_paned_pack2), (e_paned_add), (e_paned_remove), (e_paned_forall),
(e_paned_get_position), (e_paned_set_position),
(e_paned_set_handle_size), (e_paned_compute_position),
(e_paned_handle_shown), (e_paned_quantized_size):
* cut-n-paste-code/widgets/e-paned/e-paned.h:
* cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_get_type),
(e_vpaned_class_init), (e_vpaned_init), (e_vpaned_new),
(e_vpaned_size_request), (e_vpaned_size_allocate), (e_vpaned_draw),
(e_vpaned_xor_line), (e_vpaned_button_press),
(e_vpaned_button_release), (e_vpaned_motion),
(e_vpaned_handle_shown):
* cut-n-paste-code/widgets/e-paned/e-vpaned.h:
* helper-utilities/authenticate/Makefile.am:
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/README:
* libnautilus/README:
* src/Makefile.am:
* test/Makefile.am:
Added a place to put cut-n-paste code.  Cut-n-pasted the e-paned
widget from evolution.  Yes, and evil thing to do.  Send me mail
with alternative solutions.

Also added README files for libnautilus and
libnautilus-extenstions to clarify thieir public vs internal
state.

* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_real_set_content_view):
Use the new NautilusHorizontalSplitter widget instead of
the gtk one.
2000-06-13 19:05:28 +00:00
Darin Adler
e48fa20aab Some build fixes.
* acconfig.h:
	* configure.in:
	Removed the NAUTILUS_PREFIX that I added. I did it wrong.

	* libnautilus-extensions/nautilus-file-utilities.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_pixmap_file):
	* components/hardware/nautilus-hardware-view.c:
	(setup_overview_form):
	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
	(setup_form_title), (setup_signup_form), (setup_config_form):
	* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
	* libnautilus-extensions/nautilus-icon-factory.c:
	(make_full_icon_path):
	* src/nautilus-application.c: (display_caveat):
	* src/nautilus-property-browser.c:
	(nautilus_property_browser_initialize),
	(nautilus_emblem_dialog_new), (make_category_link):
	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
	Replaced most uses of gnome_pixmap_file on "nautilus/"
	with a call to a new nautilus_pixmap_file in an attempt to
	make installations where nautilus has a different prefix
	from gnome-libs work. I now think this is a waste of time,
	but Mathieu Lacage says this is still an improvement.

	* components/help/Makefile.am:
	* components/help/hyperbola-filefmt.c: (fmt_map_entry):
	Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.

	* components/websearch/ntl-web-search.c:
	(web_search_populate_engines):
	Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.

	* components/mozilla/nautilus-mozilla-content-view.c:
	(nautilus_mozilla_content_view_initialize),
	(mozilla_content_view_set_busy_cursor),
	(mozilla_content_view_request_progress_change),
	(mozilla_content_view_clear_busy_cursor),
	(mozilla_load_location_callback), (bonobo_mozilla_callback),
	(mozilla_merge_bonobo_items_callback),
	(mozilla_title_changed_callback),
	(mozilla_location_changed_callback), (mozilla_net_status_callback),
	(mozilla_link_message_callback), (mozilla_progress_callback),
	(mozilla_open_uri_callback):
	Took a cut at fixing the Mozilla component for the new API.
	Ramiro will have to take care of the rest.

	* components/services/install/lib/Makefile.am:
	* components/services/time/command-line/Makefile.am:
	* components/services/time/nautilus-view/Makefile.am:
	* components/services/time/service/Makefile.am:
	* components/services/trilobite/libtrilobite/Makefile.am:
	* components/services/trilobite/sample/command-line/Makefile.am:
	* components/services/trilobite/sample/service/Makefile.am:
	* libnautilus/Makefile.am:
	Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
	in the form of a patch by Martijn van Beers.

	* libnautilus-extensions/Makefile.am:
	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_user_main_directory),
	(nautilus_get_pixmap_directory):
	* libnautilus-extensions/nautilus-link-set.c:
	(get_link_set_document):
	* src/Makefile.am:
	* src/nautilus-property-browser.c:
	(nautilus_property_browser_drag_data_get), (make_drag_image),
	(get_xml_path), (make_properties_from_directory):
	* src/nautilus-link-set-window.c: (get_link_set_names):
	* src/file-manager/Makefile.am:
	* src/file-manager/fm-properties-window.c: (get_property_names):
	Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.

	* libnautilus-extensions/nautilus-file-utilities.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_uri_from_local_path): Added a new helper function for
	use when you have a path and need a URI. This does a better job
	than just adding a "file://" on the front.

	* libnautilus-extensions/nautilus-gtk-extensions.h:
	* libnautilus-extensions/nautilus-gtk-extensions.c:
	(get_first_callback), (nautilus_gtk_container_get_first_child):
	* src/nautilus-window-toolbars.c: (setup_button):
	* src/nautilus-window.c:
	(replace_special_current_view_in_content_view_menu):
	Implemented the first_child function and used it where appropriate.

	* libnautilus-extensions/nautilus-preferences-item.c:
	(add_icon_themes): Use nautilus_get_pixmap_directory intead of
	misusing gnome_pixmap_file by calling it on a directory name.

	* nautilus-installer/src/support.c: (create_pixmap),
	(create_image): Added FIXMEs since it isn't clear if this code
	will work with a Nautilus prefix that's not the same as the
	gnome-libs prefix.

	* Makefile.am: Tweaked white space.
2000-06-13 19:05:28 +00:00
Ramiro Estrugo
2b631110b6 Move the nautilus-widgets classes to libnautilus-extensions.
* Makefile.am:
* components/hardware/Makefile.am:
* components/help/Makefile.am:
* components/history/Makefile.am:
* components/html/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/music/Makefile.am:
* components/notes/Makefile.am:
* components/rpmview/Makefile.am:
* components/sample/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/websearch/Makefile.am:
* configure.in:
* helper-utilities/authenticate/Makefile.am:
* helper-utilities/authenticate/nautilus-authenticate.c:
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-caption-table.c:
* libnautilus-extensions/nautilus-caption.c:
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-password-dialog.c:
* libnautilus-extensions/nautilus-preference.c:
(nautilus_self_check_preference):
* libnautilus-extensions/nautilus-preferences-box.c:
* libnautilus-extensions/nautilus-preferences-box.h:
* libnautilus-extensions/nautilus-preferences-dialog.c:
* libnautilus-extensions/nautilus-preferences-dialog.h:
* libnautilus-extensions/nautilus-preferences-group.c:
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-item.c:
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-pane.c:
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences.c:
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-radio-button-group.c:
* libnautilus-extensions/nautilus-string-picker.c:
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-text-caption.c:
* libnautilus-extensions/nautilus-text-caption.h:
* libnautilus-extensions/nautilus-undo-manager.c:
* libnautilus-extensions/nautilus-user-level-manager.c:
* libnautilus-extensions/nautilus-user-level-manager.h:
* libnautilus-extensions/nautilus-widgets-self-check-functions.c:
* libnautilus-extensions/nautilus-widgets-self-check-functions.h:
* libnautilus-extensions/test-nautilus-preferences.c:
* libnautilus-extensions/test-preferences.c:
* nautilus-widgets/Makefile.am:
* nautilus-widgets/nautilus-caption-table.c:
* nautilus-widgets/nautilus-caption-table.h:
* nautilus-widgets/nautilus-caption.c:
* nautilus-widgets/nautilus-caption.h:
* nautilus-widgets/nautilus-password-dialog.c:
* nautilus-widgets/nautilus-password-dialog.h:
* nautilus-widgets/nautilus-preference.c:
* nautilus-widgets/nautilus-preference.h:
* nautilus-widgets/nautilus-preferences-box.c:
* nautilus-widgets/nautilus-preferences-box.h:
* nautilus-widgets/nautilus-preferences-dialog.c:
* nautilus-widgets/nautilus-preferences-dialog.h:
* nautilus-widgets/nautilus-preferences-group.c:
* nautilus-widgets/nautilus-preferences-group.h:
* nautilus-widgets/nautilus-preferences-item.c:
* nautilus-widgets/nautilus-preferences-item.h:
* nautilus-widgets/nautilus-preferences-pane.c:
* nautilus-widgets/nautilus-preferences-pane.h:
* nautilus-widgets/nautilus-preferences.c:
* nautilus-widgets/nautilus-preferences.h:
* nautilus-widgets/nautilus-radio-button-group.c:
* nautilus-widgets/nautilus-radio-button-group.h:
* nautilus-widgets/nautilus-string-picker.c:
* nautilus-widgets/nautilus-string-picker.h:
* nautilus-widgets/nautilus-text-caption.c:
* nautilus-widgets/nautilus-text-caption.h:
* nautilus-widgets/nautilus-user-level-manager.c:
* nautilus-widgets/nautilus-user-level-manager.h:
* nautilus-widgets/nautilus-widgets-self-check-functions.c:
* nautilus-widgets/nautilus-widgets-self-check-functions.h:
* nautilus-widgets/test-nautilus-preferences.c:
* nautilus-widgets/test-nautilus-widgets.c:
* nautilus-widgets/test-preferences.c:
* src/Makefile.am:
* src/nautilus-main.c: (main):
* src/nautilus-sidebar.c:
* src/nautilus-window-menus.c:
* test/Makefile.am:
Move the nautilus-widgets classes to libnautilus-extensions.
2000-06-10 00:38:05 +00:00
Maciej Stachowiak
d1eef70941 Simple test program to check _for_uri nautilus metadata calls in nautilus.
* test/test-nautilus-mime-actions.c: Simple test program to check
	_for_uri nautilus metadata calls in nautilus.
	* test/Makefile.am: Build test-nautilus-mime-actions
	* Makefile.am, configure.in: add test directory to the build.

	* libnautilus-extensions/nautilus-mime-actions.c
	(nautilus_mime_get_default_action_for_uri,
	nautilus_mime_get_default_application_for_uri,
	nautilus_mime_get_default_component_for_uri): Implemented in the
	same temporary stub way as the other calls.
2000-06-01 06:00:19 +00:00
Eskil Heyn Olsen
fd2cb2e9b2 This is way people should use a highlighting editor so you wouldn't have
* libnautilus/Makefile.am (BUILT_SOURCES): This is way people
	should use a highlighting editor so you wouldn't have these broken
	BUILT_SOURCES things.

	* Makefile.am (SUBDIRS): Moved components and helper-utilies
	downwards in the SUBDIRS so it builds again.
2000-05-13 00:31:31 +00:00
Darin Adler
57d3420ba5 Added the idl directory.
* Makefile.am: Added the idl directory.

	* libnautilus-extensions/nautilus-gnome-extensions.h:
	* libnautilus-extensions/nautilus-gnome-extensions.c:
	(nautilus_simple_dialog): Turned on line wrapping for the label
	in the simple dialog.
	(turn_on_line_wrap_flag), (show_ok_box), (nautilus_error_dialog),
	(nautilus_error_dialog_parented): Made alternate versions of
	gnome_error_dialog and gnome_error_dialog_parented that turn on
	line wrapping for the message label.

	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text): Made the list of characters to break
	lines on localizable.

	* libnautilus-extensions/nautilus-icon-dnd.c:
	(confirm_switch_to_manual_layout): Took newlines out of messages
	since the dialog now does line wrapping.

	* src/file-manager/dfos-xfer.c: (handle_xfer_vfs_error),
	(handle_xfer_overwrite): Took out some extraneous spaces. I could
	have also removed the newlines since the functions call something
	that does line wrapping, but I decided not to.

	* src/file-manager/fm-properties-window.c:
	(name_field_update_to_match_file): Fixed a double delete bug.
	This may have been what Ali was running into when he was clicking
	quickly on all the emblems in succession.

	* src/nautilus-property-browser.c:
	Did a cleanup pass on the entire file. Marked things localizable
	and marked some bugs with FIXME among other things.

	* src/ntl-window-msgs.c: (nautilus_window_update_state): Added
	code to check for NULL so that we won't core dump when trying
	to "go back" from the first failed view.
	(nautilus_window_progress_indicate),
	(nautilus_window_end_location_change_callback): Got rid of newlines
	from messages and called the function that now does line wrapping.
2000-05-12 23:08:45 +00:00
Ramiro Estrugo
c887166e14 Add authenticate helper utility to build. 2000-04-27 16:05:08 +00:00
Ramiro Estrugo
80a7e3980b Add nautilus.png to EXTRA_DIST. 2000-04-27 14:47:16 +00:00
Ramiro Estrugo
8a6ced0acb Add gnome panel .desktop file and logo. 2000-04-27 14:30:32 +00:00
Ramiro Estrugo
a028f800f7 Install libnautilus-extensions files in the right place. Add first try
at rpm spec file.
2000-04-26 18:37:21 +00:00
Ramiro Estrugo
09b3bf22bc Split libnautilus into two pieces.
libnautilus now only contains the view interfaces needed by nautilus
components.

These are the interfaces defined in nautilus-view-component.idl.

libnautilus-extensions containes the remainder of the stuff.

Also used the cvs repository munging opportunity to do some of the
ntl-* renaming outlined in the RENAIMING file.
2000-04-14 15:16:44 +00:00
Andy Hertzfeld
c599d12496 added Raph's scalable vector icons machinery
added Raph's scalable vector icons machinery
2000-04-14 01:33:35 +00:00
Valek Frob
ba36989e31 Added some stuff for i18n. 2000-04-12 19:34:11 +00:00
Ramiro Estrugo
636bcb29bc Add a data directory to the tree. This is the default per-user data that
* data/.cvsignore,
data/Makefile.am:
Add a data directory to the tree.  This is the default per-user
data that nautilus installs the first time it runs.

*data/top/.cvsignore,
data/top/Makefile.am,
data/top/Welcome:
Add a top directory to the tree.  The top directory is an
alternative home place for novice users.

*configure.in,
Makefile.am:
Grok the above.
2000-03-12 17:06:37 +00:00
Ramiro Estrugo
9b1a08711a Adding nautilus-widgets to the tree - a place to put generic widgets that are
not necessarily coupled to nautilus.
2000-03-10 15:59:07 +00:00
Elliot Lee
0e11f0e3f5 Add icons
* configure.in, Makefile.am, icons/: Add icons

* src/file-manager/fm-directory-view.c: Everything goes inside the scroll-frame, not the
view itself.
1999-12-14 19:46:16 +00:00
Elliot Lee
d8d32551f3 push out.
push out.
1999-12-09 23:56:07 +00:00
Elliot Lee
e827b17e5c Just adding copyright/license notices, and a copy of the LGPL.
Just adding copyright/license notices, and a copy of the LGPL.
1999-12-07 19:59:42 +00:00
Elliot Lee
1d23907d45 Implement libnautilus.
Implement libnautilus.

Normalize the way requests and notifications are passed around.
1999-12-06 23:23:41 +00:00
Elliot Lee
b0a476e10d Initial revision 1999-12-05 00:40:26 +00:00