Commit graph

2273 commits

Author SHA1 Message Date
Rebecca Schulman 0c8b5b0506 Completed bug 1433, the interface to search by file name and attribute.
2000-08-02  Rebecca Schulman  <rebecka@eazel.com>
	Completed bug 1433, the interface to search by file
	name and attribute.

	* libnautilus-extensions/nautilus-search-uri.c:
	* libnautilus-extensions/nautilus-search-uri.h:
	* libnautilus-extensions/Makefile.am:
	removed the search uri files and placed their functionality
	in the appropriate search bar classes.

	* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
	* libnautilus-extensions/nautilus-search-bar-criterion.h:
	* libnautilus-extensions/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_new_from_values),
	(nautilus_search_bar_criterion_next_new),
	(nautilus_search_bar_criterion_get_location),
	(get_next_default_search_criterion_type),
	(nautilus_search_bar_criterion_show),
	(nautilus_search_bar_criterion_hide), (get_name_location_for),
	(get_content_location_for), (get_file_type_location_for),
	(get_size_location_for), (get_emblem_location_for),
	(get_date_modified_location_for), (get_owner_location_for):
	added ability to turn the criteria state into a text
	explanation for the search uri.  It is slightly circuitous,
	because search uris are not internationalized.


	* libnautilus-extensions/nautilus-string.c:
	* libnautilus-extensions/nautilus-string.h:
	(nautilus_str_strip_trailing_str), (nautilus_self_check_string):
	added new string function used by the search bar criterion code,
	to strip a string off the end of an existing string.

	* src/nautilus-complex-search-bar.c:
	(nautilus_complex_search_bar_initialize),
	(nautilus_complex_search_bar_get_location),
	(attach_criterion_to_search_bar),
	(unattach_criterion_from_search_bar),
	(load_find_them_pixmap_widget), (fewer_options_callback):
	tweaks to make sizing an spacing on the bar better, and
	added search pixmap to the find button.  Moved the find
	them button here from the switchable search bar
	class for appearance reasons.

	* src/nautilus-simple-search-bar.c:
	(nautilus_simple_search_bar_initialize),
	(nautilus_simple_search_bar_set_location),
	(nautilus_simple_search_bar_get_location),
	(nautilus_search_uri_to_simple_search_criteria),
	(nautilus_simple_search_criteria_to_search_uri):
	moved search uri functionality and
	find them button into the simple search bar class for
	apprearance reasons.

	* src/nautilus-switchable-search-bar.c:
	* src/nautilus-switchable-search-bar.h:
	(nautilus_switchable_search_bar_initialize_class),
	(nautilus_switchable_search_bar_initialize),
	(nautilus_switchable_search_bar_set_mode),
	(nautilus_search_uri_to_search_bar_mode),
	(nautilus_search_uri_is_displayable_by_mode), (other_search_mode):
	moved the find them button out of this class.
2000-08-03 02:30:44 +00:00
Darin Adler 4d0d674ddf Finished task 222 "Don't look for metafile for some URIs for
performance reasons."

	* libnautilus-extensions/nautilus-directory-private.h:
	* libnautilus-extensions/nautilus-directory-async.c:
	(cancel_metafile_read), (can_use_public_metafile),
	(metafile_read_done), (metafile_read_failed),
	(metafile_read_start), (nautilus_directory_request_read_metafile),
	(metafile_write_failed), (metafile_write_callback),
	(nautilus_metafile_write_start), (metafile_write):
	Added logic to check if it should use a public metafile for a
	particular directory, respecting the new preference setting.
	Also delete the private metafile after a successful write of
	the public metafile. Finally, do metafile writes completely
	based on the preference, not which metafile was read.

	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_directory_destroy), (construct_private_metafile_uri),
	(nautilus_directory_new), (any_non_metafile_item),
	(nautilus_directory_is_not_empty): Changes to go along with the
	metafile reading/writing changes above.

	* libnautilus-extensions/nautilus-file.c: (nautilus_file_delete):
	Added FIXMEs about async. operations.
2000-08-03 01:04:52 +00:00
Eskil Heyn Olsen 20fda801cc if gnome-vfs-uri-extract-short-name returns NULL, default to
* src/nautilus-window-manage-views.c: (compute_default_title):
	if gnome-vfs-uri-extract-short-name returns NULL, default to
	_("(untitled)") instead of g_assert. (bug#1892)
2000-08-03 00:54:25 +00:00
Seth Nickell ca4a910e31 removed ">>>>" cruft 2000-08-03 00:49:28 +00:00
Seth Nickell f3ce0116eb Make file copies use "another" "4th" etc rather than numbers. Add support
2000-08-02  Seth Nickell  <seth@eazel.com>

	* src/file-manager/dfos-xfer.c: (get_duplicate_lettering),
	(handle_xfer_duplicate), (fs_xfer):
	Make file copies use "another" "4th" etc rather than numbers.
	Add support for creating symbolic links.
2000-08-03 00:48:35 +00:00
Seth Nickell f10903d9aa Add escaping code to the location bar.
2000-08-02  Seth Nickell  <seth@eazel.com>

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_make_uri_from_input):
	Add escaping code to the location bar.
2000-08-03 00:46:09 +00:00
Mike Engber 6d4d325e0b Changed command line options: renamed --manage-destop to --start-desktop,
* src/nautilus-application.c: (nautilus_application_startup),
	(nautilus_application_close_desktop),
	(nautilus_application_close_all_windows):
	* src/nautilus-application.h:
	* src/nautilus-first-time-druid.c: (druid_finished):
	* src/nautilus-main.c: (main):
	* src/nautilus-shell-interface.idl:
	* src/nautilus-shell.c: (nautilus_shell_get_epv),
	(corba_start_desktop), (corba_stop_desktop), (corba_quit):
	Changed command line options: renamed --manage-destop to
	--start-desktop, added --stop-desktop, added --quit. Bug#1847
	2 new corba calls for nautilus shell, one for starting the
	desktop and one for quitting.
2000-08-03 00:31:35 +00:00
John Sullivan d4f4026de5 Fixed bug 1877 (Customize window doesn't come to front if
it's already showing when menu item selected)

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_show): Use nautilus_gtk_window_present
	instead of gtk_widget_show.

	* libnautilus-extensions/nautilus-global-preferences.c:
	(nautilus_global_preferences_show_dialog): Same thing for the
	user-level settings window.
2000-08-02 22:35:11 +00:00
Darin Adler d726812449 Fixed a bug where we did not send out "changed" signals for files that
* libnautilus-extensions/nautilus-file.c: (nautilus_file_changed):
	Fixed a bug where we did not send out "changed" signals for files
	that have no parents (like "/").

	* libnautilus-extensions/nautilus-directory-async.c: (is_needy),
	(select_needy_file): Improved logic so it works more precisely
	for non-parented files.
2000-08-02 22:25:23 +00:00
Gene Z. Ragan 1d671db24c Fixed bug 1866, Turn volume mounting code into an object.
2000-08-02  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 1866, Turn volume mounting code into an object.

	Monitor now emits a signal, volume_mounted, when a mount occurs.

	Removed the old fm-desktop-mounting files and added
	new nautilus-volume-monitor files.

	* libnautilus-extensions/Makefile.am:
	* src/file-manager/Makefile.am:
	Added new files and removed old ones.

	* libnautilus-extensions/nautilus-cdrom-extensions.h:
	New file

	* libnautilus-extensions/nautilus-iso9660.h:
	New file

	* libnautilus-extensions/nautilus-volume-monitor.c:
	New file
	(nautilus_volume_monitor_initialize),
	(nautilus_volume_monitor_initialize_class),
	(nautilus_volume_monitor_destroy), (nautilus_volume_monitor_get),
	(floppy_sort), (fm_desktop_get_removable_volume_list),
	(nautilus_volume_monitor_volume_is_mounted),
	(mount_device_is_mounted), (mount_device_cdrom_set_state),
	(mount_device_floppy_set_state), (mount_device_ext2_set_state),
	(mount_device_set_state), (device_set_state_empty),
	(mount_device_mount), (mount_device_activate_cdrom),
	(mount_device_activate_floppy), (mount_device_activate_ext2),
	(mount_device_activate), (eject_cdrom), (mount_device_deactivate),
	(mount_device_do_nothing), (mount_device_check_change),
	(mount_devices_update_is_mounted), (mount_devices_check_status),
	(check_permissions), (mount_device_floppy_add),
	(mount_device_ext2_add), (cdrom_ioctl_frenzy),
	(mount_device_iso9660_add), (mount_device_add_aliases),
	(add_mount_device), (mntent_is_removable_fs), (mntent_has_option),
	(nautilus_volume_monitor_find_mount_devices),
	(nautilus_volume_monitor_mount_unmount_removable),
	(remove_mount_link), (free_device_info), (get_iso9660_volume_name),
	(get_ext2_volume_name), (get_floppy_volume_name):

	* libnautilus-extensions/nautilus-volume-monitor.h:
	New file

	* src/file-manager/fm-cdrom-extensions.h:
	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_destroy), (fm_desktop_icon_view_initialize),
	(fm_desktop_icon_view_create_background_context_menu_items),
	(fm_desktop_icon_view_trash_state_changed_callback),
	(mount_unmount_removable), (place_home_directory):
	* src/file-manager/fm-desktop-icon-view.h:
	* src/file-manager/fm-desktop-mounting.c:
	* src/file-manager/fm-desktop-mounting.h:
	* src/file-manager/iso9660.h:
	All old files that have been removed from build.
2000-08-02 22:04:26 +00:00
Arlo Rose 9bd742ccff Fixed problems with he above PNG files to stop the runtime errors.
* icons/eazel/Back.png:
        * icons/eazel/Forward.png:
        * icons/eazel/Up.png:
        * icons/eazel/Home.png:
        * icons/eazel/Search.png:
        * icons/eazel/Refresh.png:
        * icons/eazel/Stop.png:
        Fixed problems with he above PNG files to
        stop the runtime errors.
2000-08-02 20:55:48 +00:00
Ramiro Estrugo ee6964ff9e Fix a small bug where a font entry was found in the table, but it wasnt
* librsvg/rsvg-ft.c: (rsvg_ft_intern), (rsvg_ft_font_resolve),
	(rsvg_ft_render_string):

	Fix a small bug where a font entry was found in the table, but it
	wasnt returned.

	Quiet down debug noise.

	* librsvg/test-ft.c: (glyph_render_test), (main):

	Add some options and make affine transformation a simple identity
	to help debug the coordinates of the rendered text.
2000-08-02 19:38:53 +00:00
Darin Adler b93aa290e7 Added HACKING to the files to skip.
* check-FIXME.pl: Added HACKING to the files to skip.

	* components/services/install/idl/trilobite-eazel-install.idl:
	* components/services/install/lib/eazel-install-corba-callback.c:
	(impl_install_failed), (impl_uninstall_failed),
	(eazel_install_callback_query):
	* components/services/install/lib/eazel-install-corba-types.c:
	(corba_packagedatastruct_from_packagedata),
	(packagedata_from_corba_packagedatastruct):
	* components/services/install/lib/eazel-install-corba.c:
	(impl_Eazel_Install_query):
	* components/services/install/lib/eazel-install-protocols.c:
	(eazel_install_fetch_package),
	(eazel_install_fetch_package_which_provides),
	(get_url_for_package), (get_search_url_for_package):
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(eazel_install_do_rpm_transaction_save_report),
	(eazel_install_fetch_rpm_dependencies),
	(eazel_uninstall_upward_traverse),
	(eazel_uninstall_downward_traverse):
	* components/services/install/lib/eazel-install-types.c:
	(packagedata_destroy_foreach):
	* src/file-manager/fm-directory-view.c: (activate_callback):
	* src/nautilus-window.c: (nautilus_window_realize):
	Fixed "FIXME bugzilla.eazel.com ###:" formatting to match what
	check-FIXME.pl looks for. The colon goes after the bug number.
	And it has to be "bugzilla.eazel.com", not "bug".

	* libnautilus-extensions/nautilus-directory-async.c:
	(allow_metafile): Fixed a comment.

	* libnautilus-extensions/nautilus-drag.c:
	(nautilus_drag_can_accept_item):
	Got rid of a fixed FIXME and changed to use
	nautilus_file_is_directory instead of nautilus_file_get_file_type.
2000-08-02 19:26:39 +00:00
John Sullivan 4cf48d832f Finished task 1554 (Need new preference for accessing
metadata remotely)

	* libnautilus-extensions/nautilus-global-preferences.h,
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_create_dialog),
	(global_preferences_register_for_ui): Defined new speed
	tradeoff preference NAUTILUS_PREFERENCES_USE_PUBLIC_METADATA,
	and put it into the preferences dialog. The title is a little
	funky ("Make Directory Appearance Details Public"); hopefully
	we can improve on that eventually.
2000-08-02 18:57:28 +00:00
Valek Frob 7d0814aa48 Updated russian translation. 2000-08-02 17:12:14 +00:00
Andy Hertzfeld b9437ea3c0 new icons from eazel theme from Susan
new icons from eazel theme from Susan
2000-08-02 16:50:36 +00:00
Pablo Saratxaga 299253b431 corrected some syntax errors 2000-08-02 16:22:25 +00:00
Josh Barrow 0ff4daf8d9 *** empty log message *** 2000-08-02 15:07:36 +00:00
Josh Barrow a60e92ba97 Changed to use Arlo's backgrounds
Changed to use Arlo's backgrounds
2000-08-02 15:04:31 +00:00
Ramiro Estrugo 25ed636716 Have only one constructor and feed it whether the radio button group is
* libnautilus-extensions/nautilus-radio-button-group.c:
	(nautilus_radio_button_group_initialize),
	(nautilus_radio_button_group_new),
	(nautilus_radio_button_group_set_entry_pixbuf),
	(nautilus_radio_button_group_set_entry_description_text):
	* libnautilus-extensions/nautilus-radio-button-group.h:

	Have only one constructor and feed it whether the radio button
	group is horizontal or not.

	Changed the login of some assertions on code that is meant for the
	NOT horzontal case.  This should fix the torrent of assertions at
	startup.

	* libnautilus-extensions/nautilus-preferences-item.c:
	(preferences_item_create_enum),
	(preferences_item_create_short_enum):

	Update for radio button group constructor change.

	* src/nautilus-first-time-druid.c: (set_up_user_level_page),
	(set_up_service_signup_page):

	Update for radio button group constructor change.

	* test/test-nautilus-widgets.c: (main), (radio_group_load_it_up),
	(test_radio_group), (test_radio_group_horizontal):

	Add a test for the radio button group horizontal case.
2000-08-02 14:58:17 +00:00
Pavel Cisler fd1bde5e38 Move the desktop icon updating call here from fm_directory_view.c. Since
2000-08-02  Pavel Cisler  <pavel@eazel.com>

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_initialize),
	(fm_desktop_icon_view_trash_state_changed_callback):
	Move the desktop icon updating call here from fm_directory_view.c.
	Since there is only one desktop, we will only try to update the
	Trash icon once this way, rather than once for every open window.
	Hook up the trash trash_state_changed properly.

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_initialize), (compute_menu_item_info),
	(fm_directory_view_trash_state_changed_callback):
	Fix bugzilla 656: Empty Trash menu item is enabled even when Trash
	is empty.
	Hook up to the trash_state_changed signal and trigger a menu update for
	the change.

	* src/file-manager/nautilus-trash-monitor.c:
	* src/file-manager/nautilus-trash-monitor.h:
	(nautilus_trash_monitor_is_empty):
	Forgot to implement this one in my last checkin and it's needed for the
	above call.
2000-08-02 14:48:18 +00:00
Jorge Godoy 226ce2fb55 updated pt_BR translations 2000-08-02 14:47:43 +00:00
Pavel Cisler 21c6cffaaa Bugzilla bug 1400
2000-08-02  Pavel Cisler  <pavel@eazel.com>

	Bugzilla bug 1400

	* libnautilus-extensions/nautilus-directory.c:
	* libnautilus-extensions/nautilus-directory.h:
	(any_non_metafile_item),
	(nautilus_directory_is_not_empty):
	Added a call I needed to check a directory empty state.

	* src/file-manager/Makefile.am:
	* src/file-manager/nautilus-trash-monitor.h:
	* src/file-manager/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_initialize_class),
	(nautilus_trash_files_changed_callback),
	(nautilus_trash_metadata_ready_callback),
	(nautilus_trash_monitor_initialize), (nautilus_trash_monitor_get),
	(nautilus_trash_monitor_shutdown):
	New trash state monitoring class, used to update the Trash icon, etc.

	* src/file-manager/fm-directory-view.c:
	(bonobo_menu_empty_trash_callback), (fm_directory_view_initialize),
	(fm_directory_view_trash_or_delete_selection),
	(trash_state_changed_callback):
	Hook up to the Trash monitor change signal.
	Tweak the callback Gene prepared for me earlier that updates the
	Trash icon to use the new signal.

	* src/file-manager/fm-directory-view.c:
	(finish_loading_uri):
	Tiny tweak - use a cover call instead of emitting a signal directly.
2000-08-02 14:16:08 +00:00
Ali Abdin 8797b6dce9 Bugfix to use 'new_uri_with_extension' instead of just 'new_uri' in some
2000-08-02  Ali Abdin  <aliabdin@aucegypt.edu>
        * components/help/help-method.c:
        (transform_file):
        Bugfix to use 'new_uri_with_extension' instead of just 'new_uri' in
        some places.

        * components/help/converters/gnome-db2html2/sect-elements.c:
        * components/help/converters/gnome-db2html2/gdb3html.h:
        Added a placeholder for the <MENUCHOICE> tag. Also added the
        <GUISUBMENU> tag and made it act just like <GUIMENU> (these two still
        need to be modified to handle the correct behavior).

        * components/help/converters/gnome-db2html2/toc-elements.c:
        (toc_title_start_element):
         Change 'ghelp' to 'help'
2000-08-02 13:52:17 +00:00
Ramiro Estrugo 43e215cf1c Ignore more generated files.
* components/services/install/command-line/.cvsignore:

	Ignore more generated files.
2000-08-02 11:17:54 +00:00
Ramiro Estrugo e690c9332c Add an accessor for the string_list.
* libnautilus-extensions/nautilus-string-picker.c:
	(nautilus_string_picker_set_string_list),
	(nautilus_string_picker_get_string_list):
	* libnautilus-extensions/nautilus-string-picker.h:

	Add an accessor for the string_list.
2000-08-02 11:11:27 +00:00
Andy Hertzfeld 16503a0ac0 made it scale the attach points as necessary
made it scale the attach points as necessary
2000-08-02 08:57:40 +00:00
Andy Hertzfeld cbf4c2dcc1 added attach point attribute to the icon canvas item, and used it to
added attach point attribute to the icon canvas item, and used
	it to derive the emblem positions if present.  Tweaked the
	emblem positions in the xml file.  Cleaned up the attach point
	stuff in the icon factory.
2000-08-02 08:11:46 +00:00
Ramiro Estrugo 7194d8e885 Add mozilla int pref poke function. Add commented proxy pref poke command
* components/mozilla/mozilla-preferences.cpp:
	* components/mozilla/mozilla-preferences.h:
	* components/mozilla/nautilus-mozilla-content-view.c:
	(nautilus_mozilla_content_view_initialize):

	Add mozilla int pref poke function.  Add commented proxy pref poke
	command for comrade diskzero.
2000-08-02 07:47:27 +00:00
Eskil Heyn Olsen fe4f4c5942 Added eazel-revert, should probably change name...
* components/services/install/command-line/Makefile.am:
	Added eazel-revert, should probably change name...

	* components/services/install/command-line/eazel-alt-install-corba.c:
	(done), (main):
	Fixed type in the POPT options and the destruction of the
	eazelinstall object.

	* components/services/install/command-line/eazel-alt-install.c:
	(main):
	Tried to revive it, but dropped it. Probably would be a nice
	feature, as to make a statically linked tool (see bug#1863).

	* components/services/install/command-line/eazel-revert.c:
	(set_parameters_from_command_line), (eazel_preflight_check_signal),
	(eazel_download_progress_signal), (eazel_install_progress_signal),
	(download_failed), (install_failed), (dep_check), (delete_files),
	(done), (get_password_dude), (set_root_client), (main):
	Did the first pass at a cli reversion tool.

	* components/services/install/idl/trilobite-eazel-install.idl:
	Removed some oneway statements and added the revert-transaction
	call.

	* components/services/install/lib/eazel-install-corba.c:
	(impl_Eazel_Install_uninstall_packages),
	(impl_Eazel_Install_revert_transaction), (eazel_install_get_epv):
	* components/services/install/lib/eazel-install-corba-callback.h:
	* components/services/install/lib/eazel-install-corba-callback.c:
	(eazel_install_callback_destroy), (eazel_install_callback_query),
	(eazel_install_callback_revert_transaction):
	Added the revert-transaction hooks.

	* components/services/install/lib/eazel-install-corba-types.c:
	(corba_packagedatastruct_from_packagedata):
	Updated for the changes to trilobite-distro-get-name

	* components/services/install/lib/eazel-install-public.h:
	* components/services/install/lib/eazel-install-object.c:
	(eazel_install_destroy), (eazel_install_install_packages),
	(eazel_install_uninstall_packages),
	(eazel_install_revert_transaction_from_xmlstring):
	install downloads the package list to the tmpdir. Added the code
	to call the revert-transaction in rpm-glue.c

	* components/services/install/lib/eazel-install-protocols.c:
	(http_fetch_remote_file), (get_search_url_for_package):
	First stuff for using lhamels rpmsearch cgi script.

	* components/services/install/lib/eazel-install-rpm-glue.h:
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(ei_get_packages_with_mod_flag), (ei_check_uninst_vs_downgrade),
	(hest), (revert_transaction),
	(eazel_install_do_rpm_transaction_save_report_helper),
	(eazel_install_do_rpm_transaction_save_report),
	(eazel_uninstall_upward_traverse):
	Did bug#1586, 1818, 1820. Hest is a debug function, will go
	away. The rest is code for the revert-transaction.

	* components/services/install/lib/eazel-install-types.c:
	(packagedata_fill_from_rpm_header):
	Read the RPMTAG_SUMMARY instead of RPMTAG_DESCRIPTION.

	* components/services/install/lib/eazel-install-xml-package-list.h:
	* components/services/install/lib/eazel-install-xml-package-list.c:
	(parse_package), (parse_memory_transaction_file),
	(eazel_install_packagedata_to_xml):
	Added code to parse a transaction file (bug#1817). Also some
	sanity checks wrt reading the status fields.

	* components/services/trilobite/libtrilobite/trilobite-core-distribut
	ion.c: (trilobite_get_distribution_name):
	* components/services/trilobite/libtrilobite/trilobite-core-distribut
	ion.h:
	Added a compact version of the distro names.

	* components/services/install/lib/makefile.staticlib.in:
	* nautilus-installer/src/Makefile:
	* nautilus-installer/src/Makefile.am:
	* nautilus-installer/src/installer.c: (installer), (oaf_init),
	(bonobo_init):
	* nautilus-installer/src/link.sh:
	* nautilus-installer/src/main.c: (main):
	* nautilus-installer/src/prescript:
	Updated the installer wrt the changes in libeazelinstall.
2000-08-02 04:31:38 +00:00
Robey Pointer 7c6fcde57e get rid of the last references to libnautilus within services (outside of nautilus-views, where of course they're still needed) 2000-08-02 03:09:40 +00:00
Andy Hertzfeld 3c18bed9f7 lots of work towards task 1741, which is to have emblem attach points
lots of work towards task 1741, which is to have emblem attach points
	optionally associated with an icon, but no payoff quite yet.
2000-08-02 02:03:40 +00:00
Darin Adler a0be119686 Fixed an uninitialized variable problem that caused a crash on boot for
* src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs):
	Fixed an uninitialized variable problem that caused a crash on
	boot for Kai Lahmann (thanks for the help, Kai).

	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_compare_for_sort_internal):
	(nautilus_file_get_string_attribute), Got rid of "real_name"
	and made "name" just do what "real_name" did before. Renamed
	"real_directory" to just "directory".

	* src/file-manager/fm-list-view.h:
	* src/file-manager/fm-list-view-private.h:
	* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
	(fm_list_view_initialize), (fm_list_view_destroy),
	(fm_list_view_compare_rows), (compare_rows_by_name),
	(match_row_name), (select_matching_name_callback),
	(fm_list_nautilus_file_at), (row_get_data_binder),
	(fm_list_get_drag_pixmap), (create_list), (set_up_list),
	(add_to_list), (get_list), (fm_list_view_begin_loading),
	(fm_list_view_set_zoom_level), (fm_list_view_sort_items),
	(get_column_from_attribute), (get_sort_column_from_attribute),
	(install_row_images), (update_icons),
	(fm_list_view_embedded_text_policy_changed),
	(fm_list_view_image_display_policy_changed),
	(get_number_of_columns), (get_link_column),
	(get_column_specification), (get_column_titles),
	(get_column_attribute), (get_column_sort_criterion),
	(fm_list_view_column_set), (real_get_number_of_columns),
	(real_get_link_column), (real_get_column_specification):
	* src/file-manager/fm-search-list-view.h:
	* src/file-manager/fm-search-list-view.c:
	(fm_search_list_view_initialize_class),
	(fm_search_list_view_initialize), (real_get_number_of_columns),
	(real_get_link_column), (real_get_column_specification):
	Refactored the list view code so that the search list view
	doesn't have to replicate anything and can just describe the
	differences between it and the non-search list view. I was
	able to get rid of a lot of complexity while doing this.
	Changed to use the new "name" and "directory" instead of the
	old "real_name" and "real_directory" at the same time.

	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_new_from_name), (nautilus_file_get), (destroy),
	(nautilus_file_is_self_owned),
	(nautilus_file_get_parent_uri_as_string),
	(get_file_for_parent_directory), (nautilus_file_rename),
	(nautilus_file_get_gnome_vfs_uri),
	(nautilus_file_get_uri), (nautilus_file_mark_gone),
	(nautilus_file_changed):
	* libnautilus-extensions/nautilus-directory-private.h:
	* libnautilus-extensions/nautilus-directory-async.c:
	(select_needy_file):
	Redid the "self-owning" file handling (for URIs with no parent) so
	that a URI doesn't show up as one of its own children.

	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_directory_is_search_directory):
	Took out "gnome-trash:" which doesn't belong in here. We are doing
	trash at the NautilusDirectory level, not the gnome-vfs level.

	* icons/arlo/backgrounds/.cvsignore: [added]
	* icons/arlo/backgrounds/Makefile.in: [removed]
	Added the missing cvsignore file and got rid of the Makefile.in,
	which should not be in cvs.
2000-08-02 01:42:02 +00:00
Arlo Rose 2d9ab4129d icons/thumbnail_frame.aa.png icons/thumbnail_frame.aa.png Made them a bit
* icons/thumbnail_frame.aa.png
        * icons/thumbnail_frame.aa.png
        Made them a bit lighter.
2000-08-02 01:32:46 +00:00
Robin Slomkowski 075d3ab651 added a return signal to run-nautilus 2000-08-02 01:20:20 +00:00
Arlo Rose 41fb826b38 icons/thumbnail_frame.aa.png Made it a bit darker.
* icons/thumbnail_frame.aa.png
        Made it a bit darker.

        * icons/gnome-pack-rpm.png
        Arlo-ized the icon.
2000-08-02 00:24:39 +00:00
Gene Z. Ragan a8b315b888 Fixed bug 1790, want a command to cause-removable media check.
2000-08-01  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 1790, want a command to cause-removable media check.

	Well, here it is.  I am sure Josh will have fun finding bugs.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_destroy),
	(fm_desktop_icon_view_create_background_context_menu_items):
	Added menu item to desktop icon view that lists possible
	mounted volumes and there current mount status.

	* src/file-manager/fm-desktop-mounting.c:
	(floppy_sort),
	(fm_desktop_get_removable_volume_list),
	(fm_desktop_mount_unmount_removable),
	(mount_device_cdrom_set_state), (mount_device_floppy_set_state),
	(mount_device_activate_floppy), (eject_cdrom),
	(mount_device_deactivate), (mount_device_floppy_add),
	(mount_device_ext2_add), (cdrom_ioctl_frenzy),
	(mount_device_iso9660_add), (add_mount_device),
	(mntent_is_removable_fs), (fm_desktop_find_mount_devices):
	Added support for our new exciting mount menu item.
2000-08-01 23:44:19 +00:00
John Sullivan cea83f3f43 Finished task 1781 (Type of search bar should change
immediately when preference changes)

	* src/nautilus-switchable-search-bar.c:
	(nautilus_switchable_search_bar_initialize): register to
	be notified of changes to the search-bar preference.
	(search_bar_preference_changed_callback): React to changes
	to the search-bar preference by calling _set_mode
	(nautilus_switchable_search_bar_initialize_class):
	install destroy handler.
	(nautilus_switchable_search_bar_destroy): Unregister
	search-bar preference callback.
	(nautilus_switchable_search_bar_set_mode): Added a FIXME
	comment about a reported bug.
2000-08-01 23:38:29 +00:00
Mike Engber 2992c09990 Removed "Close Nautilus Desktop" from the desktop's right click menu.
* libnautilus/nautilus-bonobo-ui.h:
	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_create_background_context_menu_items):
	* src/file-manager/fm-directory-view.c:
	(reset_bonobo_trash_delete_menu),
	(fm_directory_view_real_merge_menus):
	* src/file-manager/fm-directory-view.h:
	* src/nautilus-application.c:
	(nautilus_application_close_all_windows):
	* src/nautilus-application.h:
	* src/nautilus-window-menus.c:
	(file_menu_close_all_windows_callback),
	(nautilus_window_initialize_menus):
	Removed "Close Nautilus Desktop" from the desktop's
	right click menu. Removed "Exit" from the File menu.
	Added "Close All Windows" t the File menu. Bug# 1846
2000-08-01 23:22:07 +00:00
John Sullivan 566959a89e Just added a bug number to a FIXME 2000-08-01 21:25:22 +00:00
John Sullivan f14b8249dd Finished task 1552 (Need "never" option for display-embedded-text
preference)
	Finished task 1553 (Need always/local-only/never preference for
			    creating image thumbnails)

	* libnautilus-extensions/nautilus-radio-button-group.h:
	* libnautilus-extensions/nautilus-radio-button-group.c:
	Added "horizontal" field in Details struct.
	(nautilus_radio_button_group_initialize): Initialize
	"horizontal" to FALSE (the default; what you get when
	calling plain "nautilus_radio_button_group_new").
	(nautilus_radio_button_group_new_horizontal): New function,
	used when radio buttons should be laid out in one row; sets
	details->horizontal to TRUE.
	(nautilus_radio_button_group_insert): Lay out the items
	differently depending on value of details->horizontal.
	(nautilus_radio_button_group_set_entry_pixbuf),
	(nautilus_radio_button_group_set_entry_description_text):
	Added g_return_if_fails if details->horizontal is true
	(because the horizontal layout doesn't have a place to
	put an icon or longer description; we could change that
	later if we needed to)

	* libnautilus-extensions/nautilus-preferences-item.h:
	Added new NAUTILUS_PREFERENCE_ITEM_SHORT_ENUM type for
	preferences dialog, to be used when the choices are small
	enough to fit in one row.
	* libnautilus-extensions/nautilus-preferences-item.c:
	(preferences_item_create_short_enum): New function, just like
	preferences_item_create_enum but uses horizontal radio button
	group.
	(preferences_item_construct): Call create_short_enum when
	type is NAUTILUS_PREFERENCE_ITEM_SHORT_ENUM

	* libnautilus-extensions/nautilus-global-preferences.h:
	Took the "REMOTE" out of the name of
	NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS; added
	NAUTILUS_PREFERENCES_SHOW_IMAGE_FILE_THUMBNAILS; added
	NautilusSpeedTradeoffValue enum.
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_create_dialog): Added thumbnails preference
	to Speed Tradeoffs pane.
	(global_preferences_register_speed_tradeoff_with_defaults):
	New convenience function for registering always/local-only/never
	preferences.
	(global_preferences_register_for_ui): Register the embedded text
	and thumbnail-creation speed-tradeoff preferences.

	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_should_get_top_left_text): Respect all three
	states of the embedded-text preference.
	* libnautilus-extensions/nautilus-icon-factory.c:
	(should_display_image_file_as_itself): New function, respects the
	three states of the create-thumbnails preference.
	(nautilus_icon_factory_get_icon_for_file): Check preference
	before creating thumbnails (including image-as-itself case).

	* src/file-manager/fm-directory-view.h:
	New handlers for subclasses to fill in for when embedded-text
	and thumbnail preferences change.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_initialize): Start monitoring embedded-text
	and thumbnail preferences.
	(fm_directory_view_destroy): Stop monitoring preferences.
	(embedded_text_policy_changed_callback),
	(image_display_policy_changed_callback): React when preferences
	change by executing subclass's handler, if any. I also put a
	hideous hack in here for kick-starting the embedded-text-reading
	code that otherwise wasn't working in some cases (will fix with
	Darin).
	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_initialize_class): Install handlers for embedded-text
	and thumbnail preference changes.
	(fm_icon_view_embedded_text_policy_changed),
	(fm_icon_view_image_display_policy_changed): New functions; these
	are said handlers.
	* src/file-manager/fm-list-view.c:
	(fm_list_view_initialize_class): Install handlers for embedded-text
	and thumbnail preference changes.
	(fm_list_view_embedded_text_policy_changed),
	(fm_list_view_image_display_policy_changed): New functions; these
	are said handlers.
2000-08-01 21:21:00 +00:00
Gene Z. Ragan 56fd647884 Fixed a crasher that involved a conflict with the automounter and the user
2000-08-01  Gene Z. Ragan  <gzr@eazel.com>

	* src/file-manager/fm-desktop-mounting.c:
	(fm_desktop_mount_unmount_removable):
	Fixed a crasher that involved a conflict with the automounter
	and the user manually mounting and unmounting.
2000-08-01 19:25:24 +00:00
Gene Z. Ragan c2e50af2f0 More work on the desktop volume mount menu item.
2000-08-01  Gene Z. Ragan  <gzr@eazel.com>

	More work on the desktop volume mount menu item.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_create_background_context_menu_items):
	Work on showing state of current removable mounts
	in context menu item.

	* src/file-manager/fm-desktop-mounting.c:
	* src/file-manager/fm-desktop-mounting.h:
	(fm_desktop_mount_unmount_removable), (mount_device_check_change),
	(mount_devices_update_is_mounted):
	Fine tune mounting and unmounting removable volumes.
2000-08-01 17:57:10 +00:00
Andy Hertzfeld d45dfae031 rewrote stretch_frame_image to stretch the frame properly, by repeating
rewrote stretch_frame_image to stretch the frame properly, by repeating the
	area between the corners, instead of stretching the whole pixmap, which made it
	blurry and uneven. also, correct thumbnail frame dimensions and slightly
	improved fix from my previous check-in.
2000-08-01 07:42:27 +00:00
Andy Hertzfeld 2a2160c1a5 only save and restore the foreground color if we're actually drawing;
only save and restore the foreground color if we're actually
	drawing; otherwise, the gc isn't allocated and we crash.
2000-08-01 05:23:52 +00:00
Darin Adler e02747156c Use RGB value for the label color. Also fix bug where we would not restore
2000-07-31  Darin Adler  <darin@eazel.com>

	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text): Use RGB value for the label color.
	Also fix bug where we would not restore the old foreground color
	value in one case.
	* libnautilus-extensions/nautilus-icon-private.h:
	* libnautilus-extensions/nautilus-icon-container.h:
	* libnautilus-extensions/nautilus-icon-container.c:
	(nautilus_icon_container_initialize),
	(nautilus_icon_container_get_label_color), (update_label_color):
	Use an RGB color instead of allocating one. It's simpler.

	* libnautilus-extensions/nautilus-stock-dialogs.c:
	(timed_wait_free): Fixed backward assert that caused a core dump
	any time you attempted to change an owner or group.
2000-08-01 02:00:05 +00:00
Pavel Cisler d73a1af057 Back out debugging hacks that must have gotten checked in by accident and
2000-07-31  Pavel Cisler  <pavel@eazel.com>

	* libnautilus-extensions/nautilus-directory.c:
	(construct_alternate_metafile_uri):
	Back out debugging hacks that must have gotten checked in
	by accident and would have caused leaks.
2000-08-01 01:57:32 +00:00
Andy Hertzfeld 98030903e3 removed entry for bogus size from the icons/eazel/i-regular.xml and
removed entry for bogus size from the icons/eazel/i-regular.xml
	and tweaked the text rectangles for the various sizes to better
	fit the icons.
2000-08-01 01:54:19 +00:00
Maciej Stachowiak 221bb955e0 Added -m option to run medusa-restart.
* nautilus-clean.sh: Added -m option to run medusa-restart.
2000-08-01 01:50:52 +00:00
Arlo Rose ba818af560 icons/arlo/backgrounds/background_pattern.png Fixed a file name that
* icons/arlo/backgrounds/background_pattern.png
        Fixed a file name that didn't match up with the Makefile.am
2000-08-01 01:49:59 +00:00