Commit graph

4971 commits

Author SHA1 Message Date
Benedikt Roth
010541befb Fix #47701, Duplicate numbering scheme does not correctly number the 11th,
2001-10-01  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* libnautilus-private/nautilus-file-operations.c:
	(parse_previous_duplicate_name), (make_next_duplicate_name),
	(nautilus_self_check_file_operations):
	Fix #47701, Duplicate numbering scheme does not correctly number
	the 11th, 12th, and 13th copies
2001-10-01 19:44:36 +00:00
Alex Larsson
27a8b1d24a Move sysconfig and serverconfig out of starthere. That was a merge error.
2001-10-01  Alex Larsson  <alexl@redhat.com>

	* data/Makefile.am (install-data-local):
	Move sysconfig and serverconfig out of starthere.
	That was a merge error.
2001-10-01 18:38:26 +00:00
Darin Adler
cfcc2bf517 Updated tags and build order in the README to match what Nautilus hackers
* README: Updated tags and build order in the README to match
	what Nautilus hackers really use.
2001-10-01 16:48:04 +00:00
Darin Adler
eebd2053ba Bump gnome-vfs requirement to 1.0.2, since we use new APIs that aren't in
* configure.in: Bump gnome-vfs requirement to 1.0.2, since we
	use new APIs that aren't in 1.0.1.
2001-09-28 15:35:52 +00:00
Benedikt Roth
f450c54f5c i18n fixes for cpu speed and cache size (fixes #45298) Fix #48322, Theme
2001-09-27  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* components/hardware/nautilus-hardware-view.c:
	(get_CPU_description):
	i18n fixes for cpu speed and cache size (fixes #45298)
	* icons/gnome/gnome.xml:
	Fix #48322, Theme description for new Gnome theme lacks a dot
2001-09-28 09:41:57 +00:00
Darin Adler
dc5c292a5b Format time using eel_strdup_strftime so we don't have a fixed maximum
* components/news/nautilus-news.c: (draw_rss_logo_image):
	Format time using eel_strdup_strftime so we don't have
	a fixed maximum buffer size and marked the time format
	for localization.
2001-09-27 19:05:50 +00:00
Alex Larsson
f1c874625c Allow the mozilla component to open Chrome windows. This is needed for
2001-09-26  Alex Larsson  <alexl@redhat.com>

	* components/mozilla/nautilus-mozilla-content-view.c:
	Allow the mozilla component to open Chrome windows.
	This is needed for simple dialogs when e.g. submitting
	forms.
2001-09-26 20:08:28 +00:00
Darin Adler
491ee13cb9 Fix up branch change log entries. 2001-09-26 19:52:19 +00:00
Alexander Larsson
61d960f12c Huge ass redhat merge 2001-09-26 16:37:21 +00:00
Darin Adler
badc7589bc Ref and sink the new adapter. (nautilus_adapter_new): Remove unused
* components/adapter/nautilus-adapter.c:
	(nautilus_adapter_initialize): Ref and sink the new adapter.
	(nautilus_adapter_new): Remove unused CORBA_Environment.
	* components/adapter/nautilus-adapter.h: Whitespace tweak.

	* libnautilus-private/nautilus-directory-metafile.c:
	(nautilus_directory_get_integer_file_metadata):
	* libnautilus-private/nautilus-file.c: (get_id_from_digit_string):
	* libnautilus-private/nautilus-icon-factory.c:
	(parse_attach_points):
	* libnautilus-private/nautilus-thumbnails.c:
	(nautilus_thumbnail_load_framed_image):
	* src/file-manager/fm-icon-view.c:
	(get_stored_icon_position_callback):
	A bunch of places were trying to use %*s to detect whether there
	were stray characters at the end of a string when doing an sscanf.
	I wrote that code. But it doesn't work. A similar technique that
	does work is to use %c, and ignore the parsed character.

	* src/nautilus-search-bar-criterion.c:
	(nautilus_search_uri_get_first_criterion):
	This place wasn't using the %*s at all, so just remove it.
2001-09-25 18:26:16 +00:00
Fabrice Bellet
494f382efb Reviewed by Darin Adler <darin@bentspoon.com> (Bug 44402) vfs_get_info()
2001-09-24  Fabrice Bellet  <fabrice@gnu.org>

        * Reviewed by Darin Adler <darin@bentspoon.com> (Bug 44402)
        * components/adapter/bonobo-stream-vfs.c: vfs_get_info()
        needs to be implemented to make the EOG component happy.
2001-09-24 21:54:37 +00:00
Philip Langdale
426aa73ee6 Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
2001-09-21  Philip Langdale  <philipl@mail.utexas.edu>

        * Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
        * components/help/converters/gnome-info2html2/html.c
        * components/help/converters/gnome-info2html2/html.h
        * components/help/converters/gnome-info2html2/main.c: Added optional
        "galeon mode" invoked with -g command line param. This involves writing
        fully qualified info: hrefs instead of just the #nodename target,
        which appears to me to be a bug, but might have negative effects on
        nautilus. It also uses ? queries instead of # refs when forming hrefs.
2001-09-22 03:14:53 +00:00
Darin Adler
be664629f5 Change all libxml includes to use #include <libxml/*> instead of #include
* components/help/hyperbola-nav-index.c:
	* components/help/hyperbola-nav-search.c:
	* components/news/nautilus-news.c:
	* components/text/nautilus-text-view.c:
	* libnautilus-private/nautilus-customization-data.c:
	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-icon-factory.c:
	* libnautilus-private/nautilus-link-set.c:
	* libnautilus-private/nautilus-link.c:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-metafile.h:
	* libnautilus-private/nautilus-theme.c:
	* libnautilus-private/nautilus-volume-monitor.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-bookmark-parsing.c:
	* src/nautilus-bookmark-parsing.h:
	* src/nautilus-link-set-window.c:
	* src/nautilus-main.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-sidebar.c:
	* src/nautilus-window-menus.c:
	Change all libxml includes to use #include <libxml/*>
	instead of #include <gnome-xml/*>.
2001-09-20 18:34:08 +00:00
Darin Adler
31c20fa038 Updated bugzilla.eazel.com references to refer to the
corresponding bugzilla.gnome.org bug. Also updated my
	email address.
2001-09-15 19:18:15 +00:00
Darin Adler
e8362fdc0a Move inside #ifdef HAVE_FAM.
* libnautilus-private/nautilus-monitor.c:
	(path_is_on_readonly_volume): Move inside #ifdef HAVE_FAM.
2001-09-15 00:35:56 +00:00
Alex Larsson
ede19226c5 Merge some stuff from the redhat-outstanding-patches branch
2001-09-05  Alex Larsson  <alexl@redhat.com>

	Merge some stuff from the redhat-outstanding-patches branch

	* eazel-logos/default.xml:
	* icons/default.xml:
	don't hardcode the title, title info, and
	shadow colors; this prevented the auto-color-selection stuff
	in nautilus-sidebar-title.c from working properly.
	And the hardcoded values were the same thing the autoselector
	would have chosen anyhow.

	* libnautilus-private/nautilus-monitor.c:
	Don't monitor files on read only volumes, they never change, and
	will keep cdroms from being unmounted because fam has open file
	descriptors on them.

	* libnautilus-private/nautilus-thumbnails.c:
	Always look for local thumbnails first.

	* libnautilus-private/nautilus-volume-monitor.[ch]:
	Add nautilus_volume_is_read_only() and
	nautilus_volume_monitor_get_volume_for_path()

	* src/nautilus-desktop-window.c:
	(set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to
	avoid confusing kwin so badly, and also to go ahead and support
	the Window Manager Hints Of The Future.
	(set_gdk_window_background): only set root background to a pixel
	if we retrieved a pixel property
	(map): Set background of our child widgets in addition to our
	own background. This gets rid of the last of the ugliness during
	Nautilus startup, I believe.

	* src/file-manager/fm-icon-view.c:
	Don't read GMC position meta data -- it is never right for nautilus,
	due to different size icons, additional icons, different placement
	policies, so falling back to normal automatic placement works better.
2001-09-11 01:20:43 +00:00
Darin Adler
b9b96b5724 Ignore .desktop and .directory files generated by the xml-18n-merge
* .cvsignore:
	* data/.cvsignore:
	Ignore .desktop and .directory files generated by the
	xml-18n-merge process.
2001-09-08 01:19:47 +00:00
Darin Adler
066a2fc55c Remove unused variable.
* libnautilus-private/nautilus-volume-monitor.c:
	(verify_current_mount_state): Remove unused variable.
2001-09-08 01:18:01 +00:00
Owen Taylor
a06d3386f6 Fix bug where the mount list was stored without full mount names. Don't
2001-09-06  Owen Taylor  <otaylor@redhat.com>

        * libnautilus-private/nautilus-volume-monitor.c (verify_current_mount_state):
        Fix bug where the mount list was stored without full mount
        names. Don't call mount_volume_make_name() on volumes that
        might not be on the system any more. Remove code that
        (unsuccesfully) tried to fix the old volume names up, since
        we now have the correct old volume names.

        Effect of these changes is to fix a race condition where
        'unmount /mnt/cdrom; eject /dev/cdrom' would leave a left-over
        icon on the deskop.
2001-09-07 00:47:03 +00:00
Maciej Stachowiak
ab37e3b87f Converted to use the new module callback API. Use async callbacks instead
* libnautilus-private/nautilus-authn-manager.c:
	(construct_password_dialog,
	present_authentication_dialog_blocking, mark_callback_completed,
	authentication_dialog_button_clicked,
	present_authentication_dialog_nonblocking,
	vfs_async_authentication_callback, vfs_authentication_callback,
	nautilus_authentication_manager_initialize): Converted to use the
	new module callback API. Use async callbacks instead of our own
	mechanism to achieve the same effect.
2001-09-05 20:10:32 +00:00
Alex Larsson
47a2fa6e4c Merge some stuff from the redhat-outstanding-patches branch
2001-09-04  Alex Larsson  <alexl@redhat.com>

	Merge some stuff from the redhat-outstanding-patches branch

	* libnautilus-private/nautilus-file-utilities.[ch]
	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
	Get rid of these. No more ~/Nautilus

	* libnautilus-private/nautilus-global-preferences.c:
	(default_home_location_callback): Always use your normal homedir
	as the home dir.

	* src/nautilus-application.c (check_required_directories): Don't
	create ~/Nautilus.
	(create_starthere_link_callback, nautilus_application_startup):
	Create a start here icon on the desktop.
	Turn of first time druid (by setting first time flag).
	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
	has_wm_state, get_self_typed_prop)
	Don't manage the desktop if kdesktop is running.

	* src/nautilus-first-time-druid.[ch]:
	Remove ~/Nautilus handling.
	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/

	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-menus.c:
	Add start here to the go menu. Remove leftovers of the "support" menuimem.

	* src/file-manager/fm-directory-view.c:
	Move scripts to ~/.gnome/nautilus-scripts

	* Makefile.am:
	Add starthere icons

	* data/Makefile.am:
	* data/*.desktop.in:
	* data/*.directory.in:
	Add starthere desktop files.
2001-09-05 17:12:22 +00:00
Alex Larsson
a4cea25853 Merge some stuff from the redhat-outstanding-patches branch
2001-09-04  Alex Larsson  <alexl@redhat.com>

	Merge some stuff from the redhat-outstanding-patches branch

	* libnautilus-private/nautilus-icon-container.c:
	* libnautilus-private/nautilus-icon-dnd.c:
	Change signature of the "handle_uri_list" callback to include the
	drag action.

	* src/file-manager/fm-icon-view.c (icon_view_handle_uri_list):
	Handle uri's more gracefully.

	* src/file-manager/fm-desktop-icon-view.c:
	(icon_view_handle_uri_list): Remove.  Now handled in the
	parent class.
2001-09-04 21:16:09 +00:00
Alex Larsson
c113f3a2d1 Merge some stuff from the redhat-outstanding-patches branch
2001-09-03  Alex Larsson  <alexl@redhat.com>

	Merge some stuff from the redhat-outstanding-patches branch

	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
	(mozilla_get_document_title): add this from Galeon

	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
	(mozilla_unicode_to_locale): copy code from Galeon to use Mozilla
	conversion features to convert unicode to locale encoding

	* components/mozilla/nautilus-mozilla-content-view.c
	(mozilla_title_changed_callback): set title in locale encoding

	* libnautilus-private/nautilus-directory-metafile.c
	(get_metafile): print error and exit if we fail to open the
	metafile factory; somewhat cleaner than segfaulting.

	* libnautilus-private/nautilus-file.c:
	Cache user information to avoid many getpwuid calls etc.

	* src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
	Don't leak pixmap and mask.

	* libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr):
	64bit clean. Use sizeof (int *), not sizeof (int).


	* Makefile.am, nautilus-help.desktop.in: Add a help icon that uses
	Nautilus

	* components/help/help-method.c (help_name_to_local_path):
	handle ghelp:toc to go to the default page gnome-help-browser used
	to go to. kind of a lame hack, but so is this whole vfs module ;-)
2001-09-04 15:37:11 +00:00
Maciej Stachowiak
3dfb1edf17 Replace authn with authentication throughout.
* libnautilus-private/nautilus-authn-manager.h,
	libnautilus-private/nautilus-authn-manager.c:
	(construct_password_dialog),
	(present_authentication_dialog_blocking),
	(authentication_dialog_button_clicked),
	(authentication_dialog_closed), (authentication_dialog_destroyed),
	(present_authentication_dialog_nonblocking),
	(run_authentication_dialog_on_main_thread),
	(vfs_authentication_callback),
	(nautilus_authentication_manager_initialize):

	Replace authn with authentication throughout.

	* src/nautilus-application.c (finish_startup): Adjust to rename.

	* RENAMING: Suggest renaming nautilus-authn-manager to
	nautillus-authentication-manager.c
2001-09-02 02:56:48 +00:00
Darin Adler
0e323670e5 Don't link in the libnautilus-private library for components that don't
* components/adapter/Makefile.am:
	* components/image-viewer/Makefile.am:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	Don't link in the libnautilus-private library for components that
	don't use it.
	* components/sample/Makefile.am: Pretty up the sample a bit.
	Don't link with GConf since we're not using it directly.

	* components/shell/shell.oafinfo: Remove this obsolete file.

	* components/news/nautilus-news.c: (draw_rss_items): Fix a leak
	by unref'ing the text layout object instead of just destroying it.
	* src/nautilus-complex-search-bar.c:
	(search_bar_criterion_type_changed_callback): Fix leak of the
	criterion object by sinking it instead of destroying it. The
	criterion object seems to be a widget that's never used as one.
	It should be a GtkObject instead.

	* src/nautilus-location-bar.c:
	(nautilus_location_bar_set_location): Simplified code a bit by
	getting rid of special cases for NULL.
2001-08-31 22:19:08 +00:00
Wang Jian
579b34d672 *** empty log message *** 2001-08-31 16:37:22 +00:00
Kwok-Koon Cheung
608ec64194 Rename zh_TW.Big5 -> zh_TW, to prevent future encoding naming problem. 2001-08-31 11:53:32 +00:00
Darin Adler
beaa4d8dd2 Add workaround for gnome-metadata bug that was causing a stat and mkdir of
* src/nautilus-main.c: (main): Add workaround for gnome-metadata bug
	that was causing a stat and mkdir of NULL. (Yoann helped me find this).

	* src/nautilus-window-manage-views.c: (update_title): Fix code that
	was freeing the title and then using it afterward. (Yoann helped me
	find this).

	* src/nautilus-window.c: (refresh_stored_viewers): Fix code so that
	it uses g_list_prepend and g_list_reverse instead of using
	g_list_append, which is a bad habit.
2001-08-31 01:06:35 +00:00
Darin Adler
b8351ab255 Fix a storage leak that Yoann found.
* src/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_new_from_values): Fix a storage
	leak that Yoann found.
2001-08-30 18:24:13 +00:00
Darin Adler
f0b878562c Fix unused variable and expression warnings, and fix to match Nautilus
* components/help/hyperbola-filefmt.c: (get_locale_score),
	(locale_score): Fix unused variable and expression warnings, and
	fix to match Nautilus coding style.
2001-08-28 16:41:22 +00:00
Vandoorselaere Yoann
11964ca155 avoid un-needed string copy.
* libnautilus-private/nautilus-link.c (nautilus_link_local_get_image_uri):         avoid un-needed string copy.

        * components/help/hyperbola-filefmt.c (locale_score):
        free return of xmlGetProp on return. Do not use a char pointer
        to point on the returned value, use an xmlChar pointer.

        * libnautilus-private/nautilus-link.c (nautilus_link_local_get_link_type):         Free the value returned by local_get_root_property.
2001-08-28 07:45:15 +00:00
Seth Nickell
c1475cb159 reviewed by: Maciej
2001-08-27  Seth Nickell  <snickell@stanford.edu>

	reviewed by: Maciej

	* libnautilus-private/nautilus-link.c: (local_set_root_property):

	change a const char * to an xmlChar *, since its being assigned
	a newly allocated xml property and promptly freed (and hence isn't
	being treated as a const at all).
2001-08-28 04:26:12 +00:00
Vandoorselaere Yoann
93d89f332b Don't leak a GtkBox.
* src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_new):
        Don't leak a GtkBox.

        * src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
        Do not check pixmap, check pixbuf. This also fix a leak.

        * libnautilus-private/nautilus-link.c (local_set_root_property):
        Fix a leak of the xmlProp returned data.
2001-08-27 15:18:32 +00:00
Darin Adler
c4c8dd3bd0 Define VERSION for the preprocessor.
* helper-utilities/error-dialog/Makefile.am:
	Define VERSION for the preprocessor.
2001-08-27 15:13:51 +00:00
Darin Adler
4599ec3e3a Some makefile cleanup.
* Makefile.am: Don't build intl since we don't need it the way we
	use gettext.
	* applets/launcher/Makefile.am: Remove redundant -I$(srcdir).
	* applets/preferences-applet/Makefile.am: Remove redundant
	-I$(srcdir).
	* components/adapter/Makefile.am: Remove redundant -I.
	* components/mozilla/Makefile.am: Mark private headers as SOURCES,
	not noinst_HEADERS, as suggested by automake book and manual.
	* components/news/Makefile.am: Remove unneeded
	-I$(top_srcdir)/components/news.
	* configure.in: Don't build intl since we don't need it the way we
	use gettext.
	* libnautilus-adapter/Makefile.am: Remove redundant -I.
	* libnautilus-private/Makefile.am: Change -I for new
	cut-n-paste-code scheme. Also mark private headers as SOURCES, not
	noinst_HEADERS, as suggested by automake book and manual.
	* libnautilus/Makefile.am: Remove redundant -I.
	* src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also
	mark private headers as SOURCES, not noinst_HEADERS, as suggested
	by automake book and manual.
	* src/file-manager/Makefile.am: Mark private headers as SOURCES,
	not noinst_HEADERS, as suggested by automake book and manual.

	* check-THANKS.pl: Change Seth's preferred email address.

	* cut-n-paste-code/widgets/e-paned/Makefile.am:
	* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
	Don't use -static, since we plan to link
	Remove unneeded -I directives now that we handle includes
	differently. Also mark private headers as SOURCES, not
	noinst_HEADERS, as suggested by automake book and manual.

	* cut-n-paste-code/widgets/e-paned/e-hpaned.h:
	* cut-n-paste-code/widgets/e-paned/e-vpaned.h:
	* libnautilus-private/nautilus-horizontal-splitter.h:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-search-bar-criterion.c:
	Simpler include scheme for cut-n-paste code.
2001-08-26 19:01:15 +00:00
Darin Adler
d0b6b683b0 Some new FIXMEs for I/O that's done at bad times -- these could contribute
* libnautilus-private/nautilus-file.c:
	(is_special_desktop_gmc_file), (nautilus_file_get_name):
	Some new FIXMEs for I/O that's done at bad times -- these could
	contribute to the performance problems that Alan Cox reported.
2001-08-24 20:10:22 +00:00
Darin Adler
6ac5db4fda Separate this from the code to create the scripts directory.
* src/file-manager/fm-directory-view.c:
	(set_up_scripts_directory_global): Separate this from the code to
	create the scripts directory.
	(create_scripts_directory): New function.
	(fm_directory_view_initialize): Use set_up_scripts_directory_global.
	(open_scripts_folder_callback): Use create_scripts_directory.
2001-08-24 15:41:29 +00:00
Darin Adler
d31bf8d65b Added support for nested directories inside the scripts directory,
starting with a patch by David Emory Watson <dwatson@cs.ucr.edu>.

	* src/file-manager/fm-directory-view.c: (get_scripts_directory):
	Keep the scripts directory URI and string length in a global
	variable.
	(add_scripts_directory): New function, replaces
	connect_script_handlers. Refs the directory, puts it on the
	scripts directory list, and monitors more attributes than before.
	(fm_directory_view_initialize): Use add_scripts_directory instead
	of connect_script_handlers.
	(fm_directory_view_destroy): Use remove_scripts_directory on the
	entire list instead of disconnect_script_handlers.
	(add_submenu): New function.
	(add_script_to_script_menus): Change name, pass in path.
	(add_submenu_to_script_menus): New function.
	(directory_belongs_in_scripts_menu): New function.
	(add_directory_to_scripts_directory_list): New function, high
	level call used to turn a NautilusFile into a NautilusDirectory
	and call add_scripts_directory.
	(update_directory_in_scripts_menu): New function.
	(update_scripts_menu): New function, replaces reset_scripts_menu
	and uses new nautilus_directory_get_files_list rather than
	nautilus_directory_call_when_ready.
	(open_scripts_folder_callback): Use new global variable instead
	of calling get_scripts_directory.
	(real_update_menus): Call update_scripts_menu instead of
	schedule_reset_scripts_menu.
	(remove_scripts_directory): New function, replaces
	disconnect_script_handlers. Removes the directory from the scripts
	directory list and unrefs it after disconnecting handlers.

	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory.c: (is_tentative): Moved
	from nautilus-directory-async.c.
	(nautilus_directory_get_file_list): New, made from formerly-
	private get_non_tentative_file_list in nautilus-directory-async.c.
	(nautilus_directory_list_ref): New.
	(nautilus_directory_list_unref): New.
	(nautilus_directory_list_free): New.
	(nautilus_directory_list_copy): New.
	(compare_by_uri), (compare_by_uri_cover),
	(nautilus_directory_list_sort_by_uri): New. Sorrts directories by
	URI, parents before children, and children sorted as if by
	nautilus_file_list_sort_by_name.
	* libnautilus-private/nautilus-directory-async.c:
	(nautilus_directory_monitor_add_internal), (ready_callback_call):
	Use nautilus_directory_get_file_list instead of
	get_non_tentative_file_list.
2001-08-24 15:26:53 +00:00
Ramiro Estrugo
e2341ed5f8 No longer need to check that we want to kill the nautilus shell before
* src/nautilus-main.c: (main):
	No longer need to check that we want to kill the nautilus shell
	before initializing preferences.  I used to do this because of the
	way visibilities and defaults were stored using gconf - which led
	to problems about too early initialization for gconf.   It also
	happens that some desktop prefernece checking code was just added
	for a situation when the nautilus shell is about to be killed.
	That was causing criticals, so thats the end of this now uneeded
	check.
2001-08-24 10:39:05 +00:00
Anders Carlsson
bafee4405a Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require
2001-08-23  Anders Carlsson  <andersca@gnu.org>

	* nautilus.spec.in: Remove CONTROL_CENTER_REQUIRED since nautilus
	doesn't require control-center anymore.

 	* configure.in: Remove CONTROL_CENTER_REQUIRED since nautilus
 	doesn't require control-center anymore.

 	* src/nautilus-window.c (nautilus_window_constructed):
 	Set shrink to TRUE when adding the sidebar since it'll look
 	better when the splitter is collapsed.
 	(nautilus_window_destroy): Free the window title.

 	* src/nautilus-window-manage-views.c (begin_location_change):
 	Unref the directory when we're done using it.

 	* src/nautilus-sidebar.c (nautilus_sidebar_destroy): Sink
 	the title tab so it'll destroyed even if it hasn't got a parent.

 	* libnautilus-private/nautilus-vfs-file.c (vfs_destroy):
 	Free details struct.

 	* libnautilus-private/nautilus-vfs-directory.c (vfs_destroy):
 	Free details struct.

 	* libnautilus-private/nautilus-mime-actions.c
 	(nautilus_mime_get_short_list_applications_for_file):
 	Free uri_scheme.
 	(make_oaf_query_with_uri_scheme_only): Free explicit_iid_query.

 	* libnautilus-private/nautilus-metafile.c (destroy):
 	Unref the private vfs uri, and free the directory uri.

 	* libnautilus-private/nautilus-file.c (nautilus_file_get_internal):
 	Free the string returned by nautilus_directory_get_name_for_self_as_new_file.

 	* libnautilus-private/nautilus-file-changes-queue.c
 	(nautilus_file_changes_consume_changes):
 	Free the change struct.

 	* libnautilus-private/nautilus-directory-async.c
 	(nautilus_directory_invalidate_count_and_mime_list):
 	Unref the file after using it.

 	* libnautilus/nautilus-idle-queue.c (execute_queued_functions):
 	Free each list node.
 	(nautilus_idle_queue_destroy): Likewise.
2001-08-23 16:48:19 +00:00
Ramiro Estrugo
1c50f7b140 No longer need to check that we want to kill the nautilus shell before
* src/nautilus-main.c: (main):
	No longer need to check that we want to kill the nautilus shell
	before initializing preferences.  I used to do this because of the
	way visibilities and defaults were stored using gconf - which led
	to problems about too early initialization for gconf.   It also
	happens that some desktop prefernece checking code was just added
	for a situation when the nautilus shell is about to be killed.
	That was causing criticals, so thats the end of this now uneeded
	check.
2001-08-22 17:33:21 +00:00
Christian Meyer
339fcbffe4 Removed eazel services from nautilus. 2001-08-22 17:24:16 +00:00
Christian Meyer
b18e6ea27f Removed Eazel related bookmarks, added SuSE and Ximian. 2001-08-22 10:51:36 +00:00
Christian Meyer
66ab1ec344 Removed obsolete Eazel stuff from nautilus-shell.c and nautilus-shell-ui.xml 2001-08-22 00:51:21 +00:00
Darin Adler
177235e92f Add a new document.
* docs/nautilus-io.txt: Add a new document.
2001-08-21 23:05:22 +00:00
Maciej Stachowiak
a090629c96 Ported to use EelList instead of GtkCList. This looks better and allows
* components/music/nautilus-music-view.c: (get_cell_text),
	(nautilus_music_view_initialize), (get_song_text),
	(music_view_set_selected_song_title), (selection_callback),
	(value_changed_callback), (compare_song_numbers),
	(compare_song_titles), (compare_song_artists),
	(compare_song_times), (compare_song_bitrates), (sort_list),
	(click_column_callback), (list_move_vertical), (list_moveto),
	(list_reveal_row), (play_current_file), (go_to_next_track),
	(nautilus_music_view_update), (nautilus_music_view_load_uri):
	Ported to use EelList instead of GtkCList. This looks better and
	allows for futre drag and drop support.
2001-08-20 05:44:50 +00:00
Darin Adler
39c1a148ee Trap errors when doing the XKillClient call inside set_root_pixmap. I
* libnautilus-private/nautilus-directory-background.c:
	(nautilus_file_background_receive_root_window_changes),
	(set_root_pixmap): Trap errors when doing the XKillClient
	call inside set_root_pixmap. I don't know why it would
	fail, exactly, but we have reports from the field that it
	is failing.
2001-08-18 21:25:51 +00:00
Darin Adler
d95a78e1bb Corrected a backwards g_return_if_fail!
* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_get_mount_name_for_display):
	Corrected a backwards g_return_if_fail!
2001-08-16 22:46:04 +00:00
Darin Adler
c4b8cdd48c A pass at cleaning up the volume monitor. Made all the details of
NautilusVolume private.

	* libnautilus-private/filesystem-attributes.xml: Changed the
	"description" string to be named "default_volume_name" and also
	marked it to be localized.

	* libnautilus-private/nautilus-file-utilities.h:
	* libnautilus-private/nautilus-file-utilities.c:
	(nautilus_get_data_file_path):
	Added a new utility function to locate a file that's either in the
	user's directory or in the Nautilus datadir.

	* src/nautilus-property-browser.c: (read_browser_xml): Use
	nautilus_get_data_file_path.

	* libnautilus-private/nautilus-trash-directory.c:
	(get_trash_volume):
	* libnautilus-private/nautilus-trash-monitor.c:
	(add_one_volume_trash):
	* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
	(create_unique_volume_name), (create_mount_link),
	(volume_unmounted_callback), (update_disks_menu):
	* src/nautilus-application.c: (volume_mounted_callback),
	(volume_unmounted_callback):
	* src/nautilus-bookmark-list.c:
	(nautilus_bookmark_list_get_file_path):
	Use only calls from the NautilusVolume public API -- no getting at
	the structure directly. Also fix callers that were using
	nautilus_volume_monitor_get_volume_mount_uri to correctly
	understand that they get the mount path, not the mount URI.

	* libnautilus-private/nautilus-volume-monitor.h:
	* libnautilus-private/nautilus-volume-monitor.c:
	(load_file_system_table): Fix storage leaks. Use the new
	nautilus_get_data_file_path. Translate the default volume names as
	they are loaded. Check for duplicate entries while loading the
	table. Don't bother checking the name of the root node, since
	there are plenty of other things about the file that we don't
	check and there's no reason we particularly need to check that.
	Fix some storage leaks. Free the doc, since I'm not seeing a
	"nautilus --quit" segfault.
	(nautilus_volume_monitor_initialize): Only initialize stuff that
	g_new0 won't set up for us.
	(nautilus_volume_is_removable): Rename so it's a call on
	NautilusVolume, not the NautilusVolumeMonitor.
	(volume_is_removable): Fix logic so we don't have to have so many
	different calls to fclose.
	(nautilus_volume_get_name): Rename so it's a call on
	NautilusVolume, not the NautilusVolumeMonitor.
	(modify_volume_name_for_display): Don't bother supplying a name if
	passed NULL, since that won't ever be helpful the way this is used.
	(nautilus_volume_get_target_uri): Rename so it's a call on
	NautilusVolume, not the NautilusVolumeMonitor.
	(nautilus_volume_should_integrate_trash): Rename so it's a call on
	NautilusVolume, not the NautilusVolumeMonitor. Get the information
	from the file system type, so we don't have to copy it into each
	NautilusVolume object.
	(nautilus_volume_get_mount_path): Rename so it's a call on
	NautilusVolume, and don't call it a URI since it's really a path.
	(nautilus_volume_get_device_type): New call.
	(make_volume_name_from_path): Get the default from the file system
	type rather than passing it in.
	(free_mount_list): Get rid of some dumb extra code.
	(copy_volume), (nautilus_volume_free): Update for smaller set of
	fields.
	(create_volume), (finish_creating_volume),
	(finish_creating_volume_and_prepend): Restructure so we don't need
	to keep so much stuff around in the NautilusVolume object.

	* src/nautilus-first-time-druid.c:
	(druid_set_first_time_file_flag): Some tiny tweaking.
2001-08-15 21:04:01 +00:00
Maciej Stachowiak
bda504410c Revert accidental commit of not quite done change.
* components/music/Makefile.am: Revert accidental commit of not
	quite done change.
2001-08-15 18:55:16 +00:00
Darin Adler
f234e681cc Use a 64K buffer size instead of a 4K buffer size.
* components/image-viewer/nautilus-image-view.c:
	(load_image_from_stream): Use a 64K buffer size instead of a 4K
	buffer size.
2001-08-15 16:08:33 +00:00
Maciej Stachowiak
6e1255de63 A bunch of code cleanup; stop using hidden columns in the list view and
* components/music/nautilus-music-view.c:
	(nautilus_music_view_initialize), (get_song_text), (sort_list),
	(click_column_callback), (ensure_uri_is_image),
	(nautilus_music_view_update): A bunch of code cleanup; stop using
	hidden columns in the list view and try to pave the way for better
	model/view separation.

	* src/nautilus-main.c (main): set DISPLAY variable to
	canonicalized version; this is needed to make
2001-08-15 08:31:45 +00:00
Seth Nickell
64ff8e32f2 Load filesystems from an XML file rather than hardcoding the various
2001-08-14  Seth Nickell  <snickell@stanford.edu>

	Load filesystems from an XML file rather than hardcoding
	the various attributes and behaviors. Some properties, such
	as for CDDA and NFS, are still hardcoded because they require
	actual code. This also makes it easier to add new filesystems.

	* libnautilus-private/filesystem-attributes.xml

	Filesystem description file.

	* libnautilus-private/Makefile.am:

	Add filesystem-attribute.xml to the build.

	* libnautilus-private/nautilus-volume-monitor.c:

	(mount_volume_prepend_filesystem):

	Don't try to detect filesystem strings and associate them
	with an enumeration type...nix the enumeration altogether
	since its not compatible with dynamically loading the
	filesystems.

	(get_xml_path), (load_filesystem_attributes_table)

	Functions for reading in filesystem-attribute.xml and
	loading the various filesystems into a hashtable.

	(nautilus_volume_monitor_initialize)

	Read in the filesystem attributes table.

	(get_removable_volumes), (mount_volume_deactivate),
	(get_mount_list), (get_current_mount_list),
	(verify_current_mount_state)

	Take a file attributes hashtable, or pass one to a
	subfunction.

	(nautilus_volume_monitor_get_target_uri),

	CDDA is the only system we need to deal with in an unusual
	way. Take out a long list and just check for CDDA.

	(nautilus_volume_monitor_should_integrate_trash)

	Use information read from the file rather than hardcoding
	a list of filesystems that can use trash (should be the
	same for now).

	(make_volume_name_from_path), (mount_volume_make_name)

	Get name out of the filesystem table rather than hardcoding.

	(mount_volume_iso9660_add)

	We were deciding if a device was *really* a CDROM by
	doing an ioctl on it to determine the drive status. This
	is a good check...except that on systems using DevFS
	devices can be user mountable without being user readable
	by default. Also, on my system it fails if there's no
	disk in the drive itself.

	(mount_volume_auto_add)

	Continue setting the device if its a floppy drive (eventually
	this should probably be cleaned out too), but don't set the
	filesystem type since we don't use the enum anymore.

	(mount_volume_cdda_add)

	Set as a CDDA device, but not a CDDA volume (since we don't
	have hardcoded volume types anymore).

	(mount_volume_nfs_add)

	Don't set NFS type since the enum was blown away.

	(create_volume)

	Accept a filesystem table and set attributes read from
	filesystem-attributes.xml if a volume's filesystem is found
	in the table. Perhaps eventually we should just assign a
	reference to the volume entry, but this was simpler for
	now since some functions modify things like the description.

	(copy_volume)

	Deal with copying the new attributes.

	* libnautilus-private/nautilus-volume-monitor.h:

	Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM
	to NAUTILUS_DEVICE_CDROM

	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
	(update_disks_menu):

	Deal with rename of NAUTILUS_DEVICE_CD_ROM

	* src/nautilus-application.c: (volume_mounted_callback):

	Deal with rename of NAUTILUS_DEVICE_CD_ROM

	* AUTHORS:

	Update E-mail address.

	* configure.in:

	Make "FAM not found" warning a little more serious and
	informative. We particularly want to encourage distributors
	to enable FAM support.
2001-08-15 06:35:04 +00:00
Seth Nickell
8c287d3b63 Trying to make nautilus volume monitor work more reliably. First step is
2001-08-11  Seth Nickell  <snickell@stanford.edu>

	Trying to make nautilus volume monitor work more
	reliably. First step is to make the codebase more
	maintainable so I can start tracking down bugs in
	the volume monitor more easily.
	(I get complaints about this from friends, family, and
	coworkers all the time, so there must be some/one bugs).

	* libnautilus-private/nautilus-volume-monitor.h:
	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_initialize_class),
	(nautilus_volume_monitor_get_target_uri),
	(nautilus_volume_monitor_should_integrate_trash),
	(mount_volume_make_name), (mount_volume_deactivate),
	(mount_volume_generic_add), (mount_volume_prepend_filesystem):

	Remove mount_volume_*_add for filesystems that do
	effectively the same thing. This added a large amount of
	clutter to a module that already has a lot of similar
	functions. Add a generic function that accepts the filesystem
	type, and change calls to use this.

	Fix signal in initialize_class to be "nautilus_volume_unmount_failed"
	rather than "nautilus_volume_unmoun_failed" (nobody was assuming
	the broken behavior eithe, I checked, maybe this will fix something).

	Renamed NAUTILUS_VOLUME_REISER to NAUTILUS_VOLUME_REISERFS
	to maintain the naming convention the other filesystems use.

	Changed "unsdos" to "umsdos" everywhere. I don't think a unsdos
	filesystem exists, after web searches, and umsdos *is* one of
	the basic Linux filesystems. I suspect somebody misread a filesystem
	name browsing the kernel compilation menu or somesuch.

	Removed redundant (and erroneous) check for "ufs" type filesystems
	(the check was already listed in the if then statement above).
2001-08-11 08:48:26 +00:00
Darin Adler
f8643ceb56 Add an include of nsIContentView.h in the hopes that this will make it
* components/mozilla/mozilla-events.cpp:
	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
	Add an include of nsIContentView.h in the hopes that this
	will make it work with newer Mozilla sources.
2001-08-07 17:30:18 +00:00
Darin Adler
e27a02eda1 Simplify logic. (pixbuf_is_framed): Do size and format reality checks on
* libnautilus-private/nautilus-thumbnails.c:
	(pixel_matches_value): Simplify logic.
	(pixbuf_is_framed): Do size and format reality checks on pixbuf
	before reading the pixels.
	(nautilus_thumbnail_load_framed_image): Handle case where the
	pixbuf loading failed. Handle case where there's no frame. Handle
	case where the frame offsets in the theme data is improperly
	formatted.
2001-08-06 17:35:46 +00:00
Maciej Stachowiak
9a7dd3c20c Get display name in a better way suggested by Havoc Pennington.
* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Get display name in a better
	way suggested by Havoc Pennington.
2001-08-03 07:48:33 +00:00
Michael Fleming
77cb5a29b6 Added gnome-vfs authentication dialog support. Currently works with HTTP
Added gnome-vfs authentication dialog support.
        Currently works with HTTP basic and proxy authentication.

        A bug causes the dialog to appear more than once in quick succession
        in some cases.

        Separate processes (eg sidebar components) that need to access
        a protected URL will also pop open their own individual dialogs
        at this point

        There's also no integration with Mozilla at this point, so
        Mozilla too will prompt separately.

        This code works against gnome-vfs head and the gnome-vfs-1-0
        branch, as well as the soon-to-be-released gnome-vfs 1.0.2
2001-08-02 07:09:45 +00:00
Darin Adler
a9c64525ac More people to thank.
* THANKS: More people to thank.
2001-08-01 21:02:38 +00:00
Yanko Kaneti
b3d4454847 remove the extra bg_BG(.cp1251) references, part of the gnome cvs wide
2001-07-31  Yanko Kaneti  <yaneti@declera.com>

   * components/help/topleveldocs.xml: remove the extra bg_BG(.cp1251)
   references, part of the gnome cvs wide move from bg_BG to bg
2001-07-31 20:07:23 +00:00
Darin Adler
b071ed5d73 Fixed bug 8438 (changing desktop between $HOME and .gnome-desktop
breaks desktop DnD from other apps).

	* src/file-manager/fm-desktop-icon-view.c:
	(desktop_directory_changed_callback): New function to update the
	local variable when the desktop directory changes.
	(fm_desktop_icon_view_initialize): Set up the callback rather than
	just setting up the global variable.

	* configure.in: Fixed code to set up compile-time options. It
	was putting the options into VFS_CFLAGS.
2001-07-27 17:36:35 +00:00
Maciej Stachowiak
821fac83df Fixed bug 6776 (In-place file rename allowed (but doesn't occur)
at 25% zoom level):

	* src/file-manager/fm-icon-view.c: (fm_icon_view_set_zoom_level):
	Update menus since the sensitivity of "Rename" now depends on the
	zoom level.
	(fm_icon_view_update_menus): Disable the "Rename" item when at
	smallest zoom level, since renaming won't happen anyway.
2001-07-26 09:16:37 +00:00
Darin Adler
bf72a34cab Remove eel_ prefix from name. (background_get_desktop_background_window):
* libnautilus-private/nautilus-directory-background.c:
	(background_is_desktop): Remove eel_ prefix from name.
	(background_get_desktop_background_window): Remove eel_ prefix
	from name.

	* libnautilus-private/nautilus-icon-factory.c:
	(should_display_image_file_as_itself),
	(nautilus_icon_factory_get_icon_for_file), (load_icon_from_path):
	* libnautilus-private/nautilus-thumbnails.h:
	* libnautilus-private/nautilus-thumbnails.c: (make_thumbnail_uri),
	(nautilus_thumbnail_has_invalid_thumbnail),
	(nautilus_get_thumbnail_uri),
	(nautilus_update_thumbnail_file_renamed),
	(nautilus_remove_thumbnail_for_file), (check_for_thumbnails),
	(make_thumbnails), (nautilus_thumbnail_load_framed_image):
	Remove anti-aliased parameter from most functions, since the
	thumbnails are now the same either way.

	* THANKS:
	* check-THANKS.pl:
	Some more THANKS updates.

	* RPMs-README: No need for this any more.
2001-07-24 23:38:41 +00:00
Jens Finke
2b14aa41cf Updated KDE rdf location.
2001-07-24  Jens Finke <jens@gnome.org>

	* components/news/news_channels.xml: Updated KDE rdf location.
2001-07-24 13:53:16 +00:00
Andy Hertzfeld
5650475642 changed thumbnailing to not draw the frame into the thumbnail images
changed thumbnailing to not draw the frame into the
	thumbnail images themselves anymore; instead, draw it at the time
	they're loaded. This makes anti-aliased thumbnail variants no
	longer necessary, so they're no longer used.  There's a cheap test so
	old thumbnails aren't framed twice.

	* libnautilus-private/nautilus-thumbnails.c: (make_thumbnail_uri),
	(make_thumbnails), (pixel_matches_value), (pixbuf_is_framed),
	(nautilus_thumbnail_load_framed_image):
	don't frame the thumbnails at creation time; instead, provide
	a routine to frame them at load time if necessary.

	* libnautilus-private/nautilus-thumbnails.h:
	added nautilus_thumbnail_load_framed_image

	* libnautilus-private/nautilus-icon-factory-private.h:
	added nautilus_icon_factory_get_thumbnail_frame

	* libnautilus-private/nautilus-icon-factory.c:
	(load_thumbnail_frames), (nautilus_icon_factory_initialize),
	(nautilus_icon_factory_destroy), (icon_theme_changed_callback),
	(load_icon_from_path), (load_named_icon), (load_specific_icon),
	(nautilus_icon_factory_get_thumbnail_frame):
	made it call nautilus_thumbnail_load_framed_image to load
	thumbnails; made the icon factory load the thumbnail frames so it
	doesn't have to be done repeatedly; changed how the aa flag is
	passed around a little, although this could be cleaned up more now.
2001-07-23 20:20:32 +00:00
Benedikt Roth
8b1d7f6840 Fix the tip for the "Delete from Trash" item in the right-click menu
2001-07-23 Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/file-manager/fm-directory-view.c: (real_update_menus):
	Fix the tip for the "Delete from Trash" item in the right-click menu
2001-07-23 11:25:34 +00:00
Maciej Stachowiak
763194bfef Update the icon even when newly creating it, in case the trash state
* src/file-manager/fm-desktop-icon-view.c
	(update_trash_link_and_delete_copies): Update the icon even when
	newly creating it, in case the trash state changed while the
	desktop was off. This fixes bug 7956 (improper Trash icon state
	after desktop toggle )
2001-07-23 10:42:36 +00:00
Maciej Stachowiak
8d074785a4 Avoid a ref underflow. This was causing a crash noticed by Anders
* libnautilus-private/nautilus-directory-async.c
	(nautilus_file_invalidate_count_and_mime_list): Avoid a ref
	underflow. This was causing a crash noticed by Anders
	Carlsson. I'm so embarassed!

	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_destroy, delayed_init): Make sure to
	disconnect signals on destroy to avoid a possible crash when
	turning the desktop off and back on, and not using fam.
2001-07-23 10:12:53 +00:00
Maciej Stachowiak
70bf6de4c9 Fix bug 5242 (Selection not kept on-screen after column resort) by
* components/music/nautilus-music-view.c (click_column_callback):
	Fix bug 5242 (Selection not kept on-screen after column resort) by
	scrolling the selected item into view on a resort if it's not in
	view already.
2001-07-23 09:37:22 +00:00
Maciej Stachowiak
c61c49b787 Fix the remainer of bug 3769 (Music View window redraws upon clicking a
* components/music/nautilus-music-view.c: (get_song_text): Fix the
	remainer of bug 3769 (Music View window redraws upon clicking a
	different song) by making songs with no title show up with "-" for
	the title (I have quite a collection of broken mp3s).
2001-07-23 09:24:52 +00:00
Maciej Stachowiak
8d103fdb18 Fix bug 5175 (Music View displays year fields of '0'.) by filtering out
* components/music/nautilus-music-view.c:
	(read_id_tag): Fix bug 5175 (Music View displays year fields of
	'0'.) by filtering out years that are all zeros or all spaces.
	(filter_out_unset_year): New helper function.
2001-07-23 08:54:52 +00:00
Dan Mueth
2da559d388 Updating doc build stuff so it works properly on RH7.1 and any other newer
2001-07-22  Dan Mueth  <d-mueth@uchicago.edu>

        Updating doc build stuff so it works properly on RH7.1 and
        any other newer distributions which have the updated docbook
        tools where db2html doesn't work with GNOME's modified DTD.
        For these systems, we use jw instead of db2html.

        * configure.in:
        * help/sgmldocs.make:
2001-07-22 18:53:29 +00:00
Maciej Stachowiak
7fdb454478 Add artist to the info displayed about the currently selected song. Also,
2001-07-22  Maciej Stachowiak  <mjs@eazel.com>

	* components/music/nautilus-music-view.c: (string_non_empty),
	(get_song_text), (play_current_file): Add artist to the info
	displayed about the currently selected song. Also, fix a bug where
	a song entry does not get scrolled into view when the player
	switches to it sometimes. This happened because the song list
	would resize depending on whether or not there was an album
	name. Now if there is no album name (or artist) `-' is displayed
	in the second line.
2001-07-22 07:12:57 +00:00
Darin Adler
a05dbb3dcb Update cvs tags for gnome-vfs, librsvg, eel.
* README: Update cvs tags for gnome-vfs, librsvg, eel.
2001-07-22 02:42:49 +00:00
Anders Carlsson
b63962433d Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since having
2001-07-21  Anders Carlsson  <andersca@gnome.org>

	* components/help/Makefile.am:
	* components/sample/Makefile.am:
	* libnautilus-adapter/Makefile.am:
	* libnautilus-private/Makefile.am:
	* libnautilus/Makefile.am:
	Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since
	having multiple references makes linking very slow with libtool 1.4.
2001-07-21 17:06:45 +00:00
Maciej Stachowiak
8a21397a51 Fixed bugzilla.eazel.com bug 7015 (Item count not updated when
copying an empty folder to another).

	* libnautilus-private/nautilus-directory-async.c:
	(nautilus_file_invalidate_count_and_mime_list): New function to
	invalidate a directory's item count and item mime list given it's
	corresponding NautilusFile object.
	(nautilus_directory_invalidate_count_and_mime_list): Reimplemented
	in terms of the above.

	* libnautilus-private/nautilus-file-private.h:
	Prototype the new function.

	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_notify_files_added): If the NautilusDirectory
	for a directory into which files are being moved is not being
	monitored but the NautilusFile is, make sure to invalidate it's
	item count and mime list. This is the corner case that bug 7015
	was tickling.
2001-07-21 08:12:31 +00:00
Andy Hertzfeld
4a61d92628 fixed problem that the reset property was not localizable, since it used
fixed problem that the reset property was not localizable, since
	it used an image that contained text.  Fixed, by removing the
	text from the image and compositing it on the fly, from a localizable
	string.

	* data/patterns/reset.png:
	new version of reset tile without text.

	* libnautilus-private/nautilus-customization-data.c:
	(nautilus_customization_data_get_next_element_for_display),
	(add_reset_text), (nautilus_customization_make_pattern_chit):
	composite the reset text on the fly when necessary

	* libnautilus-private/nautilus-customization-data.h:
	added a parameter to make_pattern_chit to tell it to draw
	the reset text when necessary

	* src/nautilus-property-browser.c: (make_drag_image),
	(make_color_drag_image), (add_reset_property):
	set the reset parameter properly when calling make_pattern_chit.
2001-07-21 00:14:57 +00:00
Andy Hertzfeld
d53b677f42 removed the bad hack of attributing special meaning to the "reset.png"
removed the bad hack of attributing special meaning to the
	"reset.png" filename; instead, use a newly defined drop type of
	"x-special/gnome-reset-background".

	* libnautilus-private/nautilus-icon-dnd.c:
	(drag_data_received_callback),
	(nautilus_icon_container_get_drop_action), (drag_drop_callback):
	make the icon view handle the new drop type.

	* src/nautilus-property-browser.c: (element_clicked_callback):
	make the property browser emit the new drop type for the reset property

	* src/nautilus-sidebar.c: (reset_background_callback),
	(nautilus_sidebar_drag_data_received):
	make the sidebar handle the new drop type.
2001-07-20 17:36:34 +00:00
Darin Adler
c00bab3e1c More fixes like the one Alex just did.
* libnautilus-private/nautilus-icon-container.c: (destroy):
	Move the call to unschedule_keyboard_icon_reveal into
	nautilus_icon_container_clear.
	(nautilus_icon_container_clear): Cancel both of the pending
	icon reveals, since all the icons are gone.
	(icon_destroy): Cancel a pending icon to reveal if the
	icon being destroyed is that icon.

	* libnautilus-private/nautilus-icon-private.h: Remove some
	unused fields.
2001-07-19 21:35:13 +00:00
Alex Larsson
fdb0c0b377 Clear details->drop_target. This should fix a hard to trigger DnD
2001-07-19  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_clear):
	Clear details->drop_target. This should fix a hard to trigger DnD segfault.
2001-07-19 20:01:02 +00:00
Darin Adler
67c2f29006 Updated thanks for recent changes in ChangeLog.
* THANKS:
	* check-THANKS.pl:
	Updated thanks for recent changes in ChangeLog.

	* libnautilus-private/nautilus-file-operations.c:
	(build_error_string):
	* libnautilus-private/nautilus-file.c: (get_description):
	Updated the people to tell about various warnings.
2001-07-16 21:15:06 +00:00
Anders Carlsson
a6971b669d Check that the file mime type is correct (that the files is a music file)
2001-07-15  Anders Carlsson  <andersca@codefactory.se>

	* src/file-manager/fm-icon-view.c (icon_container_preview_callback): Check
	that the file mime type is correct (that the files is a music file) before calling
	nautilus_sound_can_play_sound () since that function launches esd which we
	don't want to do unless we have a music file.
2001-07-15 09:00:44 +00:00
Andy Hertzfeld
320c3808a8 allowed components to specify their sidebar icons and text info through
allowed components to specify their sidebar icons and text info
	through the property bag interface.  Removed the special cases from
	the sidebar and icon factory, and added the relevant properties to the
	hardware and mozilla views.

	made the modification date in the sidebar adapt itself gracefully
	to the available space like the list view does, by calling
	nautilus_file_fit_modified_data_as_string.

	added an "uptime" display to the hardware view.
2001-07-15 08:54:11 +00:00
John Fleck
199fafc2f4 reviewed by Laszlo Kovacs <laszlo.kovacs@sun.com>
2001-07-14 John Fleck <jfleck@inkstain.net>

	reviewed by Laszlo Kovacs <laszlo.kovacs@sun.com>
	* components/help/converters/gnome-db2html3/gnome-db2html3.c
	change logic for testing whether a file is sgml or xml
2001-07-15 01:41:59 +00:00
Alex Larsson
bd941b4d0b Use a GIOChannel instead of gdk_input_add. This fixes the bug where when
2001-07-12  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-monitor.c:
	Use a GIOChannel instead of gdk_input_add. This fixes the bug
	where when the fam connection dies it did gdk_input_remove (fd)
	instead of gdk_input_remove (tag)
2001-07-12 16:07:45 +00:00
Alex Larsson
9f89c4678e Add support for ext3.
2001-07-11  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.[ch]:
	Add support for ext3.
2001-07-11 23:08:11 +00:00
Darin Adler
800e4fc159 Fix code that was using <ctype.h> functions and passing char's rather than
* components/help/converters/gnome-info2html2/html.c:
	(write_menu_entry_html):
	* components/help/converters/gnome-man2html2/gnome-man2html.c:
	(add_links), (scan_escape), (scan_format), (scan_table),
	(scan_expression), (scan_request), (scan_troff),
	(scan_troff_mandoc), (main):
	* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
	* src/nautilus-property-browser.c: (emblem_keyword_valid):
	Fix code that was using <ctype.h> functions and passing char's
	rather than int's (using the standard "cast to unsigned char"
	trick).

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_denies_access_permission),
	(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
	(nautilus_file_get_group_name), (nautilus_file_can_set_group),
	(nautilus_file_get_settable_group_names),
	(nautilus_file_set_group):
	Get rid of the assumption that GnomeVFSFileInfo field types match
	the platform-specific uid_t and gid_t. This involves doing a few
	more type casts.
	(nautilus_extract_top_left_text): Fix a use of isprint on a char
	rather than an int.

	* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
	this file can compile for Solaris without warnings.

	* test/test.c: (test_window_set_title_with_pid): Don't assume that
	getpid() returns an int. Instead cast it to unsigned long for
	printing.
2001-07-11 21:31:55 +00:00
Alex Larsson
a2146ea844 Add HAVE_LIBFAM
2001-07-11  Alex Larsson  <alexl@redhat.com>

	* acconfig.h:
	Add HAVE_LIBFAM

	* configure.in:
	Check for libfam, not only header.

	* libnautilus-private/Makefile.am:
	Link to libfam

	* libnautilus-private/nautilus-monitor.c:
	Use normal fam library calls.
2001-07-11 14:38:47 +00:00
Benedikt Roth
04d7adb870 Created a 'Text view' menu to hold the 'Fonts' menu and services items
2001-07-11  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* components/text/nautilus-text-view-ui.xml:
	* components/text/nautilus-text-view.c:
	Created a 'Text view' menu to hold the 'Fonts' menu
	and services items

	* components/text/services/google.xml
	* components/text/services/webster.xml:
	  Removed references to http://services.eazel.com
2001-07-11 11:59:35 +00:00
Jonathan Blandford
76a8557a45 remove flash when starting up.
Tue Jul 10 19:45:50 2001  Jonathan Blandford  <jrb@redhat.com>

	* src/nautilus-desktop-window.c (realize): remove flash when
	starting up.

Approved by Darin.
2001-07-10 23:55:17 +00:00
Darin Adler
df19f64a22 Change the kill function to not set the GConf value to 0 if it's already
* libnautilus-private/nautilus-sound.c: (kill_sound_if_necessary),
	(nautilus_sound_kill_sound): Change the kill function to not set
	the GConf value to 0 if it's already 0.  This may help with a
	minor performance problem Yoann found in the directory view.
2001-07-10 16:38:59 +00:00
Darin Adler
82f0244bab Fix a cast so that 64-bit systems won't warn. This is similar to the
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
	(gtk_wrap_box_expose): Fix a cast so that 64-bit systems
	won't warn. This is similar to the e-paned.c fix I did
	already.
2001-07-09 23:18:49 +00:00
John Gotts
e74e346d99 Made the bookmarks work again. 2001-07-08 05:45:22 +00:00
Seth Nickell
59b11a187d Add includes that were inadevertantly pulled in by the older kinder
2001-07-07  Seth Nickell  <snickell@stanford.edu>

	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-thumbnails.c:
	* src/nautilus-window-menus.c:

	Add includes that were inadevertantly pulled in
	by the older kinder GnomeVFS include heirarchy but
	aren't anymore (people forgot to include some headers
	because the compiler never complained).
2001-07-07 09:19:15 +00:00
Darin Adler
e3a7fa6b25 Some credits updates based on recent ChangeLog entries.
* AUTHORS:
	* THANKS:
	* check-THANKS.pl:
	Some credits updates based on recent ChangeLog entries.
2001-07-05 23:31:02 +00:00
Darin Adler
784a8062a9 Bump version to 1.0.4.1
* configure.in: Bump version to 1.0.4.1

	* cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose):
	Fix type cast that was causing Ben trouble compiling on Solaris.

	Take a cut at removing the problem where opening a new window
	causes all the old windows to act as if all items were re-added.

	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_file_monitor_add),
	(nautilus_self_check_directory):
	* libnautilus-private/nautilus-directory-async.c:
	(nautilus_directory_monitor_add_internal):
	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-merged-directory.c:
	(build_merged_callback_list), (merged_file_monitor_add),
	(forward_files_added_cover), (forward_files_changed_cover),
	(monitor_add_directory), (merged_add_real_directory):
	* libnautilus-private/nautilus-trash-file.c: (real_monitor_add):
	* libnautilus-private/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_initialize):
	* libnautilus-private/nautilus-vfs-directory.c:
	(vfs_file_monitor_add):
	* libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add):
	Change monitor_add to take a parameter for a callback function, and
	call that instead of sending out a files_added message when someone
	starts monitoring files.

	* components/tree/nautilus-tree-model.c:
	(nautilus_tree_model_node_begin_monitoring_no_connect),
	(nautilus_tree_model_node_begin_monitoring),
	(nautilus_tree_model_directory_files_changed_callback):
	* src/file-manager/fm-directory-view.c: (connect_script_handlers),
	(finish_loading):
	Pass in a callback function to monitor_add, and don't hook up the
	files_added and files_changed signals until after the monitor is
	added.
2001-07-05 23:16:54 +00:00
Darin Adler
4acc990fbb Preparation for the 1.0.4 release.
* configure.in: Bump version to 1.0.4.
	* NEWS: Update for recent changes.

	* Makefile.i18npatch:
	* POTFILES.skip:
	* update.sh:
	Remove remnants of the old localization scheme. These
	are all superseded by xml-i18n-tools.
2001-07-05 17:49:20 +00:00
Benedikt Roth
61228d763f Fix bug #8133 where changing of the NAUTILUS_PREFERENCES_CONFIRM_TRASH
2001-07-05  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/nautilus-sidebar.c: (nautilus_sidebar_initialize),
	(nautilus_sidebar_destroy), (nautilus_sidebar_theme_changed),
	(nautilus_sidebar_confirm_trash_changed):
	Fix bug #8133 where changing of the
	NAUTILUS_PREFERENCES_CONFIRM_TRASH value led to inconsistent menu
	descriptions by adding a eel_preferences callback.
2001-07-05 17:44:37 +00:00
Benedikt Roth
8ac1bb7146 Made the statusbar messages when selecting several folders clearer and
2001-07-05  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_display_selection_info):
	Made the statusbar messages when selecting several folders clearer
	and fixed i18n problems
2001-07-05 11:47:37 +00:00
Benedikt Roth
c947474fc2 Fix bug #6202, "'Show Trash' menu item should be greyed when viewing
2001-07-03  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/file-manager/fm-directory-view.c: (real_update_menus):
	Fix bug #6202, "'Show Trash' menu item should be greyed
	when viewing trash"
2001-07-03 11:12:50 +00:00
Chyla Zbigniew
b698f1e072 Corrected typo in my last ChangeLog entry :-) 2001-07-03 08:42:53 +00:00
Chyla Zbigniew
2712f3578f Changed behaviour of view processes, now every process using
* libnautilus/nautilus-view-standard-main.c (struct CallbackData,
delayed_quit_timeout_callback, object_destroyed, make_object,
nautilus_view_standard_main_multi):
Changed behaviour of view processes, now every process using
nautilus_view_standard_main/nautilus_view_standard_main_multi will be
destroyed after 30 seconds of inactivity, not immediately.
2001-07-03 08:39:48 +00:00
Havoc Pennington
8d9cd2e8d1 Don't create a desktop link to Eazel services or open Eazel home page.
2001-06-28  Havoc Pennington  <hp@redhat.com>

	* src/nautilus-first-time-druid.c (druid_finished): Don't create a
	desktop link to Eazel services or open Eazel home page.
2001-07-02 23:54:12 +00:00
Cody Russell
f9895f1347 Added NAUTILUS_VOLUME_PROC and made
nautilus_volume_monitor_should_integrate_trash() return FALSE for this
volume type.  This solves the broken trash can issue on XFS (and probably
other non-ext2) filesystems.
2001-07-02 15:55:02 +00:00
Pablo Saratxaga
4e2fc5fb53 updated Catalan file
added xgettext:no-c-format comments
2001-07-01 17:48:09 +00:00
Ettore Perazzoli
9351c86038 Avoid initializing the exception and getting the URI if we already have a
2001-06-29  Ettore Perazzoli  <ettore@ximian.com>

	* libnautilus-private/nautilus-directory-metafile.c
	(get_metafile): Avoid initializing the exception and getting the
	URI if we already have a CORBA object, as they are not needed in
	that case.
2001-06-30 07:21:53 +00:00
Darin Adler
92e7a68491 Get rid of all the "smarts" in this script and made it just call Nautilus.
* src/run-nautilus: Get rid of all the "smarts" in this
	script and made it just call Nautilus. The things it was
	doing (disable bug buddy, work around MOZILLA_FIVE_HOME
	for Debian users, call nautilus-verify-rpm.sh) are all
	obsolete now.
2001-06-29 18:58:46 +00:00
Darin Adler
ef0e9a3fac Fix minor problem in DB2HTML3 part that was causing trouble for some
* configure.in: Fix minor problem in DB2HTML3 part that was
	causing trouble for some people.
2001-06-29 18:02:55 +00:00
Darin Adler
b3a4eabf01 Don't force a reload if file monitoring will work properly for the
* src/nautilus-window-manage-views.c: (begin_location_change):
	Don't force a reload if file monitoring will work properly
	for the location.

	* components/throbber/Makefile.am:
	* icons/sierra/Makefile.am:
	* icons/tahoe/Makefile.am:
	Remove use of empty SUBDIRS. At least some versions of automake
	have trouble with that.

	* src/file-manager/fm-directory-view.c: Formatting tweak.
2001-06-26 23:51:53 +00:00
Ramiro Estrugo
f6b541b665 Patch from Miguel Rodrguez Prez <migras@atlas.uvigo.es>
* libnautilus-private/nautilus-thumbnails.c (obfuscate_password):
 	New function to look for a password in una uri and change it
 	for 6 asterisks.
 	(make_thumbnail_uri): Call obfuscate_passwd before generating the
 	final uri.
 	This prevents the password to be saved in cleartext in
 	~/.nautilus/thumbnails if the user accesses some remote server.
2001-06-26 01:21:07 +00:00
Ramiro Estrugo
fc147d7f5a Patch from David Sainty <dsainty@redhat.com>.
* configure.in:
	Patch from David Sainty <dsainty@redhat.com>.

	Tidy up the mozilla-component option. Now both
	--enable-mozilla-component and --disable-mozilla component do as
	they should.
2001-06-25 13:43:04 +00:00
Ramiro Estrugo
465178a143 Put the idl files in the main package, not the devel package because the
* nautilus.spec.in:
	Put the idl files in the main package, not the devel package
	because the perl corba bindings can use the .idl files at run
	time.  Thanks to jacob berkman <jacob@ximian.com> for pointing
	this out.
2001-06-18 19:36:28 +00:00
Maciej Stachowiak
32da25043e Fix bug 6801 (FIXME ... strcmp should be nautilus_uris_match).
* components/tree/nautilus-tree-view.c (select_current_location):
	Fix bug 6801 (FIXME ... strcmp should be nautilus_uris_match).
2001-06-17 07:31:18 +00:00
Fatih Demir
632860cfcd CVS ignore files added for gnome-db2html3 2001-06-15 14:31:15 +00:00
Marius Andreiana
54c4ad0245 Added ro (Romanian) translation
2001-06-14  Marius Andreiana  <mandreiana@yahoo.com>

Added ro (Romanian) translation
2001-06-14 13:03:49 +00:00
John Fleck
285d098cfa John Fleck <jfleck@inkstain.net> forgot to add "reviewed by" line to
John Fleck <jfleck@inkstain.net>
forgot to add "reviewed by" line to ChangeLog
2001-06-12 12:36:39 +00:00
John Fleck
3d1e465bc1 components/help/converters/gnome/db2html3/ docbook/Makefile.am to include
2001-06-11 John Fleck <jfleck@inkstain.net>

	* components/help/converters/gnome/db2html3/
	docbook/Makefile.am to include file VERSION in DocBook
	stylesheet
2001-06-12 12:33:52 +00:00
John Fleck
0cecca4ce5 components/help/converters/gnome-db2html3/gnome-customization
2001-06-11 John Fleck <jfleck@inkstain.net>

	* components/help/converters/gnome-db2html3/gnome-customization
	gnome-customization.xsl
	updating path to including docbook stylesheets
2001-06-12 03:57:14 +00:00
Darin Adler
0974316c00 Updated version to 1.0.3.2 for the 1.0.4 candidate build.
* configure.in: Updated version to 1.0.3.2 for the 1.0.4
	candidate build.

	* icons/gnome/Makefile.am: Added missing backslash character.
	Without it, many icons didn't get installed.

	* src/nautilus-application.c: (need_to_show_first_time_druid):
	Fix some code that was building a URL by sticking a file://
	onto the front of a file name. I just changed it to use the
	path directly and do a plain unlink instead of gnome_vfs_unlink.

	* src/nautilus-profiler.c:
	(nautilus_profiler_bonobo_ui_report_callback):
	Use gnome_vfs_get_uri_from_local_path instead of just sticking
	a file:// on the front of a path name.
2001-06-11 16:07:36 +00:00
John Fleck
94a260e96b fix segfault caused by the fact that we were linking to both libxml1 and 2
2001-06-10 John Fleck <jfleck@inkstain.net>

	* components/help/converters/gnome-db2html3/Makefile.am:
	fix segfault caused by the fact that we were linking to both
	libxml1 and 2
2001-06-11 03:21:00 +00:00
Dan Mueth
c280666d9a Updated Nautilus User Manual for 1.0.4.
2001-06-09  Dan Mueth  <d-mueth@uchicago.edu>

        Updated Nautilus User Manual for 1.0.4.

        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-06-09 19:42:21 +00:00
Dan Mueth
8bf6bb8b23 Fixing bug#8327. (Thanks to John Fleck.)
2001-06-09  Dan Mueth  <d-mueth@uchicago.edu>

        Fixing bug#8327.  (Thanks to John Fleck.)

        * help/nautilus-user-manual/es/nautilus-user-manual.sgml:
2001-06-09 18:40:21 +00:00
Laszlo Kovacs
38b33a4772 gnome-db2html3 build environment added 2001-06-08 16:25:28 +00:00
Dan Mueth
f923fc5836 Updating Release Notes to contain new Mozilla version compatibility
2001-06-08  Dan Mueth  <dan@eazel.com>

        Updating Release Notes to contain new Mozilla version
        compatibility information based on Ramiro's updates to the README.

        * help/nautilus-release-notes/C/nautilus-release-notes.sgml:
2001-06-08 15:36:48 +00:00
Ramiro Estrugo
d010d518f6 Update Mozilla for latest Mozilla 0.9.1 release which is the recommended
* README:
	Update Mozilla for latest Mozilla 0.9.1 release which is the
	recommended one from now onwards.
2001-06-08 11:38:48 +00:00
Andy Hertzfeld
5939b39d94 added reference to "i-regular.xml" in the gnome theme make file, to make
added reference to "i-regular.xml" in the gnome theme make file,
	to make embedded text work in the new gnome theme.

	Also, fixed bug where the names of the rightmost tabs cound get cut
	off by tweaking the layout code.
2001-06-08 08:27:40 +00:00
Dan Mueth
61f7362373 Updating Nautilus Release Notes for 1.0.4. Note that we probably still
2001-06-08  Dan Mueth  <d-mueth@uchicago.edu>

        Updating Nautilus Release Notes for 1.0.4.  Note that we
        probably still need to modify the Mozilla compatibility
        section.

        * help/nautilus-release-notes/C/nautilus-release-notes.sgml:
2001-06-08 05:35:39 +00:00
Dan Mueth
7bc1970f2d Updating Nautilus Quick Reference for 1.0.4 release.
2001-06-07  Dan Mueth  <dan@eazel.com>

        Updating Nautilus Quick Reference for 1.0.4 release.

        * help/nautilus-quick-reference/C/index.html:
2001-06-08 03:56:17 +00:00
Darin Adler
8794a29703 Made a list of changes since 1.0.3 to get ready for the 1.0.4 release.
* NEWS: Made a list of changes since 1.0.3 to get ready for
	the 1.0.4 release.
2001-06-06 22:25:25 +00:00
Darin Adler
e7a1ebe3b8 Oops, a few of my changes were still in the editor. More places where we
* components/music/nautilus-music-view.c: (play_current_file):
	* libnautilus-private/nautilus-icon-factory.c: (get_cache_time):
	* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
	Oops, a few of my changes were still in the editor. More places
	where we should follow links.
2001-06-06 22:01:32 +00:00
Darin Adler
dcfc0e1c4b Frederic Devernay <Frederic.Devernay@sophia.inria.fr>
pointed out that the icon factory wasn't following links.
	I found similar problems elsewhere.

	* components/music/nautilus-music-view.c:
	(nautilus_music_view_update):
	* libnautilus-private/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display):
	* libnautilus-private/nautilus-icon-factory.c:
	(path_represents_svg_image):
	* libnautilus-private/nautilus-metafile.c:
	(metafile_read_check_for_directory):
	* libnautilus-private/nautilus-thumbnails.c:
	(first_file_more_recent):
	* src/nautilus-link-set-window.c: (get_link_set_names),
	(nautilus_link_set_configure_window):
	* src/nautilus-property-browser.c: (ensure_uri_is_image):
	Updated all places where we were using the gnome-vfs file info
	calls and not following links.
2001-06-06 19:01:17 +00:00
Seth Nickell
af4dcca083 Added Ben FrantzDale's <bfrantzdale@hmc.edu> revisions of the classic
2001-06-03  Seth Nickell  <snickell@stanford.edu>

	Added Ben FrantzDale's <bfrantzdale@hmc.edu> revisions
	of the classic GNOME theme as well as his slightly revised
	classic icons for mime types (where they replace something
	that wasn't modified since GMC). Basically these add
	drop shadows and some higher resolution versions, as well
	as an attractive sidebar. I've made some alterations to his
	theme to make it sit better with our original and added
	the build stuff.

	* configure.in:
	Update configure.in to add a Makefile for the new sidebar tabs
	directory in the GNOME theme.

	* icons/gnome-application-encapsulated_postscript.png:
	* icons/gnome-application-pdf-192.png:
	* icons/gnome-application-pdf.png:
	* icons/gnome-application-pgp-192.png:
	* icons/gnome-application-pgp.png:
	* icons/gnome-application-postscript-192.png:
	* icons/gnome-application-postscript-72.png:
	* icons/gnome-application-postscript-96.png:
	* icons/gnome-application-postscript.png:
	* icons/gnome-application-x-c-header.png:
	* icons/gnome-application-x-c-source.png:
	* icons/gnome-application-x-cc-source.png:
	* icons/gnome-application-x-e-theme.png:
	* icons/gnome-application-x-generic-spreadsheet.png:
	* icons/gnome-application-x-gnome-app-info.png:
	* icons/gnome-application-x-java-source.png:
	* icons/gnome-application-x-kde-app-info.png:
	* icons/gnome-application-x-php.png:
	* icons/gnome-application-x-reject.png:
	* icons/gnome-application-x-scheme-source.png:
	* icons/gnome-application-x-sql.png:
	* icons/gnome-audio-basic.png:
	* icons/gnome-audio-midi.png:
	* icons/gnome-audio-ulaw.png:
	* icons/gnome-audio-x-aiff.png:
	* icons/gnome-audio-x-mod-192.png:
	* icons/gnome-audio-x-mod.png:
	* icons/gnome-audio-x-mp3-192.png:
	* icons/gnome-audio-x-mp3.png:
	* icons/gnome-audio-x-ogg-192.png:
	* icons/gnome-audio-x-ogg.png:
	* icons/gnome-audio-x-pn-realaudio.png:
	* icons/gnome-audio-x-real-192.png:
	* icons/gnome-audio-x-s3m-192.png:
	* icons/gnome-audio-x-s3m.png:
	* icons/gnome-audio-x-stm-192.png:
	* icons/gnome-audio-x-stm.png:
	* icons/gnome-audio-x-voc.png:
	* icons/gnome-audio-x-wav.png:
	* icons/gnome-audio-x-xi-192.png:
	* icons/gnome-audio-x-xi.png:
	* icons/gnome-audio-x-xm.png:
	* icons/gnome-compressed-192.png:
	* icons/gnome-compressed.png:
	* icons/gnome-core.png:
	* icons/gnome-emacs-192.png:
	* icons/gnome-font-afm.png:
	* icons/gnome-font-ttf.png:
	* icons/gnome-font-x-pcf.png:
	* icons/gnome-http-url.png:
	* icons/gnome-image-bmp.png:
	* icons/gnome-image-generic.png:
	* icons/gnome-image-gif.png:
	* icons/gnome-image-ief.png:
	* icons/gnome-image-jpeg.png:
	* icons/gnome-image-pbm.png:
	* icons/gnome-image-pgm.png:
	* icons/gnome-image-png.png:
	* icons/gnome-image-pnm.png:
	* icons/gnome-image-ppm.png:
	* icons/gnome-image-psd.png:
	* icons/gnome-image-ras.png:
	* icons/gnome-image-rgb.png:
	* icons/gnome-image-tga.png:
	* icons/gnome-image-tiff.png:
	* icons/gnome-image-x-xfig.png:
	* icons/gnome-image-xbm.png:
	* icons/gnome-image-xcf.png:
	* icons/gnome-image-xpm.png:
	* icons/gnome-image-xwd.png:
	* icons/gnome-library.png:
	* icons/gnome-manpage.png:
	* icons/gnome-objectfile.png:
	* icons/gnome-pack-deb.png:
	* icons/gnome-pack-rpm.png:
	* icons/gnome-package.png:
	* icons/gnome-tex-192.png:
	* icons/gnome-tex.png:
	* icons/gnome-text-html-192.png:
	* icons/gnome-text-html.png:
	* icons/gnome-text-x-authors.png:
	* icons/gnome-text-x-copying.png:
	* icons/gnome-text-x-credits.png:
	* icons/gnome-text-x-install.png:
	* icons/gnome-text-x-makefile-192.png:
	* icons/gnome-text-x-makefile.png:
	* icons/gnome-text-x-readme.png:
	* icons/gnome-textfile.png:
	* icons/gnome-video-mpeg.png:
	* icons/gnome-video-quicktime.png:
	* icons/gnome-video-x-msvideo.png:
	* icons/gnome-word-192.png:

	Ben's revisions of classic mime type icons that
	we didn't modify (basically he added alpha blended
	drop shadows), and some high res versions.

	* icons/gnome/Makefile.am:
	* icons/gnome/application-x-e-cfg.png:
	* icons/gnome/audio-192.png:
	* icons/gnome/emblem-nowrite-72.png:
	* icons/gnome/emblem-nowrite-96.png:
	* icons/gnome/emblem-nowrite.png:
	* icons/gnome/gnome.xml:
	* icons/gnome/i-core.png:
	* icons/gnome/i-dirclosed.png:
	* icons/gnome/i-directory-12-aa.png:
	* icons/gnome/i-directory-192-aa.png:
	* icons/gnome/i-directory-20-aa.png:
	* icons/gnome/i-directory-20.png:
	* icons/gnome/i-directory-24-aa.png:
	* icons/gnome/i-directory-36-aa.png:
	* icons/gnome/i-directory-72-aa.png:
	* icons/gnome/i-directory-96-aa.png:
	* icons/gnome/i-directory-aa.png:
	* icons/gnome/i-directory-accept-12-aa.png:
	* icons/gnome/i-directory-accept-12.png:
	* icons/gnome/i-directory-accept-192-aa.png:
	* icons/gnome/i-directory-accept-192.png:
	* icons/gnome/i-directory-accept-20-aa.png:
	* icons/gnome/i-directory-accept-20.png:
	* icons/gnome/i-directory-accept-24-aa.png:
	* icons/gnome/i-directory-accept-24.png:
	* icons/gnome/i-directory-accept-36-aa.png:
	* icons/gnome/i-directory-accept-36.png:
	* icons/gnome/i-directory-accept-72-aa.png:
	* icons/gnome/i-directory-accept-72.png:
	* icons/gnome/i-directory-accept-96-aa.png:
	* icons/gnome/i-directory-accept-96.png:
	* icons/gnome/i-directory-accept-aa.png:
	* icons/gnome/i-directory-accept.png:
	* icons/gnome/i-executable.png:
	* icons/gnome/i-music-192.png:
	* icons/gnome/i-music.png:
	* icons/gnome/i-nfs.png:
	* icons/gnome/i-regular-12.png:
	* icons/gnome/i-regular-192.png:
	* icons/gnome/i-regular-24.png:
	* icons/gnome/i-regular-36.png:
	* icons/gnome/i-regular-72.png:
	* icons/gnome/i-regular-96-aa.png:
	* icons/gnome/i-regular.png:
	* icons/gnome/i-regular.xml:
	* icons/gnome/i-stalled.png:
	* icons/gnome/linux-penguin.png:
	* icons/gnome/rpm-directory.png:
	* icons/gnome/sidebar_tab_pieces/.cvsignore:
	* icons/gnome/sidebar_tab_pieces/Makefile.am:
	* icons/gnome/sidebar_tab_pieces/fill-active-prelight.png:
	* icons/gnome/sidebar_tab_pieces/fill-active.png:
	* icons/gnome/sidebar_tab_pieces/fill-empty-space.png:
	* icons/gnome/sidebar_tab_pieces/fill-prelight.png:
	* icons/gnome/sidebar_tab_pieces/fill.png:
	* icons/gnome/sidebar_tab_pieces/left-bumper-active-prelight.png:
	* icons/gnome/sidebar_tab_pieces/left-bumper-active.png:
	* icons/gnome/sidebar_tab_pieces/left-bumper-prelight.png:
	* icons/gnome/sidebar_tab_pieces/left-bumper.png:
	* icons/gnome/sidebar_tab_pieces/middle-normal-normal.png:
	* icons/gnome/sidebar_tab_pieces/middle-normal-prelight.png:
	* icons/gnome/sidebar_tab_pieces/middle-prelight-normal.png:
	* icons/gnome/sidebar_tab_pieces/right-bumper-prelight.png:
	* icons/gnome/sidebar_tab_pieces/right-bumper.png:
	* icons/gnome/sidebar_tab_pieces/right-empty-space.png:
	* icons/gnome/sidebar_tab_pieces/right-top-active-prelight.png:
	* icons/gnome/sidebar_tab_pieces/right-top-active.png:
	* icons/gnome/sidebar_tab_pieces/right-top-prelight.png:
	* icons/gnome/sidebar_tab_pieces/right-top.png:
	* icons/gnome/theme_preview.png:
	* icons/gnome/throbber/001.png:
	* icons/gnome/throbber/002.png:
	* icons/gnome/throbber/003.png:
	* icons/gnome/throbber/004.png:
	* icons/gnome/throbber/005.png:
	* icons/gnome/throbber/006.png:
	* icons/gnome/throbber/007.png:
	* icons/gnome/throbber/008.png:
	* icons/gnome/throbber/009.png:
	* icons/gnome/throbber/010.png:
	* icons/gnome/throbber/011.png:
	* icons/gnome/throbber/012.png:
	* icons/gnome/throbber/013.png:
	* icons/gnome/throbber/014.png:
	* icons/gnome/throbber/015.png:
	* icons/gnome/throbber/Makefile.am:
	* icons/gnome/throbber/rest.png:
	* icons/gnome/trash-empty-192.png:
	* icons/gnome/trash-empty-accept-192.png:
	* icons/gnome/trash-empty-accept.png:
	* icons/gnome/trash-empty.png:
	* icons/gnome/trash-full-192.png:
	* icons/gnome/trash-full.png:
	* icons/i-cdrom-192.png:
	* icons/i-cdrom.png:
	* icons/i-chardev.png:
	* icons/i-floppy.png:
	* icons/i-printer.png:
	* icons/i-sock.png:
	* icons/i-zip.png:

	Revision of the classic GNOME theme.
2001-06-04 02:26:42 +00:00
Darin Adler
3df1196971 Check the sidebar for NULL in a few more places.
* src/nautilus-window-manage-views.c: (update_for_new_location),
	(handle_view_failure), (nautilus_window_set_sidebar_panels):
	Check the sidebar for NULL in a few more places.
2001-06-02 19:39:16 +00:00
Darin Adler
bf86aa993c Change volume name logic to be simpler. Also fixed some assert problems
* libnautilus-private/nautilus-volume-monitor.c:
        (modify_volume_name_for_display),
        (nautilus_volume_monitor_get_target_uri),
        (mount_volume_make_cdrom_name), (make_volume_name_from_path),
        (mount_volume_make_name), (mount_volume_activate),
        (mount_volume_deactivate), (get_current_mount_list),
        (update_modifed_volume_name), (verify_current_mount_state),
        (nautilus_volume_monitor_set_volume_name),
        (get_iso9660_volume_name), (load_additional_mount_list_info):
        Change volume name logic to be simpler. Also fixed some assert
        problems with the last check-in.
2001-06-02 16:02:51 +00:00
Darin Adler
cbdd5ec061 Started with patch by Caleb "J." Land <bokonon@rochester.rr.com>
and added XFS support so that trash will work on XFS volumes.

	* libnautilus-private/nautilus-volume-monitor.h:
	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_should_integrate_trash),
	(make_volume_name_from_path), (mount_volume_get_name),
	(do_volume_activate), (mount_volume_activate),
	(verify_current_mount_state), (mount_volume_ext2_add),
	(mount_volume_udf_add), (mount_volume_vfat_add),
	(mount_volume_msdos_add), (mount_volume_affs_add),
	(mount_volume_auto_add), (mount_volume_fat_add),
	(mount_volume_hpfs_add), (mount_volume_hsfs_add),
	(mount_volume_minix_add), (mount_volume_proc_add),
	(mount_volume_reiserfs_add), (mount_volume_ufs_add),
	(mount_volume_smb_add), (mount_volume_unsdos_add),
	(mount_volume_xenix_add), (mount_volume_xfs_add),
	(mount_volume_xiafs_add), (copy_volume),
	(load_additional_mount_list_info),
	(mount_volume_prepend_filesystem):
	Added an XFS case and crunched code a bit.

	Rolled in patch by Johan Dahlin <zilch.am@home.se> to install the
	public IDL files in $(datadir)/idl so that non-C programmers can
	use them.

	* libnautilus/Makefile.am: Install the IDL files.

	Also added them to the .spec file.

	* nautilus.spec.in: Install the IDL files as part of nautilus-devel.
2001-06-01 18:06:24 +00:00
Darin Adler
9fe92f8152 Rolled in patch by Juan Pablo Mendoza <pablo_juan@yahoo.com> to
make the file dialog show up in the right position instead of
	showing up in one place and then moving right away.

	* libnautilus-private/nautilus-file-operations.c:
	(create_transfer_dialog): Move gtk_show_widget until after the
	center_dialog_over_window call.
2001-06-01 17:27:48 +00:00
Darin Adler
f5724a701c Fixed mistakes in my MIME type change from yesterday.
* libnautilus-private/nautilus-mime-actions.c:
	(build_joined_string): Correct variable so we build the string
	from all the elements in the list, not just the first element
	repeated over and over again.
	(nautilus_mime_get_short_list_components_for_file): Remove stray
	single-quote character so we build a legal query. The queries were
	all failing due to this typo.

	* src/nautilus-window.c: Spacing tweak.
	* NEWS: Remove lack-of-tinderbox lament.
2001-06-01 16:27:19 +00:00
Darin Adler
cdb4272439 Integrated revised version of patch by zilch.am@home.se to fix
problems typing characters with values > 127 on some systems.

	* libnautilus-private/nautilus-icon-container.c: (match_best_name):
	Cast the result of tolower to a (char) before comparing it with
	another char.
2001-06-01 15:19:58 +00:00
Darin Adler
10daf97aca Integrated patch by limval@yahoo.com to make typing and clicking
faster by sending fewer "selection_changed" signals. This may fix
	bug 5010.

	* libnautilus-private/nautilus-entry.c: (nautilus_entry_key_press),
	(nautilus_entry_motion_notify): Only send the "selection_changed"
	signal when a selection was there to change.
2001-05-31 21:11:15 +00:00
Darin Adler
1e5b42868a Missed a place that required a non-NULL sidebar. Thanks to Miguel
* src/nautilus-window-manage-views.c: (update_title): Missed a
	place that required a non-NULL sidebar. Thanks to Miguel
	Rodriguez Perez <migras@atlas.uvigo.es> for pointing it out.
2001-05-31 20:51:17 +00:00
Darin Adler
0a611ebfb9 Fixed a bug where the MIME type components short list query was
not sorted. This could result in the wrong default component being
	selected, and may be the problem that caused some users to get the
	text component instead of the Mozilla web page component.

	* libnautilus-private/nautilus-mime-actions.c:
	(nautilus_mime_get_default_component_for_file_internal): Update
	since nautilus_do_component_query no longer takes an &ev.
	(nautilus_mime_get_short_list_applications_for_file): Remove
	unused ev variable. Fix problem where the user's added items would
	be added in reverse order.
	(build_joined_string): New helper function.
	(nautilus_mime_get_short_list_components_for_file): Update since
	nautilus_do_component_query no longer takes an &ev. Pass in a
	sorting order to the query so we don't lose the order of the short
	list.
	(nautilus_mime_actions_file_needs_full_file_attributes): Update
	since nautilus_do_component_query no longer takes an &ev.
	(nautilus_mime_get_all_components_for_file): Update since
	nautilus_do_component_query no longer takes an &ev.
	(mime_get_all_components_for_uri_scheme): Update since
	nautilus_do_component_query no longer takes an &ev.
	(nautilus_do_component_query): Update to use its own &ev instead of
	take one passed in. None of the callers were looking at the &ev.

	* libnautilus-private/nautilus-directory-async.c: Bumped the
	number of items per call back up. Now that we've done other bug
	fixes, this makes things faster overall, not slower, although it
	does make the time until the first icon shows up a bit longer.

	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_file):
	Don't monitor the directory item count. If the main view monitors
	it we'll display it. If the main view doesn't, we'll show the old
	"last known" value or nothing. It's better to do less I/O and
	sometimes be wrong than do more I/O to always be right in this
	case.

	* src/nautilus-window.c: (add_sidebar_panel_callback),
	(nautilus_window_initialize), (nautilus_window_constructed),
	(nautilus_window_add_sidebar_panel),
	(update_sidebar_panels_from_preferences),
	(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
	(nautilus_window_sidebar_showing):
	Simplify sidebar logic. Among other things, we no longer create an
	invisible sidebar for the desktop.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(in_single_click_mode): Use "(void)", not "()".

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_did_not_drag): Coding style tweak.
2001-05-31 16:05:45 +00:00
John Fleck
ccda6c63bb John Fleck <jfleck@inkstain.net> finally able to commit ChangeLog entry
John Fleck <jfleck@inkstain.net>
finally able to commit ChangeLog entry for last night's commit of gnome-db2html3
2001-05-31 02:22:10 +00:00
Robin Slomkowski
c8157b6bd6 removed dummy space 2001-05-30 15:34:15 +00:00
Robin Slomkowski
8c9ab4f41d this is pretty wierd I don't see the lock 2001-05-30 15:32:58 +00:00
Darin Adler
af84b033d5 Added a default for the ADD_TO_SESSION preference. This should fix the
* libnautilus-private/nautilus-global-preferences.c: Added a
	default for the ADD_TO_SESSION preference. This should fix the
	problem where some people don't get any session
	management. Miguel's patch removed the code to set this preference
	in the first time druid so we need to default to TRUE.

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_string_attribute_with_default): Used return
	statements to simplify the logic a bit.
2001-05-24 00:52:58 +00:00
John Harper
5bc8afbc19 Fallout from fixing bug 8220 (Having Ctrl as default "modifier key used
2001-05-22  John Harper  <jsh@pixelslut.com>

	Fallout from fixing bug 8220 (Having Ctrl as default "modifier
	key used for default WM shortcuts" breaks everything...):

	* libnautilus-private/nautilus-icon-container.c
	(keyboard_space, keyboard_move_to): changed to use Control
	modifier instead of Alt
2001-05-23 20:52:55 +00:00
Darin Adler
2752e198c8 Fixed problem compiling with new gettext:
* hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for
	compatibility with the new gettext.

	Fixed a problem with the throbber detecting that its X window is
	gone. Based on suggestions from Owen Taylor.

	* libnautilus/nautilus-bonobo-workarounds.h:
	* libnautilus/nautilus-bonobo-workarounds.c:
	(destroy_later_callback), (destroyed_before_timeout_callback),
	(nautilus_bonobo_object_force_destroy_later): Changed to "destroy
	later" instead of "destroy at idle". This makes us less likely to
	experience race conditions.

	* src/nautilus-window.c: (nautilus_window_initialize_class),
	(nautilus_window_unrealize), (nautilus_window_destroy): Moved the
	throbber destruction to unrealize so we destroy the throbber
	before we destroy its X window.

	Starting with patch by Anders Carlsson <andersca@gnu.org>, added
	both prelighting and tracking to the throbber, also making it take
	action on release, not press.

	* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_initialize_class): Add handlers for enter,
	leave, and release.
	(nautilus_throbber_initialize): Set flags so we get enter and
	leave events.
	(select_throbber_image): Ref the image that's returned.
	(draw_throbber_image): Make the image be prelit if the mouse is
	over the throbber but it wasn't clicked, and darkened if the mouse
	is over the throbber and it was clicked.
	(nautilus_throbber_enter_notify_event): Set flag and request
	redraw to prelight.
	(nautilus_throbber_leave_notify_event): Set flag and request
	redraw to un-prelight.
	(nautilus_throbber_button_press_event): Set flag to indicate we
	hit the button in the throbber. Also, respond only to left clicks.
	(nautilus_throbber_button_release_event): Look at flag set in
	press event. Do the work here now instead of at press time since
	we are more like a real button.

	Rolled in change by Miguel Rodrguez Prez <migrax@terra.es> to
	fix volume mounting problems:

	* configure.in: Check for hasmntopt.
	* libnautilus-private/nautilus-volume-monitor.c:
	(get_removable_volumes): Fix typo (HAVE_MNTTENT_H ->
	HAVE_MNTENT_H).

	Integrated patch by Miguel Rodrguez Prez <migrax@terra.es> to
	make Nautilus not try to preview MPEG lists:

	* src/file-manager/fm-icon-view.c:
	(icon_container_preview_callback): Made audio/x-mpegurl another
	exception to the list of audio types we can preview.

	Rolled in change by Dennis Smit <synap@area101.penguin.nl>:

	* THANKS: added more translators that were missing from the
	THANKS file (names from all the .po files in ./po).

	Other updates to THANKS:

	* THANKS: Added Jon K Hellan.
 	* check-THANKS.pl: Fixed logic so you can be credited as both an
	author and translator.

	Other changes:

	* src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix
	typo (storaged -> storage).

	* src/nautilus-shell-ui.xml:
	* src/file-manager/nautilus-directory-view-ui.xml:
	Fixed keybindings entries to use the correct tags as described by
	ui-xml.txt.
2001-05-23 00:03:03 +00:00
Andy Hertzfeld
73e660ca08 made the news panel flash less by defering async updates with a timer
made the news panel flash less by defering async updates with a timer
	task, so ones that fire close together are coalesced.

	* components/news/nautilus-news.c: (do_destroy),
	(rss_logo_callback), (update_timeout_callback),
	(queue_update_size_and_redraw), (rss_read_done_callback),
	(make_remove_widgets), (make_news_view):
2001-05-22 06:32:28 +00:00
Yoann Vandoorselaere
12a810175f Code reviewed by Darin Adler <darin@bentspoon.com>.
2001-05-18  Yoann Vandoorselaere  <yoann@mandrakesoft.com>

	Code reviewed by Darin Adler <darin@bentspoon.com>.

	* src/file-manager/fm-directory-view.c (display_pending_idle_callback):
	return TRUE if real_display_pending_files() return FALSE which mean
	that there is other icon to be drawn (the idle won't be removed until
	the idle callback return FALSE).

	return FALSE if real_display_pending_files() return TRUE, which mean
	all files were drawn.
2001-05-19 11:56:42 +00:00
Jon K Hellan
b0ad5b64ae Code reviewed by Darin Adler <darin@bentspoon.com>
2001-05-18  Jon K Hellan  <hellan@acm.org>

	Code reviewed by Darin Adler <darin@bentspoon.com>

	* components/music/mpg123.h (struct id3v1tag_t): Fix track info.
	(struct id3tag_t): Fix track info. Not tested for v2, but big
	enough for what can be represented in v1.1.

	* components/music/mpg123.c (mpg123_id3v1_to_id3v2): Fix track
	info. Track in id3v1.1 is an 8 bit integer, not a string.
	Track is still unimplemented for id3v2. I did not fix it, as I
	don't have examples to test with.
2001-05-18 18:20:49 +00:00
Yoann Vandoorselaere
ff5e32a03e Code reviewed by Darin Adler <darin@bentspoon.com>, also, thanks for the
2001-05-18  Yoann Vandoorselaere  <yoann@mandrakesoft.com>

	Code reviewed by Darin Adler <darin@bentspoon.com>,
	also, thanks for the help solving this issue.

	* src/file-manager/fm-directory-view.c (g_list_split_off_first_n):
	moved from fm-list-view.c.
	(real_display_pending_files): move the fm-list-view.c function to
	display pending file, but remove the clist sorting code.
	(FILES_TO_PROCESS_AT_ONCE): new constant, appear to be a better name
	than LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE.

	* src/file-manager/fm-list-view.c (LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE):
	removed this constant.
	(fm_list_view_display_pending_files): just sort the list by the clist criteria
	then call the parent function to display_pending_file.
	(g_list_split_off_first_n): removed.

	This should fix the issue where UI response (icon drawing) would take
	a long time because the directory loaded was cached by the kernel.
	We now draw with a fixed maximum number of files at once.

	The list view code was already doing that, so the code was just moved,
	and adaptated for use in directory view, so list view has the same
	behavior as before without any code being duplicated.
2001-05-17 23:40:52 +00:00
Darin Adler
57db5dd3c9 Yoann and I did some more debugging and analysis and we stumbled
over a bug that was responsible for some big slowdowns.

	* libnautilus-private/nautilus-directory-async.c:
	(activation_uri_start): Fixed bug that was causing activation URI
	reads to work strangely.

	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/fm-directory-view.c: (delete_callback),
	(bonobo_control_activate_callback), (fm_directory_view_destroy):
	* src/nautilus-shell-ui.xml:
	* src/nautilus-window.c: (nautilus_window_initialize_class),
	(nautilus_window_realize):
	Rip out keybinding hack and use Bonobo's (undocumented as far as I
	can tell) keybinding machinery instead.

	* libnautilus-private/nautilus-metafile.c: (schedule_next_read):
	Use (void), not ().
2001-05-17 22:28:41 +00:00
Darin Adler
8ec7abba19 Don't require ammonite any more in the default Nautilus RPM. I left the
* configure.in:
	* nautilus.spec.in:
	Don't require ammonite any more in the default Nautilus RPM. I
	left the ability to compile ammonite support in for now. That can
	be removed at any time, but it doesn't hurt anybody.

	* libnautilus-private/nautilus-global-preferences.c: Change default
	web search to use google instead of the defunct Eazel search page.
2001-05-17 18:24:16 +00:00
Darin Adler
49dd7c95c5 Up version to 1.0.3.1 so we don't confuse cvs builds with the release.
* configure.in: Up version to 1.0.3.1 so we don't confuse cvs
	builds with the release.

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_fit_date_as_string): Fix i18n problem by calling
	_() on strings before using.

	* src/file-manager/fm-directory-view.c: (key_press_event_callback),
	(bonobo_control_activate_callback), (fm_directory_view_destroy):
	* src/nautilus-window.c: (nautilus_window_key_press_event):
	Change key press event callbacks to run only after the parent
	class. This makes keys go to the focused text field first, so
	hitting delete while editing a file name doesn't delete the file.
2001-05-17 03:15:19 +00:00
Darin Adler
13b8b8963a Got rid of monitor_file_for_activation, another example of this same loose
* src/file-manager/fm-directory-view.c:
	(fm_directory_view_destroy), (activate_callback),
	(cancel_activate_callback), (fm_directory_view_activate_file),
	Got rid of monitor_file_for_activation, another example of this
	same loose end as last time.

	* src/nautilus-window-manage-views.c:
	(set_to_pending_location_and_selection): There was an overzealous
	assert in here. Looked into why it fired, and fixed it up.
2001-05-16 21:14:53 +00:00
Darin Adler
0e12aea53c Finished up a loose end from when I made the change to
* src/nautilus-window-private.h:
	* src/nautilus-window-manage-views.c: (free_location_change),
	(begin_location_change):
	Finished up a loose end from when I made the change to
	determine_initial_view to not get full attributes. This leftover
	code was causing an extra directory load.

	* THANKS: Added Yoann.
2001-05-16 17:29:50 +00:00
Andy Hertzfeld
5410006c3e at Darin's urging, coalesced the open and closed properties into a single
* src/nautilus-sidebar.c: (notify_current_sidebar_view),
	(nautilus_sidebar_activate_panel),
	(nautilus_sidebar_deactivate_panel):
	at Darin's urging, coalesced the open and closed properties into a
	single one with a value.

	* components/news/nautilus-news.c: (get_bonobo_properties),
	(set_bonobo_properties), (nautilus_news_load_location):
	made it maintain the closed state and made load_location only redraw
	when opened.
2001-05-16 06:27:55 +00:00
Yoann Vandoorselaere
1ec278ea74 Change from 32 item by callback to 10. This is much better for UI response
2001-05-13  Yoann Vandoorselaere  <yoann@mandrakesoft.com>

        * libnautilus-private/nautilus-directory-async.c (DIRECTORY_LOAD_ITEMS_PER_CALLBACK):
        Change from 32 item by callback to 10.
        This is much better for UI response time and will prevent having
        too much latency time when loading the directory.

        * src/file-manager/fm-directory-view.c (DISPLAY_TIMEOUT_INTERVAL_MSECS):
        Change from 700 ms to 100 ms, this is much better for the user
        as he won't see any latency time before drawing start.

        Theses are the better experienced setting for now.
2001-05-14 18:21:27 +00:00
Maciej Stachowiak
ee638b1a55 Integrated patch from Yoann Vandoorselaere
<yoann@mandrakesoft.com>. Yoann found that double-clicking on on a
	directory would wait for all the files to be read in before
	displaying anything, while typing the path in the location bar
	would should proper progressive loading. This checkin solves that
	problem.

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_activate_file): Only call_when_ready on the
	minimum attributes, not full. All the checks in activate_callback
	only depend on the minimum attributes, and do not need the extra
	directory item mime types attribute.
2001-05-13 23:28:34 +00:00
Darin Adler
106bf09a00 Yoann Vandoorselaere <yoann@mandrakesoft.com> discovered that the
code to load a directory was accidentally waiting for all the
	files to be read in before displaying anything. This fixes the two
	problems that caused that, but there are remaining loose ends
	(it's not entirely clear why View As Music is still showing
	properly in the View menu).

	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-directory-async.c:
	(nautilus_directory_call_when_ready_internal): Take a parameter to
	say whether to wait for all the files in the file list, instead of
	deducing it from other parameters.

	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_call_when_ready): Take a parameter to say
	whether to wait for all the files in the file list, instead of
	deducing it from other parameters.
	(nautilus_self_check_directory): Pass TRUE so we wait for the file
	list.

	* libnautilus-private/nautilus-merged-directory.c:
	(merged_call_when_ready): Pass through the new boolean.
	* libnautilus-private/nautilus-trash-file.c:
	(real_call_when_ready): Pass FALSE since there is no file list for
	a single file.
	* libnautilus-private/nautilus-vfs-directory.c:
	(vfs_call_when_ready): Pass through the new boolean.
	* libnautilus-private/nautilus-vfs-file.c:
	(vfs_file_call_when_ready): Pass FALSE since there is no file list
	for a single file.

	* src/nautilus-applicable-views.c:
	(nautilus_determine_initial_view),
	(nautilus_determine_initial_view_cancel): Removed the code to get
	full file attributes after getting the minimum required if
	nautilus_mime_actions_file_needs_full_file_attributes return
	TRUE. We want to make the choice fast, and it's OK if we choose
	poorly as a result. The question is whether this will cause any
	real end-user problems.

	* src/file-manager/fm-directory-view.c:
	(call_when_ready_on_scripts_directory): Pass TRUE so we read the
	entire scripts directory.
	(load_directory): Pass FALSE so we don't wait for all the files to
	be loaded before starting to display them. This is the core of the
	fix.

	* components/tree/nautilus-tree-change-queue.c:
	(nautilus_tree_change_queue_enqueue): A place where we can use
	g_slist_prepend instead of g_slist_append.
	* src/nautilus-complex-search-bar.c:
	(nautilus_complex_search_bar_initialize): A place where we can use
	g_slist_prepend instead of g_slist_append.
2001-05-11 17:46:20 +00:00
John Sullivan
a82f36072d Made the thumbnail mechanism respect the "PUBLIC_METADATA"
preference, so if you change "Make Folder Appearance Details
	Public" to Never (in Speed Tradeoffs at Advanced user level),
	thumbnails will always be created in ~/.nautilus/thumbnails,
	instead of in a .thumbnails subdirectory in each directory.
	Thanks to Michael Rothwell <rothwell@holly-springs.nc.us> for
	the idea and a first pass at the code.

	* libnautilus-private/nautilus-thumbnails.h:
	* libnautilus-private/nautilus-thumbnails.c:
	(uri_is_local):
	New convenience function, calls gnome_vfs_uri_is_local
	(prefer_global_thumbnails_location): New function that
	checks preference value.
	(make_thumbnail_uri): Call preference-checking function.
	(first_file_more_recent),
	(nautilus_thumbnail_has_invalid_thumbnail),
	(nautilus_get_thumbnail_uri),
	(nautilus_update_thumbnail_file_renamed_one),
	(nautilus_update_thumbnail_file_renamed),
	(nautilus_remove_thumbnail_for_file_one),
	(nautilus_remove_thumbnail_for_file): Use uri_is_local () to
	reduce duplicated code; change some parameter names for clarity.
2001-05-11 02:01:16 +00:00
Darin Adler
0067b89956 Changed code that uses g_list_append to use g_list_prepend in all the
* components/help/hyperbola-filefmt.c:
	(prepend_help_dir_if_exists), (fmt_help_populate_tree):
	* components/mozilla/nautilus-mozilla-content-view.c:
	(mozilla_view_create_charset_encoding_submenu),
	(mozilla_new_window_callback),
	(should_uri_navigate_bypass_nautilus),
	(should_mozilla_load_uri_directly):
	* components/music/fileinfo.c: (mpg123_file_info_box):
	* components/music/nautilus-music-view.c:
	(nautilus_music_view_update):
	* components/notes/nautilus-notes.c: (notes_load_metainfo):
	* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_load_images):
	* components/tree/nautilus-tree-node.c:
	(nautilus_tree_node_set_parent):
	* libnautilus-private/nautilus-directory-background.c:
	(nautilus_connect_background_to_file_metadata):
	* libnautilus-private/nautilus-directory.c:
	(nautilus_self_check_directory):
	* libnautilus-private/nautilus-file-changes-queue.c:
	(nautilus_file_changes_consume_changes):
	* libnautilus-private/nautilus-file-dnd.c:
	(nautilus_drag_file_receive_dropped_keyword):
	* libnautilus-private/nautilus-file-operations.c:
	(handle_transfer_ok), (nautilus_file_operations_new_folder):
	* libnautilus-private/nautilus-file.c: (nautilus_self_check_file):
	* libnautilus-private/nautilus-icon-container.c:
	(lay_down_icons_tblr):
	* libnautilus-private/nautilus-mime-actions.c:
	(nautilus_do_component_query):
	* libnautilus-private/nautilus-search-uri.c: (tokenize_uri):
	* libnautilus-private/nautilus-theme.c: (theme_list_prepend),
	(theme_get_themes_for_location), (theme_get_default_themes),
	(nautilus_theme_remove_user_theme):
	* libnautilus-private/nautilus-thumbnails.c:
	(nautilus_get_thumbnail_uri):
	* libnautilus-private/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_initialize), (add_one_volume_trash):
	* libnautilus-private/nautilus-volume-monitor.c:
	(get_removable_volumes), (build_volume_list_delta),
	(get_mount_list), (get_current_mount_list),
	(mount_volume_prepend_filesystem):
	* src/file-manager/fm-directory-view.c: (prepend_uri_one),
	(fm_directory_view_create_links_for_files),
	(fm_directory_view_duplicate_selection):
	* src/file-manager/fm-properties-window.c:
	(property_button_toggled):
	* src/nautilus-window-manage-views.c:
	(determined_initial_view_callback):
	Changed code that uses g_list_append to use g_list_prepend in all
	the cases where it was simple enough.
2001-05-11 01:30:33 +00:00
Darin Adler
3ac90beaf7 Integrated a patch from peter@ximian.com to move the
MOZILLA_FIVE_HOME-setting code from the main Nautilus program
	(where it does no good) to the Mozilla component (which is a nicer
	place for it anyway).

	While integrating the patch I made some other small cleanups to
	the Mozilla component and the patch itself. I removed the code to
	set up LD_LIBRARY_PATH, since it's not needed, and changed the name
	of some things and simplified others.

	* components/mozilla/Makefile.am: Define PREFIX.
	* components/mozilla/main.c: (is_good_mozilla_path),
	(get_mozilla_path), (set_up_MOZILLA_FIVE_HOME), (main): Add the
	new code to set up MOZILLA_FIVE_HOME.

	* src/nautilus-application.c: (finish_startup): Remove the code
	from the old place.

	* check-THANKS.pl: Updated.
2001-05-10 22:58:34 +00:00
Darin Adler
5642c503ff Added dummy members so we have no illegal empty structures.
* libnautilus-private/nautilus-metafile-factory.c:
	* libnautilus-private/nautilus-vfs-directory.c:
	* libnautilus-private/nautilus-vfs-file.c:
	Added dummy members so we have no illegal empty structures.

	* src/nautilus-sidebar-title.c: (update_emblems): Get rid of some
	dead code.
2001-05-09 21:51:19 +00:00
Darin Adler
d85d9342cf Updated required versions of packages.
* README: Updated required versions of packages.
2001-05-09 21:10:28 +00:00
Darin Adler
dd059b932f Started with patch by Yoann Vandoorselaere
<yoann@mandrakesoft.com> to not re-open /proc/mounts each time,
	but to simply rewind it instead. The patch had a lot of problems
	on Solaris and when HAVE_CDDA is true, but I reworked it so it
	should be OK.

	* libnautilus-private/nautilus-volume-monitor.c: (get_mount_list),
	(get_current_mount_list): Use rewind.
2001-05-09 01:32:23 +00:00
Darin Adler
91f928aa7e Integrated a fixed version of Gene's patch to compile under
FreeBSD.

	* libnautilus-private/nautilus-volume-monitor.c:
	(has_removable_mntent_options), (get_removable_volumes),
	(volume_is_removable), (volume_is_read_only),
	(nautilus_volume_monitor_mount_unmount_removable),
	(nautilus_volume_monitor_get_mount_name_for_display): Added more
	ifdefs all over the place. This could be done more elegantly some
	day.
2001-05-09 00:42:16 +00:00
Darin Adler
6364c8c095 Integrated patch by Yoann Vandoorselaere <yoann@mandrakesoft.com>
to fix a problem where we would try to get metadata for all files
	in the home directory if it was set to be used as the desktop
	directory.

	* libnautilus-private/nautilus-file-utilities.h:
	* libnautilus-private/nautilus-file-utilities.c:
	(nautilus_get_desktop_directory): Changed this to not bother with
	the call to create the directory when the home directory is used
	as the desktop.
	(nautilus_get_gmc_desktop_directory): New function.

	* libnautilus-private/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_for_file): Use
	nautilus_get_gmc_desktop_directory for the check when deciding to
	look for old-fashioned gmc metadata.
2001-05-09 00:22:34 +00:00
Ramiro Estrugo
72b888f2e2 Remove some Mozilla Milestone cruft. Make the Mozilla component build with
* components/mozilla/Makefile.am:
	* configure.in:
	* README:
	Remove some Mozilla Milestone cruft.  Make the Mozilla component
	build with the newly released Mozilla 0.9.  Update the README with
	the latest Mozilla 0.9 support.
2001-05-08 08:48:26 +00:00
John Sullivan
48df98602d reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 8122 (Folders opened from the desktop should not
	reuse frontmost window). The previous behavior was intended to
	match the behavior of web browsers, but user feedback made it
	clear that it was confusing and annoying people too much.

	* src/nautilus-window-manage-views.c:
	(get_topmost_nautilus_window_in_current_workspace_and_area):
	Removed this no-longer-needed function.
	(open_location): Always create a new window in the desktop case.
2001-05-07 21:33:03 +00:00
Darin Adler
3646403e78 reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 8251 (Mozilla component crashes every time I try to view a
	web page) by putting the same logic for locating Mozilla that is
	used by galeon into Nautilus.

	* src/nautilus-application.c: (is_mozilla_path_good),
	(get_mozilla_path), (find_mozilla): Code to find Mozilla and set
	up some environment variables that matches the code in galeon's
	startup script.
	(finish_startup): New function for initialization code that should
	be done only in the main Nautilus, not in clients that are going
	to contact the main Nautilus. More initialization should be moved
	in here over time. Calls find_mozilla among other things.
	(nautilus_application_startup): Moved the sound initialization and
	the code to migrate desktop directory contents inside the new
	initialization function.
2001-05-07 18:29:54 +00:00
Robin Slomkowski
2e50f9a9d2 changed "arlo/i-directory-aa.png" to "crux_eggplant/i-directory-aa.png" as
* src/nautilus-first-time-druid.c: (make_title_page_icon_box):
	changed "arlo/i-directory-aa.png" to "crux_eggplant/i-directory-aa.png"
	as the arlo directory has become depreciated.
2001-05-07 17:05:55 +00:00
Jonathan Blandford
62c02ef4fe patch reviewed by _vicious_
Fri May  4 19:12:55 2001  Jonathan Blandford  <jrb@webwynk.net>

	* src/file-manager/fm-icon-view.c
	(icon_container_preview_callback): Possibly play the file if it's
	an ogg.

	* src/file-manager/fm-icon-view.c (play_file): Check for ogg
	file.
2001-05-04 23:13:54 +00:00
Darin Adler
6ba9da9a37 Removed this obsolete file
* nautilus-installer.spec.in: Removed this obsolete file
2001-05-04 18:15:35 +00:00
Darin Adler
3dc9221605 Add an entry for Bart. Update switches (one was wrong for Nautilus style).
* THANKS: Add an entry for Bart.
	* indent.sh: Update switches (one was wrong for Nautilus style).
2001-05-04 17:44:11 +00:00
Darin Adler
98907cf123 Update for name change.
* libnautilus-private/.cvsignore: Update for name change.
2001-05-04 17:36:07 +00:00
Darin Adler
e9ec65cc8c Fix mistake where we put quotes around GNOME_VFS_MIME_TYPE_UNKNOWN. Use
* libnautilus-private/nautilus-mime-actions.c:
	(is_known_mime_type): Fix mistake where we put quotes
	around GNOME_VFS_MIME_TYPE_UNKNOWN. Use g_strcasecmp.
	(nautilus_mime_get_default_action_type_for_file),
	(application_supports_uri_scheme): Use g_strcasecmp.
2001-05-04 17:11:23 +00:00
Robin Slomkowski
9567da1b0f upped version required of eel to 1.0 and librsvg to 1.0.0
* configure.in: upped version required of eel to 1.0 and
	  librsvg to 1.0.0
2001-05-04 16:40:51 +00:00
Robin Slomkowski
53dba9461a upped versions required, medusa >= 0.5.1 ammonite >= 1.0.2, gnome-vfs >=
* configure.in: upped versions required, medusa >= 0.5.1
	  ammonite >= 1.0.2, gnome-vfs >= 1.0.1
2001-05-04 14:54:27 +00:00
Robin Slomkowski
6192009e36 requires eel 0.1
* configure.in: requires eel 0.1
2001-05-04 14:01:50 +00:00
Ramiro Estrugo
ec24d4a849 Make the ChangeLog reflect reality. I had to checkin the rest of the stuff
in pieces because CVS kept getting fucked and spewing stuff like "Broken Pipe"
and "Protocol Error."
2001-05-04 10:23:35 +00:00
Ramiro Estrugo
921f6c187c Moved to Eel.
* libnautilus-private/nautilus-dateedit-extensions.c:
	* libnautilus-private/nautilus-dateedit-extensions.h:
	* libnautilus-private/nautilus-generous-bin.c:
	* libnautilus-private/nautilus-generous-bin.h:
	* libnautilus-private/nautilus-gconf-extensions.c:
	* libnautilus-private/nautilus-gconf-extensions.h:
	* libnautilus-private/nautilus-preferences-box.c:
	* libnautilus-private/nautilus-preferences-box.h:
	* libnautilus-private/nautilus-preferences-group.c:
	* libnautilus-private/nautilus-preferences-group.h:
	* libnautilus-private/nautilus-preferences-item.c:
	* libnautilus-private/nautilus-preferences-item.h:
	* libnautilus-private/nautilus-preferences-pane.c:
	* libnautilus-private/nautilus-preferences-pane.h:
	* libnautilus-private/nautilus-preferences.c:
	* libnautilus-private/nautilus-preferences.h:
	Moved to Eel.
2001-05-04 10:16:51 +00:00
Ramiro Estrugo
30e182f26e Change the BuildRequires entries for eel and librsvg to be eel-devel and
* nautilus.spec.in:
	Change the BuildRequires entries for eel and librsvg to be
	eel-devel and librsvg-devel.
2001-05-04 10:15:47 +00:00
Ramiro Estrugo
5538736860 No need to set gconf flags here since eel will have already done so.
* configure.in:
	No need to set gconf flags here since eel will have already done so.
2001-05-04 10:15:22 +00:00
Andy Hertzfeld
3c6cc8d032 made the news panel ellipsize long items. I hope this can make it into
* components/news/nautilus-news.c: (ellipsize_string),
	(extract_items):
	made the news panel ellipsize long items.  I hope this can make it into
	1.0.3, but it's not worth making new rpms unless we have other
	reasons to do so.
2001-05-04 07:22:22 +00:00
Robin Slomkowski
b6fcbae46a upped version to 1.0.3
* configure.in: upped version to 1.0.3
2001-05-04 06:30:28 +00:00
Ramiro Estrugo
0c905754ac Remove libnautilus-extensions -> libnautilus-private entry since its done
* RENAMING:
	Remove libnautilus-extensions -> libnautilus-private entry since
	its done now.
2001-05-04 03:50:47 +00:00
Ramiro Estrugo
fdea327acb Rename libnautilus-extensions to libnautilus-private.
* Makefile.am:
	* applets/launcher/Makefile.am:
	* applets/preferences-applet/Makefile.am:
	* applets/preferences-applet/nautilus-preferences-applet.c:
	* components/adapter/Makefile.am:
	* components/adapter/nautilus-adapter.c:
	* components/hardware/Makefile.am:
	* components/hardware/nautilus-hardware-view.c:
	* components/help/Makefile.am:
	* components/help/hyperbola-main.c:
	* components/help/hyperbola-nav-tree.c:
	* components/history/Makefile.am:
	* components/history/nautilus-history-view.c:
	* components/image-viewer/Makefile.am:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/mozilla/bonobo-extensions.c:
	* components/mozilla/bonobo-extensions.h:
	* components/music/Makefile.am:
	* components/music/main.c:
	* components/music/nautilus-music-view.c:
	* components/news/Makefile.am:
	* components/news/nautilus-news.c:
	* components/notes/Makefile.am:
	* components/notes/nautilus-notes.c:
	* components/text/Makefile.am:
	* components/text/main.c:
	* components/text/nautilus-text-view.c:
	* components/throbber/Makefile.am:
	* components/throbber/main.c:
	* components/throbber/nautilus-throbber.c:
	* components/tree/nautilus-tree-expansion-state.c:
	* components/tree/nautilus-tree-model.c:
	* components/tree/nautilus-tree-node.c:
	* components/tree/nautilus-tree-node.h:
	* components/tree/nautilus-tree-view-dnd.c:
	* components/tree/nautilus-tree-view.c:
	* configure.in:
	* helper-utilities/error-dialog/nautilus-error-dialog.c:
	* libnautilus-extensions/.cvsignore:
	* libnautilus-extensions/Makefile.am:
	* libnautilus-extensions/README:
	* libnautilus-extensions/nautilus-audio-player.c:
	* libnautilus-extensions/nautilus-audio-player.h:
	* libnautilus-extensions/nautilus-bonobo-extensions.c:
	* libnautilus-extensions/nautilus-bonobo-extensions.h:
	* libnautilus-extensions/nautilus-bookmark.c:
	* libnautilus-extensions/nautilus-bookmark.h:
	* libnautilus-extensions/nautilus-cdrom-extensions.h:
	* libnautilus-extensions/nautilus-customization-data.c:
	* libnautilus-extensions/nautilus-customization-data.h:
	* libnautilus-extensions/nautilus-dateedit-extensions.c:
	* libnautilus-extensions/nautilus-dateedit-extensions.h:
	* libnautilus-extensions/nautilus-default-file-icon.c:
	* libnautilus-extensions/nautilus-default-file-icon.h:
	* libnautilus-extensions/nautilus-directory-async.c:
	* libnautilus-extensions/nautilus-directory-background.c:
	* libnautilus-extensions/nautilus-directory-background.h:
	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
	* libnautilus-extensions/nautilus-directory-metafile-monitor.h:
	* libnautilus-extensions/nautilus-directory-metafile.c:
	* libnautilus-extensions/nautilus-directory-metafile.h:
	* libnautilus-extensions/nautilus-directory-notify.h:
	* libnautilus-extensions/nautilus-directory-private.h:
	* libnautilus-extensions/nautilus-directory.c:
	* libnautilus-extensions/nautilus-directory.h:
	* libnautilus-extensions/nautilus-drag-window.c:
	* libnautilus-extensions/nautilus-drag-window.h:
	* libnautilus-extensions/nautilus-druid-page-eazel.c:
	* libnautilus-extensions/nautilus-druid-page-eazel.h:
	* libnautilus-extensions/nautilus-druid.c:
	* libnautilus-extensions/nautilus-druid.h:
	* libnautilus-extensions/nautilus-entry.c:
	* libnautilus-extensions/nautilus-entry.h:
	* libnautilus-extensions/nautilus-file-attributes.h:
	* libnautilus-extensions/nautilus-file-changes-queue.c:
	* libnautilus-extensions/nautilus-file-changes-queue.h:
	* libnautilus-extensions/nautilus-file-dnd.c:
	* libnautilus-extensions/nautilus-file-dnd.h:
	* libnautilus-extensions/nautilus-file-operations-progress.c:
	* libnautilus-extensions/nautilus-file-operations-progress.h:
	* libnautilus-extensions/nautilus-file-operations.c:
	* libnautilus-extensions/nautilus-file-operations.h:
	* libnautilus-extensions/nautilus-file-private.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	* libnautilus-extensions/nautilus-file-utilities.h:
	* libnautilus-extensions/nautilus-file.c:
	* libnautilus-extensions/nautilus-file.h:
	* libnautilus-extensions/nautilus-font-factory.c:
	* libnautilus-extensions/nautilus-font-factory.h:
	* libnautilus-extensions/nautilus-gconf-extensions.c:
	* libnautilus-extensions/nautilus-gconf-extensions.h:
	* libnautilus-extensions/nautilus-generous-bin.c:
	* libnautilus-extensions/nautilus-generous-bin.h:
	* libnautilus-extensions/nautilus-global-preferences.c:
	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-horizontal-splitter.c:
	* libnautilus-extensions/nautilus-horizontal-splitter.h:
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.h:
	* libnautilus-extensions/nautilus-icon-container.c:
	* libnautilus-extensions/nautilus-icon-container.h:
	* libnautilus-extensions/nautilus-icon-dnd.c:
	* libnautilus-extensions/nautilus-icon-dnd.h:
	* libnautilus-extensions/nautilus-icon-factory-private.h:
	* libnautilus-extensions/nautilus-icon-factory.c:
	* libnautilus-extensions/nautilus-icon-factory.h:
	* libnautilus-extensions/nautilus-icon-private.h:
	* libnautilus-extensions/nautilus-icon-text-item.c:
	* libnautilus-extensions/nautilus-icon-text-item.h:
	* libnautilus-extensions/nautilus-iso9660.h:
	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
	* libnautilus-extensions/nautilus-keep-last-vertical-box.h:
	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
	* libnautilus-extensions/nautilus-link-set.c:
	* libnautilus-extensions/nautilus-link-set.h:
	* libnautilus-extensions/nautilus-link.c:
	* libnautilus-extensions/nautilus-link.h:
	* libnautilus-extensions/nautilus-medusa-support.c:
	* libnautilus-extensions/nautilus-medusa-support.h:
	* libnautilus-extensions/nautilus-merged-directory.c:
	* libnautilus-extensions/nautilus-merged-directory.h:
	* libnautilus-extensions/nautilus-metadata.h:
	* libnautilus-extensions/nautilus-metafile-factory.c:
	* libnautilus-extensions/nautilus-metafile-factory.h:
	* libnautilus-extensions/nautilus-metafile-server.idl:
	* libnautilus-extensions/nautilus-metafile.c:
	* libnautilus-extensions/nautilus-metafile.h:
	* libnautilus-extensions/nautilus-mime-actions.c:
	* libnautilus-extensions/nautilus-mime-actions.h:
	* libnautilus-extensions/nautilus-monitor.c:
	* libnautilus-extensions/nautilus-monitor.h:
	* libnautilus-extensions/nautilus-preferences-box.c:
	* libnautilus-extensions/nautilus-preferences-box.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-program-chooser.c:
	* libnautilus-extensions/nautilus-program-chooser.h:
	* libnautilus-extensions/nautilus-program-choosing.c:
	* libnautilus-extensions/nautilus-program-choosing.h:
	* libnautilus-extensions/nautilus-search-uri.c:
	* libnautilus-extensions/nautilus-search-uri.h:
	* libnautilus-extensions/nautilus-sidebar-functions.c:
	* libnautilus-extensions/nautilus-sidebar-functions.h:
	* libnautilus-extensions/nautilus-sound.c:
	* libnautilus-extensions/nautilus-sound.h:
	* libnautilus-extensions/nautilus-theme.c:
	* libnautilus-extensions/nautilus-theme.h:
	* libnautilus-extensions/nautilus-thumbnails-jpeg.c:
	* libnautilus-extensions/nautilus-thumbnails-jpeg.h:
	* libnautilus-extensions/nautilus-thumbnails.c:
	* libnautilus-extensions/nautilus-thumbnails.h:
	* libnautilus-extensions/nautilus-trash-directory.c:
	* libnautilus-extensions/nautilus-trash-directory.h:
	* libnautilus-extensions/nautilus-trash-file.c:
	* libnautilus-extensions/nautilus-trash-file.h:
	* libnautilus-extensions/nautilus-trash-monitor.c:
	* libnautilus-extensions/nautilus-trash-monitor.h:
	* libnautilus-extensions/nautilus-undo-context.c:
	* libnautilus-extensions/nautilus-undo-context.h:
	* libnautilus-extensions/nautilus-undo-manager.c:
	* libnautilus-extensions/nautilus-undo-manager.h:
	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
	* libnautilus-extensions/nautilus-undo-signal-handlers.h:
	* libnautilus-extensions/nautilus-vfs-directory.c:
	* libnautilus-extensions/nautilus-vfs-directory.h:
	* libnautilus-extensions/nautilus-vfs-file.c:
	* libnautilus-extensions/nautilus-vfs-file.h:
	* libnautilus-extensions/nautilus-view-identifier.c:
	* libnautilus-extensions/nautilus-view-identifier.h:
	* libnautilus-extensions/nautilus-volume-monitor.c:
	* libnautilus-extensions/nautilus-volume-monitor.h:
	* libnautilus-private/Makefile.am:
	* libnautilus-private/README:
	* libnautilus-private/nautilus-directory-background.h:
	* libnautilus-private/nautilus-directory-metafile-monitor.c:
	* libnautilus-private/nautilus-directory-metafile-monitor.h:
	* libnautilus-private/nautilus-directory-metafile.c:
	* libnautilus-private/nautilus-directory-notify.h:
	* libnautilus-private/nautilus-druid-page-eazel.c:
	* libnautilus-private/nautilus-entry.c:
	* libnautilus-private/nautilus-file-dnd.h:
	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-icon-factory.h:
	* libnautilus-private/nautilus-metafile-factory.c:
	* libnautilus-private/nautilus-metafile-factory.h:
	* libnautilus-private/nautilus-mime-actions.h:
	* libnautilus-private/nautilus-preferences-box.h:
	* libnautilus-private/nautilus-preferences-group.h:
	* libnautilus-private/nautilus-preferences-item.h:
	* libnautilus-private/nautilus-preferences-pane.h:
	* libnautilus-private/nautilus-undo-signal-handlers.h:
	* libnautilus/nautilus-view.c:
	* nautilus.spec.in:
	* po/POTFILES.in:
	* src/Makefile.am:
	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-error-reporting.c:
	* src/file-manager/fm-error-reporting.h:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	* src/file-manager/fm-properties-window.c:
	* src/file-manager/fm-properties-window.h:
	* src/file-manager/fm-search-list-view.c:
	* src/file-manager/nautilus-indexing-info.c:
	* src/nautilus-about.c:
	* src/nautilus-applicable-views.c:
	* src/nautilus-applicable-views.h:
	* src/nautilus-application.c:
	* src/nautilus-application.h:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-bookmark-list.h:
	* src/nautilus-bookmark-parsing.c:
	* src/nautilus-bookmark-parsing.h:
	* src/nautilus-bookmarks-window.c:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-complex-search-bar.h:
	* src/nautilus-desktop-window.c:
	* src/nautilus-first-time-druid.c:
	* src/nautilus-link-set-window.c:
	* src/nautilus-link-set-window.h:
	* src/nautilus-location-bar.c:
	* src/nautilus-main.c: (main):
	* src/nautilus-navigation-bar.h:
	* src/nautilus-preferences-dialog.c:
	* src/nautilus-preferences-dialog.h:
	* src/nautilus-profiler.h:
	* src/nautilus-property-browser.c:
	* src/nautilus-search-bar-criterion.c:
	* src/nautilus-search-bar-criterion.h:
	* src/nautilus-search-bar.h:
	* src/nautilus-services.c:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar-tabs.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-sidebar-title.h:
	* src/nautilus-sidebar.c:
	* src/nautilus-simple-search-bar.c:
	* src/nautilus-switchable-navigation-bar.c:
	* src/nautilus-switchable-search-bar.c:
	* src/nautilus-theme-selector.c:
	* src/nautilus-view-frame.c:
	* src/nautilus-view-frame.h:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-menus.c:
	* src/nautilus-window-private.h:
	* src/nautilus-window-toolbars.c:
	* src/nautilus-window.c:
	* src/nautilus-window.h:
	* src/nautilus-zoom-control.c:
	* test/Makefile.am:
	* test/test-nautilus-async-activation.c:
	* test/test-nautilus-mime-actions-set.c:
	* test/test-nautilus-mime-actions.c:
	* test/test-nautilus-preferences-change.c:
	* test/test-nautilus-preferences-display.c:
	* test/test-nautilus-smooth-graphics.c:
	* test/test-nautilus-wrap-table.c:
	* test/test.c:
	* test/test.h:
	Rename libnautilus-extensions to libnautilus-private.
2001-05-04 03:12:42 +00:00
Ramiro Estrugo
219e950905 Remove old unused icons.
* icons/arlo/throbber/.cvsignore:
	* icons/arlo/throbber/001.png:
	* icons/arlo/throbber/002.png:
	* icons/arlo/throbber/003.png:
	* icons/arlo/throbber/004.png:
	* icons/arlo/throbber/005.png:
	* icons/arlo/throbber/006.png:
	* icons/arlo/throbber/007.png:
	* icons/arlo/throbber/008.png:
	* icons/arlo/throbber/009.png:
	* icons/arlo/throbber/010.png:
	* icons/arlo/throbber/011.png:
	* icons/arlo/throbber/012.png:
	* icons/arlo/throbber/013.png:
	* icons/arlo/throbber/014.png:
	* icons/arlo/throbber/015.png:
	* icons/arlo/throbber/016.png:
	* icons/arlo/throbber/017.png:
	* icons/arlo/throbber/018.png:
	* icons/arlo/throbber/019.png:
	* icons/arlo/throbber/020.png:
	* icons/arlo/throbber/021.png:
	* icons/arlo/throbber/022.png:
	* icons/arlo/throbber/023.png:
	* icons/arlo/throbber/024.png:
	* icons/arlo/throbber/025.png:
	* icons/arlo/throbber/026.png:
	* icons/arlo/throbber/027.png:
	* icons/arlo/throbber/028.png:
	* icons/arlo/throbber/029.png:
	* icons/arlo/throbber/030.png:
	* icons/arlo/throbber/Makefile.am:
	* icons/arlo/throbber/rest.png:
	Remove old unused icons.
2001-05-04 00:59:52 +00:00
Darin Adler
5d3f327702 Removing this file so that this empty directory will become completely
* cut-n-paste-code/freetype/.cvsignore: Removing this file so that
	this empty directory will become completely empty.

	* cut-n-paste-code/.cvsignore: Tweak.
	* cut-n-paste-code/widgets/.cvsignore: Tweak.
2001-05-04 00:35:03 +00:00
Darin Adler
bd160746bc Fix Nautilus Link support so it works for links that have paths instead of
* libnautilus-extensions/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_for_file): Fix Nautilus Link
	support so it works for links that have paths instead of URIs in
	their custom icon field.
2001-05-04 00:21:30 +00:00
Dan Mueth
1d7395a3f0 Added information about configuration files.
2001-05-03  Dan Mueth  <dan@eazel.com>

        Added information about configuration files.

        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-05-03 23:59:12 +00:00
Andy Hertzfeld
a2f71c41ca fixed a memory trashing bug that Bart found in the news panel.
* components/news/nautilus-news.c: (add_site_from_fields):
	fixed a memory trashing bug that Bart found in the news panel.
2001-05-03 23:16:15 +00:00
John Sullivan
e14487f2b8 reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 8239 ("Zoom In" keyboard shortcut (Control-=) is
	untypable on many non-US keyboards)

	* src/nautilus-shell-ui.xml: Changed Zoom In shortcut to Control-+,
	so the more-mnemonic + appears in the menu.

	* src/nautilus-window.c: (nautilus_window_initialize_class),
	(nautilus_window_key_press_event):
	Make Control-+ and Control-= both activate Zoom In.
2001-05-03 22:41:13 +00:00
Bart Decrem
bb9c3c4b14 logged additional changes to RSS feeds. 2001-05-03 21:26:09 +00:00
Darin Adler
48df591f7c Removed some obsolete name changes. Got rid of one last NTL.
* RENAMING: Removed some obsolete name changes.
	* src/nautilus-property-browser.h: Got rid of one last NTL.
2001-05-03 19:16:09 +00:00
Darin Adler
eea486644b Fixed bug that was preventing custom icons from working in many
cases.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(load_icon_with_embedded_text): Pass in the URI for the custom
	icon.
2001-05-03 18:46:39 +00:00
Bart Decrem
e93b79f4e2 updated changelog to reflect changes to components/news/news_channels.xml 2001-05-03 18:42:22 +00:00
Darin Adler
53d93bf6d2 reviewed by: John Sullivan <sullivan@eazel.com>
More tweaking on keyboard shortcuts for deleting and trashing.

	* src/file-manager/fm-directory-view.c:
	(ALL_NON_LOCK_MODIFIER_KEYS): Don't include MOD2, because it is
	"num lock". Don't include MOD3-5 because I don't know for sure if
	they are lock modifiers or not.
	(trash_or_delete_selected_files), (trash_callback): Separated out
	the Move To Trash command into a non-callback function.
	(delete_selected_files), (delete_callback): Separated out the
	Delete command into a non-callback function.
	(key_press_event_callback): Shift-Delete now means "Delete" if that
	command is turned on. Control-Backspace now means "Move To Trash".
2001-05-03 18:25:58 +00:00
Darin Adler
40a997710d reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 8232 (Trash.gmc and home directory link files made by
	gmc show on Desktop):

	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_should_show): Moved special case for gmc files in
	here.
	(filter_hidden_and_backup_partition_callback): Removed special
	case for gmc files, since it's now in the lower level. Also fixed
	code that was casting a pointer to an int without using
	GPOINTER_TO_INT.

	* src/nautilus-application.c: Fix typo.
2001-05-03 17:55:20 +00:00
Darin Adler
6de9bc5e73 reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 8230 (launchers dragged from panel don't get icons as
	they did in Ximian's Nautilus 1.0.2):

	* libnautilus-extensions/nautilus-link.c:
	(nautilus_link_local_create_from_gnome_entry): Changed to use
	eel_make_uri_from_half_baked_uri so we can handle the kind of
	"URI"s that are in most .desktop files. Also did a lot of code
	cleanup.

	* src/file-manager/fm-desktop-icon-view.c:
	(icon_view_handle_uri_list): Changed to use
	eel_make_uri_from_half_baked_uri so we can handle the kind of
	"URI"s that are passed when dragging from old programs. Also did a
	lot of code cleanup.
2001-05-03 17:33:17 +00:00
Darin Adler
003ab2da6c Fixed bug 8228 (http://www.yahoo.com shows plain document icon,
not HTML icon).

	* src/nautilus-sidebar-title.c: (update_icon): Changed code to
	pass in icon names to nautilus_icon_factory_get_pixbuf_by_name,
	instead of passing icon paths (no reason to do that).
2001-05-03 16:10:56 +00:00
John Fleck
b037873a0f components/help/converters/gnome-db2html2/sect-elements.c improve support
2001-05-03 John Fleck <jfleck@inkstain.net>

	* components/help/converters/gnome-db2html2/sect-elements.c
	improve support for <emphasis> tag to proporly support role="bold"
	and role="strong" attributes with <B> but *no* <EM> tags
2001-05-03 13:19:10 +00:00
Dan Mueth
d3268f45f6 Updating Nautilus Release Notes to mention that anybody who builds or
2001-05-03  Dan Mueth  <dan@eazel.com>

        Updating Nautilus Release Notes to mention that anybody
        who builds or repackages Nautilus should make sure Medusa
        support isn't built in by accident.

        * help/nautilus-release-notes/C/nautilus-release-notes.sgml:
2001-05-03 08:53:29 +00:00
Dan Mueth
b59f6f3b44 Updates to Nautilus User Manual, including two new screenshots.
2001-05-03  Dan Mueth  <dan@eazel.com>

        Updates to Nautilus User Manual, including two new screenshots.

        * help/nautilus-user-manual/C/Makefile.am:
        * help/nautilus-user-manual/C/figures/help_num.png:
        * help/nautilus-user-manual/C/figures/news_num.png:
        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-05-03 08:45:42 +00:00
Chyla Zbigniew
6896044bbc Close fileselector after pressing escape key.
* src/nautilus-theme-selector.c
(install_theme_button_clicked_callback): Close fileselector after
pressing escape key.
2001-05-03 08:41:52 +00:00
Darin Adler
de9a02b7dc Hook up the delete key to move files to trash. Another feature requested
* src/file-manager/fm-directory-view.c:
	(key_press_event_callback), (bonobo_control_activate_callback):
	Hook up the delete key to move files to trash. Another feature
	requested by Miguel.

	* src/file-manager/nautilus-icon-view-ui.xml: Only show the F2 in
	the menu bar, not the right-click menu.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(cache_icon_new), (load_specific_icon), (load_icon_for_scaling),
	(scale_icon), (get_icon_from_cache),
	(nautilus_icon_factory_get_pixbuf_for_icon),
	(load_icon_with_embedded_text): Tried to fix bug 8228, but
	failed. I still want to keep my changes. I'll get back to this
	tomorrow.
2001-05-03 02:30:03 +00:00
Ramiro Estrugo
789d67258c Add ammonite requires dependency.
* nautilus.spec.in:
	Add ammonite requires dependency.
2001-05-03 01:33:23 +00:00
Darin Adler
2c53b6aa13 Added an F2 key equivalent for the Rename command because: 1) we didn't
* src/file-manager/nautilus-icon-view-ui.xml: Added an F2 key
	equivalent for the Rename command because: 1) we didn't have a key
	equivalent here before, 2) F2 is what you use to do this on
	Windows, and 3) Miguel asked me to.
2001-05-02 23:11:09 +00:00
John Sullivan
cbcf47174e Made the dialog explaining how scripts work always show up when you choose
* src/file-manager/fm-directory-view.c:
	(open_scripts_folder_callback), (disconnect_script_handlers):

	Made the dialog explaining how scripts work always show up when
	you choose "Open Scripts Folder", not just the first time.
2001-05-02 22:04:19 +00:00
Darin Adler
d80073bfa7 reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 8200 (News Sidebar panel crash on startup):

	* components/news/nautilus-news.c: (draw_rss_items): Use
	eel_strlen so it works with NULL titles.

	* configure.in:
	* nautilus.spec.in:
	Removed dependency on ghttp. Trilobite needs it, but not Nautilus.
2001-05-02 18:38:55 +00:00
Darin Adler
2dd0fa7db9 Fix bug where most files weren't getting their MIME type icons.
* libnautilus-extensions/nautilus-icon-factory.c:
	(load_icon_given_two_names), (is_generic_icon_name),
	(load_specific_icon): Made the two generic icons lose out if
	there's a MIME type icon. We can't always prefer the MIME type
	icon, since that would break things like the "thumbnail in
	progress" icon.
2001-05-02 16:51:15 +00:00
Darin Adler
5cfabc49a3 Fix bug where icon for Nautilus links were not appearing if they
were icon names rather than complete URIs.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(remove_icon_name_suffix): Separate out this function.
	(get_mime_type_icon_without_suffix): Use the new
	remove_icon_name_suffix function.
	(nautilus_icon_factory_get_icon_for_file): When getting a custom
	icon name from a file, call remove_icon_name_suffix.

	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
	(fm_desktop_icon_view_trash_state_changed_callback),
	(icon_view_handle_uri_list), (update_home_link_and_delete_copies),
	(update_trash_link_and_delete_copies): Leave the ".png" suffixes
	out of the icon names. They never did any good.

	* components/help/help-method.c: (help_uri_to_string): Fix name of
	info2html2 and disallow parameters that start with "-" (for a
	slight bit less security vulnerability).
2001-05-02 16:11:25 +00:00
Ramiro Estrugo
60b832fdfb Lots of improvement. Make dealing with dependency libs/cflags simpler.
* configure.in:
	Lots of improvement.  Make dealing with dependency libs/cflags simpler.

	* applets/launcher/Makefile.am:
	* applets/preferences-applet/Makefile.am:
	* components/adapter/Makefile.am:
	* components/hardware/Makefile.am:
	* components/help/Makefile.am:
	* components/history/Makefile.am:
	* components/image-viewer/Makefile.am:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/mozilla/Makefile.am:
	* components/music/Makefile.am:
	* components/news/Makefile.am:
	* components/notes/Makefile.am:
	* components/sample/Makefile.am:
	* components/text/Makefile.am:
	* components/throbber/Makefile.am:
	* components/tree/Makefile.am:
	* helper-utilities/error-dialog/Makefile.am:
	* icons/arlo/throbber/Makefile.am:
	* icons/crux_eggplant/backgrounds/Makefile.am:
	* icons/crux_eggplant/sidebar_tab_pieces/Makefile.am:
	* icons/crux_eggplant/throbber/Makefile.am:
	* icons/gnome/throbber/Makefile.am:
	* icons/sidebar_tab_pieces/Makefile.am:
	* libnautilus-adapter/Makefile.am:
	* libnautilus-extensions/Makefile.am:
	* libnautilus/Makefile.am:
	* src/Makefile.am:
	* src/file-manager/Makefile.am:
	* test/Makefile.am:
	Eliminate cut-n-paste disease by using dependency macros defined
	in configure.in.
2001-05-02 12:18:48 +00:00
Ramiro Estrugo
eab79a832b Detect whether the invocation of configure failed and print a message
* autogen.sh:
	Detect whether the invocation of configure failed and print a
	message accordingly.  We used to always assume that configure was
	successful and print misleading "now type make to build $PROJECT"
	messages.
2001-05-02 07:12:30 +00:00
Ramiro Estrugo
6e7d921ce8 Use NAUTILUS_VERSION_INSIST from hack-macros instead of
2001-05-01  Ramiro Estrugo  <ramiro@eazel.com>

	    * configure.in:
	    Use NAUTILUS_VERSION_INSIST from hack-macros instead of
	    EAZEL_VERSION_INSIST.

2001-05-01  Ramiro Estrugo  <ramiro@eazel.com>

	    * applets/launcher/Makefile.am:
	    * applets/preferences-applet/Makefile.am:
	    * components/adapter/Makefile.am:
	    * components/hardware/Makefile.am:
	    * components/help/Makefile.am:
	    * components/history/Makefile.am:
	    * components/image-viewer/Makefile.am:
	    * components/loser/content/Makefile.am:
	    * components/loser/sidebar/Makefile.am:
	    * components/mozilla/Makefile.am:
	    * components/music/Makefile.am:
	    * components/notes/Makefile.am:
	    * components/sample/Makefile.am:
	    * components/text/Makefile.am:
	    * components/throbber/Makefile.am:
	    * components/tree/Makefile.am:
	    * configure.in:
	    * libnautilus-extensions/Makefile.am:
	    * libnautilus/Makefile.am:
	    * src/Makefile.am:
	    * src/file-manager/Makefile.am:
	    * test/Makefile.am:
	    Patch from Christopher Lahey <clahey@ximian.com>.
	    Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and
	    EEL_CFLAGS.  Thanks Chris.
2001-05-02 07:07:27 +00:00
Ramiro Estrugo
5bfda19df0 Patch from Christopher Lahey <clahey@ximian.com>. Use EEL_CFLAGS,
* applets/launcher/Makefile.am:
	* applets/preferences-applet/Makefile.am:
	* components/adapter/Makefile.am:
	* components/hardware/Makefile.am:
	* components/help/Makefile.am:
	* components/history/Makefile.am:
	* components/image-viewer/Makefile.am:
	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	* components/mozilla/Makefile.am:
	* components/music/Makefile.am:
	* components/notes/Makefile.am:
	* components/sample/Makefile.am:
	* components/text/Makefile.am:
	* components/throbber/Makefile.am:
	* components/tree/Makefile.am:
	* configure.in:
	* libnautilus-extensions/Makefile.am:
	* libnautilus/Makefile.am:
	* src/Makefile.am:
	* src/file-manager/Makefile.am:
	* test/Makefile.am:
	Patch from Christopher Lahey <clahey@ximian.com>.
	Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and
	EEL_CFLAGS.  Thanks Chris.
2001-05-02 07:01:49 +00:00
Andy Hertzfeld
333d95a1e1 made the titles prelight when appropriate. Also, tweaked the channel gap
* components/news/nautilus-news.c: (draw_rss_title):
	made the titles prelight when appropriate.  Also, tweaked
	the channel gap size.
2001-05-02 06:38:22 +00:00
Ramiro Estrugo
165a1231c4 Simplify the freetype2 detection insanity by using autoconf macro
* configure.in:
	Simplify the freetype2 detection insanity by using autoconf macro
	technology.  The new test should work with both FreeType2 RPMS as
	well as freetype built from source in any prefix.
2001-05-02 04:24:22 +00:00
Dan Mueth
d130b573fb More updates to the User Manual for 1.0.3.
2001-05-01  Dan Mueth  <dan@eazel.com>

        More updates to the User Manual for 1.0.3.

        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-05-02 02:55:45 +00:00
Andy Hertzfeld
4311663349 fixed bug 8216, removing the news panel when loading channels hangs
* components/news/nautilus-news.c: (do_destroy),
	(rss_read_done_callback), (nautilus_news_load_channel),
	(check_for_updates):
	fixed bug 8216, removing the news panel when loading channels hangs
	Nautilus.  Fixed by making sure we don't launch multiple I/O request
	for a single channel.  I suspect there are still some problems lurking,
	but the reported bug is no longer reproducible.
2001-05-02 01:48:12 +00:00
Andy Hertzfeld
feebc194e6 fixed problem where the new flag wasn't being maintained properly after
* components/news/nautilus-news.c: (has_matching_uri),
	(mark_new_items):
	fixed problem where the new flag wasn't being maintained
	properly after updating, since it was using a whole new item
	list.  Fixed by propogating the new flag from the corresponding
	old item.
2001-05-01 23:26:22 +00:00
Darin Adler
d9195bab4c reviewed by: John Sullivan <sullivan@eazel.com>
Some enhancements to icon lookup.

	* libnautilus-extensions/nautilus-icon-factory.h:
	* libnautilus-extensions/nautilus-icon-factory.c:
	(get_mime_type_icon_without_suffix): Function used to strip suffixes
	out so we can have file suffixes in the gnome-vfs icon database, but
	can ignore them and look at all suffixes for the named icon.
	(make_icon_name_from_mime_type): Construct an icon name for types
	that don't specify a particular icon. This allows theme designers
	to make icons for any MIME type.
	(get_icon_name_for_regular_file): Use the new "without suffix" call.
	This requires changing this function to return a strdup'd name.
	(get_icon_name_for_directory), (get_icon_name_for_file): Change to
	return a strdup'd name.
	(make_full_icon_path): Do the file exists check in here (was
	already doing it in some cases) and also call
	gnome_vfs_icon_path_from_filename.
	(get_themed_icon_file_path): Get rid of redundant g_file_exists
	checks and gnome_vfs_icon_path_from_filename call, since both are
	now handled inside make_full_icon_path.
	(nautilus_scalable_icon_get_text_pieces),
	(nautilus_scalable_icon_new_from_text_pieces),
	(nautilus_scalable_icon_unref), (nautilus_scalable_icon_hash),
	(nautilus_scalable_icon_equal): Add MIME type to the scalable
	icons.
	(nautilus_icon_factory_get_icon_for_file): Pass in the MIME type.
	(nautilus_icon_factory_get_emblem_icon_by_name): Pass NULL for
	MIME type.
	(load_pixbuf_svg): Change to pass in boolean for emblem hack since
	we don't always have an icon name.
	(load_icon_from_path): New function, share common code.
	(load_named_icon): New function, share common code.
	(load_specific_icon): Try icon based on MIME type first, then fall
	back on the name specified.
	(nautilus_icon_factory_get_pixbuf_from_name): Pass NULL for MIME
	type.
	(load_icon_with_embedded_text): Pass in the MIME type.

	* src/nautilus-bookmark-list.c: (append_bookmark_node):
	* src/nautilus-bookmark-parsing.c:
	(nautilus_bookmark_new_from_node):
	* libnautilus-extensions/nautilus-bookmark.c:
	(nautilus_bookmark_icon_is_different),
	(nautilus_bookmark_set_icon_to_default):
	Update to deal with MIME types in scalable icons.

	* components/help/hyperbola-filefmt.c:
	(fmt_scrollkeeper_parse_toc_section),
	(fmt_scrollkeeper_parse_doc_toc),
	(fmt_scrollkeeper_parse_document),
	(fmt_scrollkeeper_parse_section), (fmt_scrollkeeper_parse_xml),
	(fmt_scrollkeeper_trim_empty_branches),
	(fmt_scrollkeeper_tree_empty), (fmt_scrollkeeper_populate_tree),
	(remove_leading_and_trailing_white_spaces), (fmt_toplevel_add_doc),
	(get_path_from_node), (has_content), (fmt_toplevel_parse_xml_tree):
	Made more compatible with libxml by not using the content field
	directly and using xmlChildrenNode and xmlRootNode.

	* libnautilus-extensions/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_get): Fixed NautilusDirectory leak.

	* THANKS: Added some more translator credits.
	* check-THANKS.pl: Fixed some email addresses and such.

	* icons/ardmore/.cvsignore:
	* icons/arlo/.cvsignore,
	* icons/arlo/backgrounds/.cvsignore:
	* icons/arlo/sidebar_tab_pieces/.cvsignore:
	* icons/villanova/.cvsignore:
	Removed these again.
2001-05-01 21:21:09 +00:00
Andy Hertzfeld
8528c212e6 fixed bug where it would inadvertently clear the new flag on items after
* components/news/nautilus-news.c: (mark_new_items),
	(empty_message_size_allocate):
	fixed bug where it would inadvertently clear the new flag on items
	after refetching.

	fixed bug 8211, criticals when opening the news panel with no
	selected sites by making sure not to set the wrap width to a
	negative number.

	* components/news/news_channels.xml:
	added some new channels suggested by Joshua K.
2001-05-01 21:11:07 +00:00
Chyla Zbigniew
8661476dd6 Marked two strings for translation.
* components/news/nautilus-news.c: Marked two strings for translation.

* icons/ardmore/.cvsignore, icons/arlo/.cvsignore,
icons/arlo/backgrounds/.cvsignore,
icons/arlo/sidebar_tab_pieces/.cvsignore, icons/villanova/.cvsignore:
New files, ignore Makefile.in and Makefile.
2001-05-01 20:01:42 +00:00
Ramiro Estrugo
bf4553da38 More work on changing parameters for functions that accept and return
* components/news/nautilus-news.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	* src/nautilus-about.c:
	* src/nautilus-sidebar-tabs.c:
	More work on changing parameters for functions that accept and
	return ArtIRect, EelArtIPoint, ArtDRect, EelDimensions to pass by
	value instead of by pointer.
2001-05-01 13:22:36 +00:00
Ramiro Estrugo
735b256fab Make warnings and criticals stop in the debugger to make this beast easier
* components/mozilla/main.c: (main): Make warnings and criticals
	stop in the debugger to make this beast easier to debug.

	* components/mozilla/nautilus-mozilla-content-view.c:
	Use Eel gtk boilerplate and method invocation macros.
2001-05-01 12:28:33 +00:00
Ramiro Estrugo
81124942ae Add Mozilla 0.8.1 blurb.
* README:
	Add Mozilla 0.8.1 blurb.
2001-05-01 11:46:27 +00:00
Dan Mueth
acaea9c0c0 Updates to the header and first section of the User Manual.
2001-05-01  Dan Mueth  <dan@eazel.com>

        Updates to the header and first section of the User Manual.

        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-05-01 07:33:12 +00:00
Ramiro Estrugo
59ea0f1184 Forgot to change arlo to crux_teal in these 3.
* icons/crux_teal/backgrounds/Makefile.am:
	* icons/crux_teal/sidebar_tab_pieces/Makefile.am:
	* icons/crux_teal/throbber/Makefile.am:
	Forgot to change arlo to crux_teal in these 3.
2001-05-01 02:53:52 +00:00
Ramiro Estrugo
95b676fadd Rename the theme directories to match their displayed name.
* configure.in:
	* icons/Makefile.am:
	* nautilus.spec.in:
	Rename the theme directories to match their displayed name.

	* icons/arlo
	* icons/villanova
	* icons/ardmore
	Old theme directory names.

	* icons/crux_teal
	* icons/sierra
	* icons/tahoe
	New theme directory names.
2001-05-01 02:42:14 +00:00
Pavel Cisler
4e3d5567c8 Fix ChangeLog a bit 2001-05-01 02:12:14 +00:00
Pavel Cisler
a9e16f06aa reviewed by: Darin Adler <darin@eazel.com>
2001-04-30  Pavel Cisler  <pavel@eazel.com>

	reviewed by: Darin Adler  <darin@eazel.com>

	Fixed 4964 (Files dragged to Trash from floppy don't
		    appear in Trash Can)
	Fixed 7406 (Trash doesn't work until first restart of Nautilus)
	Fixed 7976 (some files that you can't leave in the Trash just
		    silently go away instead of showing the dialog as
		    they should)

	New trash directories are created lazily, when someone tries to
	delete an item on the respective disk for the first time. The
	problem was that these new trash directories do not get integrated
	into the unified trash directory. Added logic to do that.

	* libnautilus-extensions/nautilus-file-operations.c:
	(nautilus_file_operations_copy_move):

	Before a move to trash operation is started check for any new
	trash directories and integrate them if needed.

	* libnautilus-extensions/nautilus-trash-directory.c:
	(check_trash_created), (check_trash_directory_added_callback),
	(volume_mounted_callback)

	Add calls to allow adding a new physical trash directory to the
	unified trash.

	* libnautilus-extensions/nautilus-trash-directory.h:
	* libnautilus-extensions/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_initialize_class),
	(nautilus_trash_monitor_get),
	* libnautilus-extensions/nautilus-trash-directory.c:
	(nautilus_trash_directory_initialize),
	(nautilus_trash_directory_finish_initializing):

	Rearrange to allow initializing the nautilus trash directory and
	nautilus trash monitor properly, dodging a cyclic dependency.

	* libnautilus-extensions/nautilus-trash-monitor.c:
	* libnautilus-extensions/nautilus-trash-monitor.h:
	(nautilus_trash_monitor_get_trash_directories),
	(add_one_trash_directory_if_needed),
	(nautilus_trash_monitor_add_new_trash_directories):
	Add a new signal to allow clients get notified when a new
	trash directory might get added to the unified trash.
2001-05-01 02:11:14 +00:00
Dan Mueth
38b74892e0 Updating screenshots for Nautilus User Manual for Nautilus 1.0.3.
2001-04-30  Dan Mueth  <dan@eazel.com>

        Updating screenshots for Nautilus User Manual for Nautilus 1.0.3.

        * help/nautilus-user-manual/C/Makefile.am:
        * help/nautilus-user-manual/C/figures/custicon.png:
        * help/nautilus-user-manual/C/figures/custom_icon_num.png:
        * help/nautilus-user-manual/C/figures/full.png:
        * help/nautilus-user-manual/C/figures/home_folder_num.png:
        * help/nautilus-user-manual/C/figures/locationbar_nqr.png:
        * help/nautilus-user-manual/C/figures/locbar.png:
        * help/nautilus-user-manual/C/figures/nautilus_window_full_num.png:
        * help/nautilus-user-manual/C/figures/part-1.png:
        * help/nautilus-user-manual/C/figures/part-2.png:
        * help/nautilus-user-manual/C/figures/part-3.png:
        * help/nautilus-user-manual/C/figures/part.png:
        * help/nautilus-user-manual/C/figures/preferences_menu_num.png:
        * help/nautilus-user-manual/C/figures/prefmenu.png:
        * help/nautilus-user-manual/C/figures/sidebar.png:
        * help/nautilus-user-manual/C/figures/sidebar_num.png:
        * help/nautilus-user-manual/C/figures/xcf/custom_icon_num.xcf:
        * help/nautilus-user-manual/C/figures/xcf/home_folder_num.xcf:
        * help/nautilus-user-manual/C/figures/xcf/nautilus_window_full_num.
        xcf:
        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-05-01 01:11:16 +00:00
Andy Hertzfeld
6d1858851d fixed bug where things wouldn't prelight properly; fixed by not
* components/news/nautilus-news.c: (draw_rss_items),
	(nautilus_news_update_display),
	(nautilus_news_motion_notify_event), (rss_read_done_callback),
	(news_label_new), (make_add_widgets), (set_up_edit_widgets),
	(set_up_configure_widgets):

	fixed bug where things wouldn't prelight properly; fixed by not
	hit-testing channels that aren't visible in motion_notify

	made a bunch of layout changes at Arlo's request, including no
	longer using aa text for widgets.

	* components/news/changed_bullet.png:
	* components/news/nautilus-news-pixmaps.h:
	* components/news/news_bullet.png:
	new images from Arlo
2001-05-01 00:04:38 +00:00
Ramiro Estrugo
fad60f1b47 Add blurb about Nautilus Themes moving to preferences dialog.
* NEWS:
	Add blurb about Nautilus Themes moving to preferences dialog.
2001-04-30 23:05:23 +00:00
Darin Adler
a7e19a3e59 Worked on bug 8206 (xalf problems):
* libnautilus-extensions/nautilus-program-choosing.c:
	(get_xalf_prefix): Don't use xalf unless a NAUTILUS_USE_XALF
	environment variable is defined.

	* NEWS: Updated with the features added since last time I edited
	the NEWS file. Since we are mostly doing bug fixes, there aren't
	too many.
2001-04-30 22:56:55 +00:00
Darin Adler
3590109bd7 Ignore the .junk directory.
* help/nautilus-screenshot-guidelines/C/.cvsignore:
	Ignore the .junk directory.
2001-04-30 22:20:30 +00:00
Darin Adler
2b047e6f12 reviewed by: John Sullivan <sullivan@eazel.com>
Updated for eel changes needed to fix bug 8198 ("New Terminal"
	does not use GNOME default applications):

	* libnautilus-extensions/nautilus-link.c:
	(nautilus_link_local_create_from_gnome_entry): Use the new
	eel_gnome_make_terminal_command instead of the obsolete
	eel_gnome_get_terminal_path.
	* libnautilus-extensions/nautilus-program-choosing.c:
	(nautilus_launch_application_from_command): Let eel do the /bin/sh
	-c trick. Get rid of it from here.
2001-04-30 22:17:36 +00:00
Andy Hertzfeld
db591a9924 added support for "Scripting News" style rss files, which are quite a bit
* components/news/nautilus-news.c: (extract_items),
	(has_matching_uri), (rss_read_error), (extract_rss_title),
	(extract_scripting_news_title), (extract_rss_image),
	(extract_scripting_news_image), (rss_read_done_callback):
	added support for "Scripting News" style rss files, which
	are quite a bit different from standard ones.  Also, restructured
	the rss_read_done routine by breaking it into smaller routines,
	plus other small cleanups.

	* components/news/news_channels.xml:
	added a few more channels
2001-04-30 21:24:05 +00:00
Andy Hertzfeld
1f0667db17 added Eazel, GNOME and CNET news channels
* components/news/news_channels.xml:
	added Eazel, GNOME and CNET news channels
2001-04-30 18:47:07 +00:00
Ramiro Estrugo
1260bbb9a4 Change parameters for functions that accept and return ArtIRect,
* components/news/nautilus-news.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.h:
	* libnautilus-extensions/nautilus-icon-container.c:
	* libnautilus-extensions/nautilus-icon-dnd.c:
	* libnautilus-extensions/nautilus-icon-factory.c:
	* src/file-manager/fm-list-view.c:
	* src/nautilus-about.c:
	* test/test.c:
	Change parameters for functions that accept and return ArtIRect,
	EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of
	by pointer.
2001-04-30 11:39:30 +00:00
Dan Mueth
e3de11277e Updating Nautilus Quick Reference, both content and many new screenshots.
2001-04-30  Dan Mueth  <dan@eazel.com>

        Updating Nautilus Quick Reference, both content and many
        new screenshots.  Removing old screenshots which have been
        replaced.

        * help/nautilus-quick-reference/C/Makefile.am:
        * help/nautilus-quick-reference/C/figures/backgrounds_nqr.png:
        * help/nautilus-quick-reference/C/figures/emblems.png:
        * help/nautilus-quick-reference/C/figures/emblems_nqr.png:
        * help/nautilus-quick-reference/C/figures/full.png:
        * help/nautilus-quick-reference/C/figures/locationbar_nqr.png:
        * help/nautilus-quick-reference/C/figures/locbar.png:
        * help/nautilus-quick-reference/C/figures/menubar.png:
        * help/nautilus-quick-reference/C/figures/menus_nqr.png:
        * help/nautilus-quick-reference/C/figures/music.png:
        * help/nautilus-quick-reference/C/figures/music_nqr.png:
        * help/nautilus-quick-reference/C/figures/nautilus_window_full_nqr.
        png:
        * help/nautilus-quick-reference/C/figures/navbar.png:
        * help/nautilus-quick-reference/C/figures/patterns.png:
        * help/nautilus-quick-reference/C/figures/sidebar.png:
        * help/nautilus-quick-reference/C/figures/sidebar_nqr.png:
        * help/nautilus-quick-reference/C/figures/themes.png:
        * help/nautilus-quick-reference/C/figures/themes_nqr.png:
        * help/nautilus-quick-reference/C/figures/toolbar_nqr.png:
        * help/nautilus-quick-reference/C/figures/xcf/nautilus_window_full_
        nqr.xcf:
        * help/nautilus-quick-reference/C/index.html:
2001-04-30 11:05:11 +00:00
Ramiro Estrugo
f090979940 Add preferences for default manual layout support.
* libnautilus-extensions/nautilus-global-preferences.h:
	Add preferences for default manual layout support.

	* libnautilus-extensions/nautilus-global-preferences.c:
	(default_icon_view_sort_order_or_manual_layout_changed_callback),
	(nautilus_global_preferences_initialize):
	Use different enumerations for icon view and list view default
	sort order since only icon view supports manual layout.  Add
	entries for default manual layout preference.  Add proxy
	preference for both icon view sort order and manual layout so that
	it can be presented to the user as one choice and thus just one
	menu.  This also matches the view menu.

	* libnautilus-extensions/nautilus-preferences-item.c:
	(preferences_item_create_enumeration_list),
	(preferences_item_create_enumeration_menu):
	Add support for separators in string pickers.

	* src/file-manager/fm-icon-view.c:
	(get_default_directory_manual_layout),
	(fm_icon_view_real_get_directory_auto_layout),
	(fm_icon_view_real_set_directory_auto_layout),
	(fm_icon_view_reset_to_defaults),
	(default_use_manual_layout_changed_callback),
	(fm_icon_view_initialize):
	Add support for a default "use manual layout" preference.

	* src/nautilus-preferences-dialog.c:
	Make the default sort order preference use the proxy prefernece
	instead of the real one.
2001-04-30 08:20:18 +00:00
Dan Mueth
2ffbdddee1 Fixing some markup errors.
2001-04-29  Dan Mueth  <dan@eazel.com>

        Fixing some markup errors.

        * help/nautilus-user-manual/ko/nautilus-user-manual.sgml:
2001-04-30 03:04:42 +00:00
Ramiro Estrugo
c6db3fc1c1 Remove the cast, its not needed and it breaks the build. You probably need
* components/help/converters/gnome-info2html2/main.c: (main):
	Remove the cast, its not needed and it breaks the build.  You
	probably need a newer popt if your build breaks without the cast.
2001-04-29 21:13:26 +00:00
Fatih Demir
7b6e66980a Two compile fixes. 2001-04-29 17:26:38 +00:00
Dan Mueth
f2b57b1b94 Small updates to a couple docs.
2001-04-28  Dan Mueth  <dan@eazel.com>

        Small updates to a couple docs.

        * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guideli
        nes.sgml:
        * help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-04-28 07:22:20 +00:00
Andy Hertzfeld
3ce24ce2bf fixed bug 8192, remove button left enabled when all sites are removed, by
* components/news/nautilus-news.c: (nautilus_news_load_channel),
	(update_remove_button), (add_site_from_fields),
	(remove_selected_site), (make_news_view):
	fixed bug 8192, remove button left enabled when all sites are
	removed, by making the button insensitive when necessary.  Also,
	display the site name instead of the url when loading, since it's
	much more understandable.
2001-04-28 04:31:44 +00:00
Darin Adler
1d27a4336d reviewed by: Robin Slomkowski <rslomkow@eazel.com>
Update FAM support so it works fine on systems with and without
	libfam installed. So if you build Nautilus with FAM, then you can
	run it on a system with or without FAM.

	* configure.in:
	* libnautilus-extensions/Makefile.am:
	Remove the FAM_LIBS part.

	* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
	Load the module before the FAMOpen2 call, and get all the function
	pointers.
	(get_event_uri), (process_fam_notifications),
	(nautilus_monitor_file), (nautilus_monitor_directory),
	(nautilus_monitor_cancel): Use the new CALL_FAM macro so we can
	use the function pointers when we call FAM.
2001-04-28 01:51:32 +00:00