1. 29 Aug, 2000 1 commit
    • Mathieu Lacage's avatar
      add news from latest PR1 release. make dnd do real file operations from · 62fdbe1f
      Mathieu Lacage authored
      2000-08-28  Mathieu Lacage  <mathieu@eazel.com>
      
      	* NEWS: add news from latest PR1 release.
      	* components/tree/nautilus-tree-view.c: make dnd do real file operations
      	from tree view to other views. Dnd to tree view depends on the views code
      	which needs to be fixed (related to bug 2353).
      	* libnautilus-extensions/Makefile.am: add nautilus-fils-operations.
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(nautilus_file_operations_progress_update),
      	(nautilus_file_operations_progress_close),
      	(nautilus_file_operations_progress_destroy),
      	(nautilus_file_operations_progress_initialize),
      	(nautilus_file_operations_progress_initialize_class),
      	(nautilus_file_operations_progress_new),
      	(nautilus_file_operations_progress_set_total),
      	(nautilus_file_operations_progress_set_operation_string),
      	(nautilus_file_operations_progress_new_file),
      	(nautilus_file_operations_progress_clear),
      	(nautilus_file_operations_progress_update_sizes),
      	(nautilus_file_operations_progress_freeze),
      	(nautilus_file_operations_progress_thaw): modify API name.
      	* libnautilus-extensions/nautilus-file-operations-progress.h: idem
      	* libnautilus-extensions/nautilus-file-operations.c: idem
      	(xfer_dialog_clicked_callback), (create_xfer_dialog),
      	(progress_dialog_set_files_remaining_text),
      	(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
      	(handle_xfer_vfs_error), (nautilus_file_operations_copy_move),
      	(nautilus_file_operations_new_folder),
      	(nautilus_file_operations_move_to_trash),
      	(nautilus_file_operations_delete),
      	(nautilus_file_operations_empty_trash):
      	* libnautilus-extensions/nautilus-file-operations.h: idem.
      	* src/file-manager/Makefile.am: remove dfos* from compilation.
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_empty_trash_callback),
      	(fm_directory_view_create_links_for_files),
      	(fm_directory_view_duplicate_selection),
      	(fm_directory_view_trash_or_delete_selection),
      	(fm_directory_view_new_folder),
      	(fm_directory_view_move_copy_items): make it call nautilus-file-operations
      	functions.
      62fdbe1f
  2. 26 Aug, 2000 1 commit
    • Rebecca Schulman's avatar
      Fixed bug 2071 to improve the date modified search criterion. Also, an · 1e9fd1e3
      Rebecca Schulman authored
      2000-08-25  Rebecca Schulman  <rebecka@eazel.com>
      
              Fixed bug 2071 to improve the date modified search
      	criterion.  Also, an change to the indexing info dialog
      	because of a change in the medusa search service API
      
      	* libnautilus-extensions/nautilus-dateedit-extensions.c:
      	(nautilus_gnome_date_edit_get_date_as_string):
      	* libnautilus-extensions/nautilus-dateedit-extensions.h:
      	* libnautilus-extensions/Makefile.am:
      	An extra addition to the gnome dateedit widget we need for
      	the modified search criterion
      
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_get_location),
      	(attach_criterion_to_search_bar):
      	* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
      	* libnautilus-extensions/nautilus-search-bar-criterion.c:
      	* libnautilus-extensions/nautilus-search-bar-criterion.h:
      	(nautilus_search_bar_criterion_new_from_values),
      	(nautilus_search_bar_criterion_next_new),
      	(nautilus_search_bar_criterion_get_location),
      	(get_date_modified_location_for):
      	Changed date modified bar to take a date edit widget
      	instead of an entry or menu, and parse the operatory coorectly
      
      
      	* src/file-manager/nautilus-indexing-info.c:
      	(nautilus_indexing_info_show_dialog):
      	Changed because medusa api was updated
      1e9fd1e3
  3. 22 Aug, 2000 3 commits
    • Mathieu Lacage's avatar
      Add rebecka's class for queues. · b84f0168
      Mathieu Lacage authored
      2000-08-22  Mathieu Lacage  <mathieu@eazel.com>
      
      	Add rebecka's class for queues.
      
      	* libnautilus-extensions/Makefile.am: add files.
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	add self-test function for queues
      	* libnautilus-extensions/nautilus-queue.c: (nautilus_queue_new),
      	(nautilus_queue_add), (nautilus_queue_remove),
      	(nautilus_queue_free_deep), (nautilus_queue_is_empty),
      	(nautilus_queue_free), (nautilus_self_check_queue):
      	* libnautilus-extensions/nautilus-queue.h:
      b84f0168
    • Jiri (George) Lebl's avatar
      properly handle gconf error, and init it to NULL first. This will avoid · dc605a30
      Jiri (George) Lebl authored
      Mon Aug 21 23:35:18 2000  George Lebl <jirka@5z.com>
      
      	* components/html/ntl-web-browser.c (main): properly handle
      	  gconf error, and init it to NULL first.  This will avoid
      	  crashes on error.
      
      	* libnautilus-extentions/Makefile.am,
      	  libnautilus-extentions/nautilus-preferences-private.h,
      	  libnautilus-extentions/nautilus-preferences.c:  Add a
      	  nautilus_preferences_handle_error functions for use in
      	  nautilus-preferences and user level manager to handle and reset
      	  GConf exceptions.  The reason a new "private" header was added is
      	  to preserve the gconf encapsulation outside libnautilus-extentions,
      	  plus it's only useful there.
      
      	* libnautilus-extentions/nautilus-preferences.c
      	  (preferences_hash_node_add_callback)
      	  (preferences_hash_node_remove_callback)
      	  (preferences_gconf_callback) (preferences_initialize_if_needed)
      	  (nautilus_preferences_set_boolean) (nautilus_preferences_get_boolean)
      	  (nautilus_preferences_set_string_list)
      	  (nautilus_preferences_get_string_list)
      	  (nautilus_preferences_set_enum) (nautilus_preferences_get_enum)
      	  (nautilus_preferences_set) (nautilus_preferences_get)
      	  libnautilus-extensions/nautilus-user-level-manager.c
      	  (user_level_manager_new) (user_level_manager_ensure_global_manager)
      	  (nautilus_user_level_manager_set_user_level)
      	  (nautilus_user_level_manager_get_user_level_as_string)
      	  (nautilus_user_level_manager_set_default_value_if_needed)
      	  (nautilus_user_level_manager_compare_preference_between_user_levels):
      	  Handle GConf exceptions.  Try to revert to sane behaviour on
      	  errors, such as using defaults.  Remove all the asserts for
      	  conditions that arise from gconf errors.  Fixes bug 672
      dc605a30
    • Darin Adler's avatar
      Finished task 571 (Make a Trash "virtual directory" with trash · 72955895
      Darin Adler authored
      	from all volumes). Some loose ends are already reported in bugs
      	2146, 2243, and 2244.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	Moved all the guts of NautilusTrashDirectory that are solely
      	about having a single directory that's a union of a bunch of
      	real directories into a separate base class. Also finished the
      	implementation, leaving only unimportant loose ends.
      
      	* libnautilus-extensions/nautilus-trash-directory.h:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(get_volume_vfs_uri_if_writable), (find_directory_callback),
      	(add_volume), (remove_trash_volume), (remove_volume),
      	(add_one_volume), (volume_mounted_callback),
      	(volume_unmounted_callback), (nautilus_trash_directory_initialize),
      	(remove_trash_volume_cover), (trash_destroy),
      	(nautilus_trash_directory_initialize_class):
      	Added the code to find the trash on all volumes.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(flatten_hash_table_element),
      	(nautilus_g_hash_table_safe_for_each): Added a new version of the
      	hash table iterator that works even if the callback removes items
      	from the hash table.
      
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_largest_fitting_font_size): Added code to
      	handle the case of an empty name; the old code worked with NULL,
      	but not with "".
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_trash_state_changed_callback),
      	(find_and_rename_trash_link), (create_or_rename_trash):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize):
      	Changed to use the new "trash:" URL instead of locating one of
      	the trash folders.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize_class),
      	(fm_directory_all_selected_items_in_trash):
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class):
      	The "share_parent" optimization didn't work for the new trash.
      	Instead of fixing it, I just removed it.
      
      	* src/nautilus-window-manage-views.c: (compute_default_title),
      	(nautilus_window_update_title): Made two changes to the default
      	title: 1) Use "" instead of "Nautilus" when there's no title.
      	We still use "Nautilus" in the window title, but not in the
      	sidebar any more. 2) Use the scheme part of a URI if there's
      	nothing after the colon. This works nicely for the trash.
      
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_render): Removed some unneeded
      	code and the FIXME that goes with it.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_is_not_empty): Removed an overzealous assert.
      72955895
  4. 21 Aug, 2000 1 commit
    • Ramiro Estrugo's avatar
      Tasks: 1612, 1274, 1511 and 1588. · 70505287
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	* libnautilus-extensions/nautilus-scalable-font.h:
      
      	New GtkObject subclass that provdes a simple interface to raph's
      	librsvg FreeType2 bases anti aliased text rendering.
      
      	* libnautilus-extensions/nautilus-font-picker.c:
      	* libnautilus-extensions/nautilus-font-picker.h:
      
      	New font picker class.  I will soon use it in the preferences
      	dialog instead of the current one.
      
      	* libnautilus-extensions/nautilus-buffered-widget.c:
      	* libnautilus-extensions/nautilus-buffered-widget.h:
      
      	New virtual widget class that encapsulates the details of finding
      	a suitable background for compositing pixbufs.
      
      	* libnautilus-extensions/nautilus-image.c:
      	* libnautilus-extensions/nautilus-image.h:
      
      	Rewritten NautilusImage class.  Took out all the label stuff,
      	which lives in its own class.  Now subclassed from
      	NautilusBufferedWidget so that background the image gets
      	composited on is always correct and groks NautilusBackground.
      
      	* libnautilus-extensions/nautilus-label.c:
      	* libnautilus-extensions/nautilus-label.h:
      
      	New NautilusLabel widget class.  A label widget that is capable of
      	displaying anti aliased text composited over a complex background.
      
      	The background can be installed as NautilusBackground on a
      	NautilusLabel widget or any of its ancestors.  The best background
      	will automatically be found and used by the widget.
      
      	* services/nautilus-dependant-shared/shared-service-widgets.c,
      	* services/nautilus-dependant-shared/shared-service-widgets.h,
      	* services/startup/nautilus-view/nautilus-service-startup-view.c:
      
      	Update for changes in the NautilusImage api.  Unfortunately, these
      	components are slightly broken now cause of the NautilusImage
      	changes.  I will fix them shortly.
      
      	* libnautilus-extensions/nautilus-string-map.c:
      	* libnautilus-extensions/nautilus-string-map.h:
      
      	New simple class to map an arbitrary number of strings to a single
      	string.
      
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	Add tests for the new string map class.
      
      	* libnautilus-extensions/Makefile.am:
      
      	Build the new widgets.  Also add some depedencies on the static
      	libraries we link into this beast.  This way,
      	libnautilus-extensions will rebuild of one if its dependency
      	static libs is touched.
      
      	* test/.cvsignore,
      	* test/Makefile.am,
      	* test/test-nautilus-font-picker.c,
      	* test/test-nautilus-font.c,
      	* test/test-nautilus-image.c,
      	* test/test-nautilus-label.c:
      
      	Update test programs for new widgets.
      70505287
  5. 15 Aug, 2000 1 commit
    • Mathieu Lacage's avatar
      Implements core of task 1761 · f951f6f3
      Mathieu Lacage authored
      2000-08-15  Mathieu Lacage  <mathieu@eazel.com>
      
      	Implements core of task 1761
      
      	* libnautilus-extensions/Makefile.am: add my new files
      	to the build.
      	* libnautilus-extensions/nautilus-search-uri.c:
      	(strip_uri_begenning), (free_tokenized_uri), (tokenize_uri),
      	(get_item_number), (get_translated_criterion),
      	(get_first_criterion_prefix), (get_nth_criterion_prefix),
      	(get_nth_criterion_suffix), (get_first_criterion_suffix),
      	(parse_uri), (nautilus_search_uri_to_human): add file.
      	* libnautilus-extensions/nautilus-search-uri.h: add file.
      	* po/POTFILES.in: add my files there.
      	* src/file-manager/fm-search-list-view.c: (load_location_callback):
      	a space.
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_initialize),
      	(attach_criterion_to_search_bar),
      	(unattach_criterion_from_search_bar):
      	fix multiple bugs: the size text entry would not be removed by
      	the "fewer options" button. Changed a few "pressed" to "clicked".
      f951f6f3
  6. 14 Aug, 2000 1 commit
    • Darin Adler's avatar
      More prep work for the trash directory. · 5baaa578
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(nautilus_trash_directory_initialize_class),
      	(nautilus_trash_directory_initialize),
      	(nautilus_trash_directory_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.h:
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(nautilus_vfs_directory_initialize_class),
      	(nautilus_vfs_directory_initialize),
      	(nautilus_vfs_directory_destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.h:
      	Add subclasses for the trash and for general VFS directories.
      	Using refactoring techniques to move code down into these
      	subclasses. This is not intended to be a general framework,
      	but should be good enough to handle both these cases.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(can_use_public_metafile), (metafile_read_check_for_directory),
      	(metafile_read_failed), (metafile_read_start), (allow_metafile),
      	(metafile_write_success_close_callback),
      	(nautilus_metafile_write_start), (start_monitoring_file_list),
      	(get_corresponding_file), (start_getting_file_info):
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy), (make_uri_canonical),
      	(nautilus_directory_get_internal), (nautilus_directory_get_uri),
      	(construct_private_metafile_uri), (nautilus_directory_new),
      	(nautilus_directory_is_local), (nautilus_directory_is_not_empty),
      	(nautilus_self_check_directory):
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_internal), (nautilus_file_rename),
      	(nautilus_file_get_gnome_vfs_uri), (nautilus_file_matches_uri),
      	(nautilus_file_compare_by_name),
      	(nautilus_file_compare_by_directory_name),
      	(nautilus_file_compare_for_sort), (nautilus_file_get_uri),
      	(nautilus_file_set_permissions),
      	(nautilus_file_get_string_attribute),
      	(nautilus_file_get_mime_type), (nautilus_file_is_in_trash),
      	(nautilus_file_contains_text), (nautilus_file_get_directory_name),
      	(nautilus_file_mark_gone), (nautilus_file_changed):
      	* libnautilus-extensions/nautilus-file.h:
      	Add code to handle case of directory that can't be handled by
      	gnome-vfs. Mostly some NULL checks. Also renamed fields to make
      	it clear that the text URI is the "real" one. Added code to
      	handle the "gnome-trash:" and "trash:" schemes specially in the
      	code to make URIs canonical.
      
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(get_mime_type_from_uri): Return "application/octet-stream"
      	instead of NULL for unknown MIME type.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_display_selection_info): Eliminated the
      	nautilus_file_get_real_name call.
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_set_location): Eliminated
      	the nautilus_directory_is_search_directory call.
      
      	* src/file-manager/fm-search-list-view.c: (real_adding_file):
      	Fixed formatting mistake.
      
      	* src/nautilus-view-frame.c: (set_up_for_new_location): Emit
      	the title_changed signal for each change in location.
      5baaa578
  7. 10 Aug, 2000 1 commit
    • Darin Adler's avatar
      Moved the notify calls to a separate header, since people were using them · 7bb5ecd9
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-directory-notify.h:
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	* libnautilus-extensions/nautilus-link.c:
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	Moved the notify calls to a separate header, since people were
      	using them as an excuse to peek at NautilusDirectory's privates.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_get_internal), (nautilus_directory_get),
      	(nautilus_directory_get_existing): Cleaned up API so that
      	internal code can get a directory without creating one.
      	(get_parent_directory_if_exists): Used new API to cut down
      	code a bit.
      	(nautilus_directory_notify_files_removed),
      	(nautilus_directory_notify_files_moved): Always create a
      	NautilusFile object. This results in a bit more work, but is
      	more compatible with the 1/2 done symbolic link change notify
      	work.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_internal): Don't create a new directory if
      	being called in the mode where we don't create a new file.
      	(update_link), (get_link_files),
      	(update_links_if_target), (nautilus_file_update_info),
      	(nautilus_file_mark_gone), (nautilus_file_emit_changed):
      	More work on notifying links about changes to the target file.
      	This isn't quite working and isn't required so I'll get back to it
      	later. At the moment it is not doing any harm.
      7bb5ecd9
  8. 08 Aug, 2000 1 commit
  9. 03 Aug, 2000 2 commits
    • Mathieu Lacage's avatar
      fix build with new bonobo. fix build with new bonobo. fix build with new · e6378b2b
      Mathieu Lacage authored
      2000-08-03  Mathieu Lacage  <set EMAIL_ADDRESS environment variable>
      
      	* configure.in: fix build with new bonobo.
      	* libnautilus-extensions/Makefile.am: fix build with new bonobo.
      	* libnautilus/Makefile.am: fix build with new bonobo.
      e6378b2b
    • Rebecca Schulman's avatar
      Completed bug 1433, the interface to search by file name and attribute. · 0c8b5b05
      Rebecca Schulman authored
      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.
      0c8b5b05
  10. 02 Aug, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 1866, Turn volume mounting code into an object. · 1d671db2
      Gene Z. Ragan authored
      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.
      1d671db2
  11. 27 Jul, 2000 1 commit
    • Rebecca Schulman's avatar
      Redid the complex search bar to look the way we actually wanted it. There · e225567b
      Rebecca Schulman authored
      2000-07-26  Rebecca Schulman  <rebecka@eazel.com>
      	Redid the complex search bar to look the way we actually
      	wanted it.  There are still some bugs, but as far as i
      	can tell, it hasn't introduced horrid instability, and
      	this way, mathieu, among other can work on the
      	partial amount of stuff i have done.
      
      	* libnautilus-extensions/Makefile.am:
      
      	* src/Makefile.am:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-search-bar-criterion.h:
      	* libnautilus-extensions/nautilus-search-uri.h:
      	* src/nautilus-search-bar.c:
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_initialize_class),
      	(nautilus_simple_search_bar_set_search_controls):
      	* src/nautilus-switchable-search-bar.c:
      	Moved nautilus-search-bar-criterion.c from src/ to
      	libnautilus-extensions.
      
      	* libnautilus-extensions/nautilus-search-bar-criterion.c:
      	* libnautilus-extensions/nautilus-search-bar-criterion.h:
      	(nautilus_search_bar_criterion_destroy),
      	(nautilus_search_bar_criterion_new),
      	(nautilus_search_bar_criterion_new_from_values),
      	(nautilus_search_bar_criterion_next_new),
      	(nautilus_search_bar_criterion_first_new),
      	(nautilus_search_bar_criterion_list_get_last),
      	(get_next_default_search_criterion_type),
      	(nautilus_search_bar_criterion_show),
      	(nautilus_search_bar_criterion_hide):
      	redid this api, and made it saner.  Doesn't seem
      	like a gtk class is even necessary, or even useful here.
      	We just want to keep track of the widgets.
      
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_initialize_class),
      	(nautilus_complex_search_bar_initialize),
      	(nautilus_complex_search_bar_get_location),
      	(nautilus_complex_search_bar_set_search_controls),
      	(attach_criterion_to_search_bar),
      	(unattach_criterion_from_search_bar), (more_options_callback),
      	(fewer_options_callback):
      	redid this to use tables, instead of all the boxes, as per
      	Gene's suggestion.  There are still a few bugs here
      	with criterion removal that need to be worked out,
      	and there also needs to be some level of translation to
      	uri, and re-setting up the search criteria to correspond to
      	a uri.
      
      	* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
      	added to keep some sense of data privacy.
      e225567b
  12. 26 Jul, 2000 1 commit
    • Ramiro Estrugo's avatar
      Make the cut-n-paste libraries be only static archives. Link all the · 4232317b
      Ramiro Estrugo authored
      	* Makefile.am:
      	* components/hardware/Makefile.am:
      	* components/help/Makefile.am:
      	* components/history/Makefile.am:
      	* components/html/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/music/Makefile.am:
      	* components/notes/Makefile.am:
      	* components/rpmview/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/inventory/nautilus-view/Makefile.am:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/startup/nautilus-view/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/services/vault/nautilus-view/Makefile.am:
      	* components/tree/Makefile.am:
      	* components/websearch/Makefile.am:
      	* cut-n-paste-code/widgets/e-paned/Makefile.am:
      	* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* librsvg/Makefile.am:
      	* src/Makefile.am:
      	* test/Makefile.am:
      
      	Make the cut-n-paste libraries be only static archives.  Link all
      	the private libraries statically into libnautilus-extensions.
      	Remove all the references to private libraries in all the
      	components and other users of libnautilus-extensions so that
      	dependencies can be managed in just one place.
      4232317b
  13. 20 Jul, 2000 1 commit
    • Rebecca Schulman's avatar
      got rid of changes before made for putting medusa communication into · 0c09cda2
      Rebecca Schulman authored
      2000-07-20  Rebecca Schulman  <rebecka@eazel.com>
      
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(allow_metafile), (start_monitoring_file_list):
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy), (nautilus_directory_get),
      	(construct_alternate_metafile_uri), (nautilus_directory_is_local),
      	(nautilus_directory_file_monitor_remove):
      	* libnautilus-extensions/nautilus-directory.h:
      	got rid of changes before made for putting medusa
      	communication into nautilus. that is all part of
      	gnome-vfs now.
      
      	* libnautilus-extensions/nautilus-search-async.c:
      	* libnautilus-extensions/nautilus-search-async.h:
      	* libnautilus-extensions/Makefile.am:
      	Deprecated as they are no longer necessary  (see above)
      
      	* libnautilus-extensions/nautilus-string.c:
      	* libnautilus-extensions/nautilus-string.h:
      	(nautilus_str_get_after_prefix):
      	added new function that nautilus-string-uri will use.
      
      	* src/file-manager/fm-list-view.c: (fm_list_view_create_list):
      	fix list view bug that should have been in my last checkin
      	Someone needs beat me over the head and fix my extensive
      	cvs issues from the last few days!
      0c09cda2
  14. 17 Jul, 2000 1 commit
  15. 14 Jul, 2000 1 commit
    • Ramiro Estrugo's avatar
      Rename NautilusGraphic to NautilusImage everywhere. · f7263fbd
      Ramiro Estrugo authored
      	*
      	components/services/install/nautilus-view/nautilus-service-install-
      	view.c: (generate_install_form), (create_image_widget),
      	(create_title_widget), (create_middle_title_widget):
      	* components/services/login/nautilus-view/nautilus-login-view.c:
      	(generate_login_form), (create_image_widget),
      	(create_title_widget):
      	*
      	components/services/startup/nautilus-view/nautilus-service-startup-
      	view.c: (generate_startup_form), (create_image_widget),
      	(generate_form_logo):
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-graphic.c:
      	* libnautilus-extensions/nautilus-graphic.h:
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_initialize_class), (nautilus_image_initialize),
      	(nautilus_image_destroy), (nautilus_image_set_arg),
      	(nautilus_image_get_arg), (nautilus_image_realize),
      	(nautilus_image_unrealize), (nautilus_image_draw),
      	(nautilus_image_size_allocate), (nautilus_image_size_request),
      	(nautilus_image_map), (nautilus_image_unmap),
      	(nautilus_image_expose), (ensure_buffer_size),
      	(create_child_window), (nautilus_gdk_create_copy_area_gc),
      	(nautilus_gdk_pixbuf_render_to_drawable),
      	(nautilus_gdk_pixbuf_render_to_pixbuf),
      	(nautilus_gdk_pixbuf_render_to_pixbuf_alpha),
      	(gdk_string_dimensions), (nautilus_gdk_pixbuf_set_to_color),
      	(nautilus_gdk_pixbuf_tile), (nautilus_gdk_pixbuf_tile_alpha),
      	(nautilus_image_new), (nautilus_image_set_background_pixbuf),
      	(nautilus_image_get_background_pixbuf),
      	(nautilus_image_set_background_type),
      	(nautilus_image_get_background_type),
      	(nautilus_image_set_background_color),
      	(nautilus_image_get_background_color),
      	(nautilus_image_set_placement_type),
      	(nautilus_image_get_placement_type), (nautilus_image_set_pixbuf),
      	(nautilus_image_get_pixbuf), (nautilus_image_set_overall_alpha),
      	(nautilus_image_set_label_text), (nautilus_image_get_label_text),
      	(nautilus_image_set_label_font), (nautilus_image_get_label_font),
      	(nautilus_image_set_left_offset),
      	(nautilus_image_set_right_offset), (nautilus_image_set_top_offset),
      	(nautilus_image_set_bottom_offset),
      	(nautilus_image_set_extra_width),
      	(nautilus_image_set_extra_height):
      	* libnautilus-extensions/nautilus-image.h:
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-graphic.c:
      	* test/test-nautilus-image.c: (create_background), (create_pixbuf),
      	(create_image), (alpha_scale_value_changed),
      	(red_color_value_changed), (green_color_value_changed),
      	(blue_color_value_changed), (toggle_background_type_callback),
      	(create_color_scale), (main):
      
      	Rename NautilusGraphic to NautilusImage everywhere.
      f7263fbd
  16. 13 Jul, 2000 1 commit
    • Elliot Lee's avatar
      Fix typo Fix srcdir != builddir: · a6b35053
      Elliot Lee authored
      
      
      	* TODO: Fix typo
      	* components/rpmview/Makefile.am,
      	components/services/install/command-line/Makefile.am,
      	components/services/install/lib/Makefile.am,
      	components/services/install/nautilus-view/Makefile.am,
      	components/services/install/server/Makefile.am,
      	components/services/startup/lib/Makefile.am,
      	components/services/time/command-line/Makefile.am,
      	components/services/time/service/Makefile.am,
      	components/services/trilobite/helper/Makefile.am,
      	components/services/trilobite/sample/command-line/Makefile.am,
      	components/services/trilobite/sample/service/Makefile.am,
      	components/services/vault/command-line/Makefile.am,
      	cut-n-paste-code/widgets/e-paned/Makefile.am,
      	cut-n-paste-code/widgets/nautilus-druid/Makefile.am,
      	libnautilus-extensions/Makefile.am,
      	src/Makefile.am,
      	test/Makefile.am: Fix srcdir != builddir:
      
      	* components/services/trilobite/helper/eazel-helper.c,
      	components/services/vault/command-line/vault-operations.c,
      	libnautilus-extensions/nautilus-graphic.c,
      	libnautilus-extensions/nautilus-icon-container.c,
      	libnautilus-extensions/nautilus-list.c: Include string.h
      	for strlen prototype.
      a6b35053
  17. 12 Jul, 2000 1 commit
    • Darin Adler's avatar
      Change to use bonobo_object_unref now that the leaks have been fixed. This · 41f3913c
      Darin Adler authored
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
      	Change to use bonobo_object_unref now that the leaks have been
      	fixed.  This requires the new Bonobo or you'll have lots of leaked
      	processes. Luckily, Nautilus won't compile without the new Bonobo
      	due to my use of bonobo_object_shutdown in main :-)
      
      	* configure.in:
      	Fix the way -Werror works so it affects all directories, not just
      	ones where we use WERROR.
      
      	* components/hardware/Makefile.am:
      	* components/help/Makefile.am:
      	* components/history/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/rpmview/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      	* components/services/inventory/lib/Makefile.am:
      	* components/services/inventory/nautilus-view/Makefile.am:
      	* components/services/inventory/service/Makefile.am:
      	* components/services/login/lib/Makefile.am:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/login/service/Makefile.am:
      	* components/services/startup/command-line/Makefile.am:
      	* components/services/startup/lib/Makefile.am:
      	* components/services/startup/nautilus-view/Makefile.am:
      	* components/services/summary/lib/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/summary/service/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/helper/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/.cvsignore:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/lib/Makefile.am:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* components/services/vault/command-line/Makefile.am:
      	* components/services/vault/lib/Makefile.am:
      	* components/services/vault/nautilus-view/Makefile.am:
      	* components/services/vault/service/Makefile.am:
      	* components/tree/Makefile.am:
      	* components/websearch/Makefile.am:
      	* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	* librsvg/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	* test/Makefile.am:
      	Got rid of the WERROR shell variable. The -Werror switch is no
      	longer a per-directory thing.
      
      	* librsvg/Makefile.am:
      	Added libpng to the libraries for the test program. Maybe this was
      	the wrong thing to do, but before this change the link failed.
      
      	* components/sample/Makefile.am:
      	* components/sample/main.c:
      	* components/sample/nautilus-sample-content-view.c:
      	* components/sample/nautilus-sample-content-view.h:
      	A clean-up of the sample, including fixing many bugs and adding
      	lots of comments. I figure we want this to be as close to
      	exemplary as possible since people will continue to start with it
      	for new components.
      
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a
      	NautilusFile object that I spotted in here.
      
      	* src/nautilus-application.c: (nautilus_application_destroy_window):
      	Re-added the code to quit when the last window is closed that Mike
      	removed in his recent check-in.
      
      	* src/nautilus-main.c: (main): Added a call to bonobo_shutdown.
      	We don't need this call, but I say, "Why not?"
      41f3913c
  18. 11 Jul, 2000 2 commits
    • Darin Adler's avatar
      Fixed a bug I introduced at application startup time where it would quit · 9fd02a0d
      Darin Adler authored
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-main.c: (main):
      	Fixed a bug I introduced at application startup time where it
      	would quit right away instead of running the first time druid.
      	(Calling it a druid is so lame, who are we kidding?)
      
      	* RENAMING: Some renaming ideas. In particular, we can deprecate
      	"null-tolerance" a little bit by including it in the names of the
      	functions.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_set_mini_icon):
      	* libnautilus-extensions/nautilus-gdk-extensions.h:
      	* libnautilus-extensions/nautilus-mini-icon.c: [removed]
      	* libnautilus-extensions/nautilus-mini-icon.h: [removed]
      	* src/nautilus-window.c:
      	Moved the single function from its own file into the gdk
      	extensions file instead and changed the single place that uses it
      	to get it from there.
      9fd02a0d
    • Darin Adler's avatar
      Fixed to compile with latest Bonobo. Doesn't work quite as well as before · 595c8845
      Darin Adler authored
      	* src/nautilus-view-frame.c:
      	Fixed to compile with latest Bonobo. Doesn't work quite as well
      	as before -- we get some Bonobo ref. count asserts all the time --
      	but it's better than nothing I guess. Also did some other code
      	cleanup.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-alloc.h: [removed]
      	Removed an unused source file.
      
      	* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
      	(stop_rubberbanding), (destroy), (hide_rename_widget):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_dropped_icon_feedback),
      	(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_end):
      	* src/nautilus-view-frame-nautilus-view.c: (load_location),
      	(stop_loading), (selection_changed):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_load_client), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_end_location_change_callback):
      	Added FIXMEs to various questionable uses of gtk_object_destroy.
      
      	* src/Makefile.am:
      	Added missing source file and replaced use of .. with $(top_srcdir).
      595c8845
  19. 10 Jul, 2000 1 commit
    • Ramiro Estrugo's avatar
      Add arlo's services title icons. · 747245d7
      Ramiro Estrugo authored
      	* components/services/startup/nautilus-view/icons/Makefile.am,
      	  eazel-services-logo.png,
      	    eazel-services-logo-tile.png:
      	    Add arlo's services title icons.
      
      	    * libnautilus-extensions/Makefile.am:
      	    * libnautilus-extensions/nautilus-graphic.c:
      	    (nautilus_graphic_initialize_class), (nautilus_graphic_initialize),
      	    (nautilus_graphic_destroy), (nautilus_graphic_set_arg),
      	    (nautilus_graphic_get_arg), (nautilus_graphic_realize),
      	    (nautilus_graphic_unrealize), (nautilus_graphic_draw),
      	    (nautilus_graphic_size_allocate), (nautilus_graphic_size_request),
      	    (nautilus_graphic_map), (nautilus_graphic_unmap),
      	    (nautilus_graphic_expose), (ensure_buffer_size),
      	    (create_child_window), (nautilus_gdk_create_copy_area_gc),
      	    (nautilus_gdk_pixbuf_render_to_drawable),
      	    (nautilus_gdk_pixbuf_render_to_pixbuf),
      	    (nautilus_gdk_pixbuf_render_to_pixbuf_alpha),
      	    (gdk_string_dimensions), (nautilus_gdk_pixbuf_set_to_color),
      	    (nautilus_gdk_pixbuf_tile), (nautilus_gdk_pixbuf_tile_alpha),
      	    (nautilus_graphic_new), (nautilus_graphic_set_background_pixbuf),
      	    (nautilus_graphic_get_background_pixbuf),
      	    (nautilus_graphic_set_background_type),
      	    (nautilus_graphic_get_background_type),
      	    (nautilus_graphic_set_background_color),
      	    (nautilus_graphic_get_background_color),
      	    (nautilus_graphic_set_placement_type),
      	    (nautilus_graphic_get_placement_type),
      	    (nautilus_graphic_set_pixbuf), (nautilus_graphic_get_pixbuf),
      	    (nautilus_graphic_set_overall_alpha),
      	    (nautilus_graphic_set_label_text),
      	    (nautilus_graphic_get_label_text),
      	    (nautilus_graphic_set_label_font),
      	    (nautilus_graphic_get_label_font):
      	    * libnautilus-extensions/nautilus-graphic.h:
      	    Add NautilusGraphic widget to build.
      
      	    * test/.cvsignore:
      	    * test/Makefile.am:
      	    * test/test-nautilus-graphic.c: (create_background),
      	    (create_pixbuf), (create_graphic), (alpha_scale_value_changed),
      	    (red_color_value_changed), (green_color_value_changed),
      	    (blue_color_value_changed), (toggle_background_type_callback),
      	    (create_color_scale), (main):
      	    Add test for NautilusGraphic widget.
      747245d7
  20. 28 Jun, 2000 1 commit
  21. 27 Jun, 2000 1 commit
    • Darin Adler's avatar
      Removed a bunch of incorrect calls to bonobo_object_unref. An error in the · a93b99ab
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_destroy):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_destroy):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_destroy):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_destroy):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_destroy):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
      	(trilobite_eazel_time_view_destroy):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy):
      	Removed a bunch of incorrect calls to bonobo_object_unref.
      	An error in the sample can be an insidious thing.
      
      	* components/tree/main.c: (tree_object_destroyed),
      	(tree_make_object), (main): Removed some stray debugging stuff.
      
      	* libnautilus-extensions/Makefile.am: Got rid of the grid
      	* libnautilus-extensions/nautilus-icon-private.h: Got rid of the
      	grid.
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(keyboard_icon_reveal_timeout_callback): Took out unneeded use of
      	thread locking macros. Maybe someday I'll regret this, but we can
      	add them back then.
      	(get_all_icon_bounds): Added shared function.
      	(update_scroll_region): Renamed set_scroll_region and made it use
      	the shared function. Also got rid of grid code.
      	(resort): Got rid of grid code.
      	(lay_down_icons): Got rid of grid code.
      	(relayout): Made it lay down new icons before doing any layout
      	work. Also made sure it doesn't do the resort while stretching.
      	(reload_icon_positions): Got rid of grid code.
      	(rubberband_select): Got rid of grid code. This was the one place
      	that it might have made things a little faster but probably not
      	due to the complexity of what it was doing.
      	(rubberband_timeout_callback): Took out unneeded use of thread
      	locking macros. Maybe someday I'll regret this, but we can add
      	them back then.
      	(destroy): Got rid of grid code.
      	(world_width_changed): Got rid of grid code.
      	(nautilus_icon_container_initialize): Got rid of grid code and
      	an extra idle cycle that wasn't needed.
      	(nautilus_icon_container_clear): Got rid of grid code and added
      	code to update the scroll region on clear.
      	(icon_destroy): Got rid of grid code.
      	(assign_icon_position), (finish_adding_icon),
      	(finish_adding_new_icons), (finish_adding_new_icons_callback),
      	(nautilus_icon_container_add): Replaced old idle code with
      	something specific to adding new icons. This does the proper
      	layout for manual as well as automatic layout cases.
      
      	* libnautilus-extensions/nautilus-background.h:
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_initialize_class): Made two signals instead
      	of one. One for when the background's settings change and another
      	for when the appearance changes.
      	(nautilus_background_set_color): Emit both signals.
      	(load_image_callback): Emit only the appearance change signal.
      	(nautilus_background_set_tile_image_uri): Emit both signals.
      	(nautilus_get_widget_background): Connect to the
      	appearance_changed signal.
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_connect_background_to_directory_metadata):
      	Connect to the settings_changed signal.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_real_merge_menus): Connect to the
      	settings_changed signal.
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_info): Connect
      	to the appearance_changed signal.
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_set_up_background): Connect to the
      	settings_changed signal.
      
      	* HACKING: Gratuitious reformatting.
      	* RENAMING: Added notes about how we do renaming, at the request
      	of one of the hackers.
      
      	* nautilus-clean.sh: Added nautilus-tree-view to the things that
      	are killed, and made gratuitous changes to the script.
      a93b99ab
  22. 21 Jun, 2000 1 commit
    • Rebecca Schulman's avatar
      set up search-bar as a virtual class that switches between the available · d18ad1f8
      Rebecca Schulman authored
      2000-06-20  Rebecca Schulman  <rebecka@eazel.com>
      
      	* src/Makefile.am:
      	* src/nautilus-search-bar.c:
      	* src/nautilus-search-bar.h:
      	(nautilus_search_bar_initialize_class),
      	(nautilus_search_bar_initialize),
      	(nautilus_search_bar_set_location),
      	(nautilus_search_bar_set_search_controls):
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-switchable-search-bar.h:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-search-bar-criterion.h:
      	set up search-bar as a virtual class that
      	switches between the available search bars,
      	similar to nautilus-navigation-bar.
      
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-complex-search-bar.h:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-simple-search-bar.h:
      	Added simple and complex search bar skeletons.
      	these need to get filled out a lot more
      
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_initialize):
      	switchable navigation bar uses a switchable
      	search bar instead of a normal search bar,
      	since that class is now virtual
      
      	* src/nautilus-navigation-bar.c:
      	fixed comment typos
      
      	* libnautilus-extensions/nautilus-directory.h:
      	Exported nautilus_uri_is_search_uri function
      	* libnautilus-extensions/Makefile.am:
      	Added nautilus-search-uri.c and .h files
      	The functions aren't filled out yet, though
      	* libnautilus-extensions/nautilus-search-uri.c:
      	(nautilus_search_uri_to_simple_search_criteria):
      	* libnautilus-extensions/nautilus-search-uri.h:
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_register_for_ui):
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	Changed search bar preference names from NAUTILUS_SEARCH_BAR_ONE_BOX
      	and NAUTILUS_SEARCH_BAR_MULTI_BOX
      	to NAUTILUS_SIMPLE_SEARCH_BAR and NAUTILUS_COMPLEX_SEARCH_BAR
      	to match respective object names
      d18ad1f8
  23. 20 Jun, 2000 2 commits
    • Ramiro Estrugo's avatar
      Exorcise libnautilus-extensions.h. Its really used anywhere and stuff in · 5b20ccb1
      Ramiro Estrugo authored
      2000-06-20  Ramiro Estrugo  <ramiro@eazel.com>
      
      * libnautilus-extensions/Makefile.am:
      Exorcise libnautilus-extensions.h.  Its really used anywhere and
      stuff in this library is private anyway.  Also, prevent the
      makefile from even creating the installed libnautilus-extensions
      directory since nothing gets installed there.
      
      * libnautilus-extensions/libnautilus-extensions.h:
      Removed from build.
      
      * components/help/hyperbola-main.c:
      Updated for libnautilus-extensions.h exorcism.
      5b20ccb1
    • Ramiro Estrugo's avatar
      Remove the GNOMECANVASPIXBUF depedency. Its not used no more. · a5e37b99
      Ramiro Estrugo authored
      2000-06-20  Ramiro Estrugo  <ramiro@eazel.com>
      
      * configure.in:
      * libnautilus-extensions/Makefile.am:
      * libnautilus/Makefile.am:
      * librsvg/Makefile.am:
      * nautilus-installer/src/Makefile:
      * src/Makefile.am:
      * src/file-manager/Makefile.am:
      * test/Makefile.am:
      
      Remove the GNOMECANVASPIXBUF depedency.  Its not used no more.
      a5e37b99
  24. 14 Jun, 2000 3 commits
    • Ramiro Estrugo's avatar
      Added a place to put cut-n-paste code. Cut-n-pasted the e-paned widget · 3965707a
      Ramiro Estrugo authored
      * Makefile.am:
      * components/hardware/Makefile.am:
      * components/help/Makefile.am:
      * components/history/Makefile.am:
      * components/html/Makefile.am:
      * components/loser/content/Makefile.am:
      * components/loser/sidebar/Makefile.am:
      * components/music/Makefile.am:
      * components/notes/Makefile.am:
      * components/rpmview/Makefile.am:
      * components/sample/Makefile.am:
      * components/services/startup/nautilus-view/Makefile.am:
      * components/services/time/nautilus-view/Makefile.am:
      * components/services/trilobite/sample/nautilus-view/Makefile.am:
      * components/websearch/Makefile.am:
      * configure.in:
      * cut-n-paste-code/.cvsignore:
      * cut-n-paste-code/Makefile.am:
      * cut-n-paste-code/README:
      * cut-n-paste-code/widgets/.cvsignore:
      * cut-n-paste-code/widgets/Makefile.am:
      * cut-n-paste-code/widgets/e-paned/.cvsignore:
      * cut-n-paste-code/widgets/e-paned/Makefile.am:
      * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_get_type),
      (e_hpaned_class_init), (e_hpaned_init), (e_hpaned_new),
      (e_hpaned_size_request), (e_hpaned_size_allocate), (e_hpaned_draw),
      (e_hpaned_xor_line), (e_hpaned_button_press),
      (e_hpaned_button_release), (e_hpaned_motion),
      (e_hpaned_handle_shown):
      * cut-n-paste-code/widgets/e-paned/e-hpaned.h:
      * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_get_type),
      (e_paned_class_init), (e_paned_child_type), (e_paned_init),
      (e_paned_set_arg), (e_paned_get_arg), (e_paned_realize),
      (e_paned_map), (e_paned_unmap), (e_paned_unrealize),
      (e_paned_expose), (e_paned_add1), (e_paned_add2), (e_paned_pack1),
      (e_paned_pack2), (e_paned_add), (e_paned_remove), (e_paned_forall),
      (e_paned_get_position), (e_paned_set_position),
      (e_paned_set_handle_size), (e_paned_compute_position),
      (e_paned_handle_shown), (e_paned_quantized_size):
      * cut-n-paste-code/widgets/e-paned/e-paned.h:
      * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_get_type),
      (e_vpaned_class_init), (e_vpaned_init), (e_vpaned_new),
      (e_vpaned_size_request), (e_vpaned_size_allocate), (e_vpaned_draw),
      (e_vpaned_xor_line), (e_vpaned_button_press),
      (e_vpaned_button_release), (e_vpaned_motion),
      (e_vpaned_handle_shown):
      * cut-n-paste-code/widgets/e-paned/e-vpaned.h:
      * helper-utilities/authenticate/Makefile.am:
      * libnautilus-extensions/Makefile.am:
      * libnautilus-extensions/README:
      * libnautilus/README:
      * src/Makefile.am:
      * test/Makefile.am:
      Added a place to put cut-n-paste code.  Cut-n-pasted the e-paned
      widget from evolution.  Yes, and evil thing to do.  Send me mail
      with alternative solutions.
      
      Also added README files for libnautilus and
      libnautilus-extenstions to clarify thieir public vs internal
      state.
      
      * src/nautilus-window.c: (nautilus_window_constructed),
      (nautilus_window_real_set_content_view):
      Use the new NautilusHorizontalSplitter widget instead of
      the gtk one.
      3965707a
    • Rebecca Schulman's avatar
      Initial changes to implement search architecture. · 820bc51e
      Rebecca Schulman authored
      2000-06-13  Rebecca Schulman  <rebecka@eazel.com>
      	Initial changes to implement search architecture.
      
      	* libnautilus-extensions/Makefile.am:
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	Changed metafile reading to skip this for search directories
      	call a separate sync reader for search directories (the
      	async handle creates a thread but doesn't talk to medusa
      	yet)
      
      	Added
      	* libnautilus-extensions/nautilus-search-async.c:
      	* libnautilus-extensions/nautilus-search-async.h:
      	location of future async search calls
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	added is_search_directory boolean field to NautilusDirectoryDetails
      	* libnautilus-extensions/nautilus-directory.c:
      	* libnautilus-extensions/nautilus-directory.h:
      	nautilus_search_directory_new supplemnts nautilus_directory_new
      	and test functions nautilus_diretory_is_search_directory and
      	nautilus_uri_is_search_uri
      
      	* src/nautilus-window.c:
      	* src/nautilus-window-toolbars.c:
      	added search button (icon to come!)
      
      	* src/nautilus.oafinfo:
      	added search: to list of acceptable
      	content for list view
      820bc51e
    • Darin Adler's avatar
      Preparations to make nautilus_file_get use async. I/O. · 5a5c97ab
      Darin Adler authored
      	There's still a long way to go.
      
      	* components/music/nautilus-music-view.c: (fetch_play_time),
      	(format_play_time), (fetch_song_info), (play_status_display),
      	(play_current_file), (nautilus_music_view_update_from_uri):
      	Changed the music view so it doesn't use NautilusFile any more
      	since it already has what it needs from gnome-vfs. There's still
      	the issue of sync. vs. async. for this component.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(nautilus_timed_wait_start), (nautilus_timed_wait_free),
      	(nautilus_timed_wait_stop):
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	Started on something called nautilus_timed_wait that we need to
      	use when all our lines are busy. Checked it in since I'll be in
      	Palo Alto and don't want any non-checked-in changes.
      
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	Added comments and removed some dead code.
      
      	* src/nautilus-window-menus.c: (uri_known_not_to_exist):
      	Rewrote this to use sync. I/O on local files instead of using
      	nautilus_file_get.
      
      	* test/.cvsignore: Ignore some of the new files in this directory.
      5a5c97ab
  25. 13 Jun, 2000 2 commits
    • Darin Adler's avatar
      Some build fixes. · 6efd7c1b
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Removed the NAUTILUS_PREFIX that I added. I did it wrong.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_pixmap_file):
      	* components/hardware/nautilus-hardware-view.c:
      	(setup_overview_form):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(setup_form_title), (setup_signup_form), (setup_config_form):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(make_full_icon_path):
      	* src/nautilus-application.c: (display_caveat):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_initialize),
      	(nautilus_emblem_dialog_new), (make_category_link):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
      	Replaced most uses of gnome_pixmap_file on "nautilus/"
      	with a call to a new nautilus_pixmap_file in an attempt to
      	make installations where nautilus has a different prefix
      	from gnome-libs work. I now think this is a waste of time,
      	but Mathieu Lacage says this is still an improvement.
      
      	* components/help/Makefile.am:
      	* components/help/hyperbola-filefmt.c: (fmt_map_entry):
      	Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/websearch/ntl-web-search.c:
      	(web_search_populate_engines):
      	Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_set_busy_cursor),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_clear_busy_cursor),
      	(mozilla_load_location_callback), (bonobo_mozilla_callback),
      	(mozilla_merge_bonobo_items_callback),
      	(mozilla_title_changed_callback),
      	(mozilla_location_changed_callback), (mozilla_net_status_callback),
      	(mozilla_link_message_callback), (mozilla_progress_callback),
      	(mozilla_open_uri_callback):
      	Took a cut at fixing the Mozilla component for the new API.
      	Ramiro will have to take care of the rest.
      
      	* components/services/install/lib/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* libnautilus/Makefile.am:
      	Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
      	in the form of a patch by Martijn van Beers.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_main_directory),
      	(nautilus_get_pixmap_directory):
      	* libnautilus-extensions/nautilus-link-set.c:
      	(get_link_set_document):
      	* src/Makefile.am:
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(get_xml_path), (make_properties_from_directory):
      	* src/nautilus-link-set-window.c: (get_link_set_names):
      	* src/file-manager/Makefile.am:
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_uri_from_local_path): Added a new helper function for
      	use when you have a path and need a URI. This does a better job
      	than just adding a "file://" on the front.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(get_first_callback), (nautilus_gtk_container_get_first_child):
      	* src/nautilus-window-toolbars.c: (setup_button):
      	* src/nautilus-window.c:
      	(replace_special_current_view_in_content_view_menu):
      	Implemented the first_child function and used it where appropriate.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(add_icon_themes): Use nautilus_get_pixmap_directory intead of
      	misusing gnome_pixmap_file by calling it on a directory name.
      
      	* nautilus-installer/src/support.c: (create_pixmap),
      	(create_image): Added FIXMEs since it isn't clear if this code
      	will work with a Nautilus prefix that's not the same as the
      	gnome-libs prefix.
      
      	* Makefile.am: Tweaked white space.
      6efd7c1b
    • Eskil Heyn Olsen's avatar
      Did most of the work for bug 1300 & 1090. It now uses an rpmsearch.cgi · a842587d
      Eskil Heyn Olsen authored
      	* components/services/install/command-line/eazel-alt-install.c:
      	(set_parameters_from_command_line), (main):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_new_with_config),
      	(eazel_install_fetch_remote_package_list),
      	(eazel_install_install_packages):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(http_fetch_remote_file), (filename_from_url),
      	(eazel_install_fetch_package), (get_url_for_package),
      	(get_search_url_for_package):
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(install_all_packages), (do_rpm_install),
      	(eazel_install_fetch_rpm_dependencies),
      	(eazel_install_ensure_deps):
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_new), (packagedata_new_from_rpm_conflict),
      	(packagedata_new_from_rpm_conflict_reversed),
      	(packagedata_new_from_rpm_header), (packagedata_destroy_foreach),
      	(packagedata_destroy), (rpmfilename_from_packagedata),
      	(packagedata_hash):
      	* components/services/install/lib/eazel-install-types.h:
      	Did most of the work for bug 1300 & 1090. It now uses an
      	rpmsearch.cgi script on a server to query for packages as
      	dependency fails occur.
      
      	* components/services/install/lib/eazel-install-metadata.c:
      	(create_default_metadata):
      	Fixed bug 1310.
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(generate_xml_package_list):
      	Fixed bug 1284.
      
      	* nautilus-installer/src/callbacks.c: (set_images),
      	(set_white_stuff):
      	* nautilus-installer/src/callbacks.h:
      	* nautilus-installer/src/installer.c: (create_package),
      	(create_categories), (installer):
      	* nautilus-installer/src/interface.c: (create_window):
      	Update to the new apt-get alike stuff in libinstall. Also make
      	things white to please Arlo.
      
      	* components/services/install/lib/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* nautilus-installer/src/Makefile:
      	* nautilus.spec.in:
      	* po/POTFILES.in:
      	More patchine to make the rpm building succeed. Basically a
      	removed files that where no longer in existence (POTFILES), and
      	adding missing .h files to Makefile.am's.
      a842587d
  26. 12 Jun, 2000 1 commit
    • Gene Ragan's avatar
      New file and functions to handle undo in NautilusEntry and GtkEditables. · 822c600f
      Gene Ragan authored
      
      
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	* libnautilus-extensions/nautilus-undo-signal-handlers.h:
      	(nautilus_entry_user_changed_callback),
      	(nautilus_undo_setup_nautilus_entry_for_undo),
      	(nautilus_undo_teardown_nautilus_entry_for_undo),
      	(free_editable_undo_data), (free_editable_object_data),
      	(editable_insert_text_callback), (editable_delete_text_callback),
      	(editable_register_edit_undo),
      	(nautilus_undo_setup_editable_for_undo),
      	(nautilus_undo_teardown_editable_for_undo),
      	(restore_editable_from_undo_snapshot_callback),
      	(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
      	New file and functions to handle undo in NautilusEntry and
      	GtkEditables.  This file is intended to contain signal handlers
      	that enable undo for a variety of GTK widgets. Calling a
      	setup_for_undo function will prepare the widget to handle
      	undo functionality.
      
      	* libnautilus-extensions/Makefile.am:
      	Added entries for new files nautilus-undo-signal-handlers.c
      	and nautilus-undo-signal-handlers.h
      
      	* components/notes/nautilus-notes.c: (make_notes_view):
      	Fixed bug #973.  Add undo to notes component.
      
      	* components/websearch/ntl-web-search.c: (make_obj):
      	Changed to use new undo signal handlers.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_initialize), (nautilus_entry_key_press),
      	(nautilus_entry_set_text), (nautilus_entry_delete_text):
      	Removed old undo code that had been rendered obsolete by the
      	new signal handlers mentioned above.
      
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	Changed to use new undo signal handlers.
      
      ----------------------------------
      822c600f
  27. 10 Jun, 2000 2 commits
    • Ramiro Estrugo's avatar
      Move the nautilus-widgets classes to libnautilus-extensions. · 2b631110
      Ramiro Estrugo authored
      * Makefile.am:
      * components/hardware/Makefile.am:
      * components/help/Makefile.am:
      * components/history/Makefile.am:
      * components/html/Makefile.am:
      * components/loser/content/Makefile.am:
      * components/loser/sidebar/Makefile.am:
      * components/music/Makefile.am:
      * components/notes/Makefile.am:
      * components/rpmview/Makefile.am:
      * components/sample/Makefile.am:
      * components/services/startup/nautilus-view/Makefile.am:
      * components/services/time/nautilus-view/Makefile.am:
      * components/services/trilobite/sample/nautilus-view/Makefile.am:
      * components/websearch/Makefile.am:
      * configure.in:
      * helper-utilities/authenticate/Makefile.am:
      * helper-utilities/authenticate/nautilus-authenticate.c:
      * libnautilus-extensions/Makefile.am:
      * libnautilus-extensions/nautilus-caption-table.c:
      * libnautilus-extensions/nautilus-caption.c:
      * libnautilus-extensions/nautilus-file-utilities.c:
      * libnautilus-extensions/nautilus-global-preferences.c:
      * libnautilus-extensions/nautilus-global-preferences.h:
      * libnautilus-extensions/nautilus-lib-self-check-functions.h:
      * libnautilus-extensions/nautilus-link-set.c:
      * libnautilus-extensions/nautilus-link.c:
      * libnautilus-extensions/nautilus-password-dialog.c:
      * libnautilus-extensions/nautilus-preference.c:
      (nautilus_self_check_preference):
      * libnautilus-extensions/nautilus-preferences-box.c:
      * libnautilus-extensions/nautilus-preferences-box.h:
      * libnautilus-extensions/nautilus-preferences-dialog.c:
      * libnautilus-extensions/nautilus-preferences-dialog.h:
      * libnautilus-extensions/nautilus-preferences-group.c:
      * libnautilus-extensions/nautilus-preferences-group.h:
      * libnautilus-extensions/nautilus-preferences-item.c:
      * libnautilus-extensions/nautilus-preferences-item.h:
      * libnautilus-extensions/nautilus-preferences-pane.c:
      * libnautilus-extensions/nautilus-preferences-pane.h:
      * libnautilus-extensions/nautilus-preferences.c:
      * libnautilus-extensions/nautilus-preferences.h:
      * libnautilus-extensions/nautilus-radio-button-group.c:
      * libnautilus-extensions/nautilus-string-picker.c:
      * libnautilus-extensions/nautilus-string-picker.h:
      * libnautilus-extensions/nautilus-text-caption.c:
      * libnautilus-extensions/nautilus-text-caption.h:
      * libnautilus-extensions/nautilus-undo-manager.c:
      * libnautilus-extensions/nautilus-user-level-manager.c:
      * libnautilus-extensions/nautilus-user-level-manager.h:
      * libnautilus-extensions/nautilus-widgets-self-check-functions.c:
      * libnautilus-extensions/nautilus-widgets-self-check-functions.h:
      * libnautilus-extensions/test-nautilus-preferences.c:
      * libnautilus-extensions/test-preferences.c:
      * nautilus-widgets/Makefile.am:
      * nautilus-widgets/nautilus-caption-table.c:
      * nautilus-widgets/nautilus-caption-table.h:
      * nautilus-widgets/nautilus-caption.c:
      * nautilus-widgets/nautilus-caption.h:
      * nautilus-widgets/nautilus-password-dialog.c:
      * nautilus-widgets/nautilus-password-dialog.h:
      * nautilus-widgets/nautilus-preference.c:
      * nautilus-widgets/nautilus-preference.h:
      * nautilus-widgets/nautilus-preferences-box.c:
      * nautilus-widgets/nautilus-preferences-box.h:
      * nautilus-widgets/nautilus-preferences-dialog.c:
      * nautilus-widgets/nautilus-preferences-dialog.h:
      * nautilus-widgets/nautilus-preferences-group.c:
      * nautilus-widgets/nautilus-preferences-group.h:
      * nautilus-widgets/nautilus-preferences-item.c:
      * nautilus-widgets/nautilus-preferences-item.h:
      * nautilus-widgets/nautilus-preferences-pane.c:
      * nautilus-widgets/nautilus-preferences-pane.h:
      * nautilus-widgets/nautilus-preferences.c:
      * nautilus-widgets/nautilus-preferences.h:
      * nautilus-widgets/nautilus-radio-button-group.c:
      * nautilus-widgets/nautilus-radio-button-group.h:
      * nautilus-widgets/nautilus-string-picker.c:
      * nautilus-widgets/nautilus-string-picker.h:
      * nautilus-widgets/nautilus-text-caption.c:
      * nautilus-widgets/nautilus-text-caption.h:
      * nautilus-widgets/nautilus-user-level-manager.c:
      * nautilus-widgets/nautilus-user-level-manager.h:
      * nautilus-widgets/nautilus-widgets-self-check-functions.c:
      * nautilus-widgets/nautilus-widgets-self-check-functions.h:
      * nautilus-widgets/test-nautilus-preferences.c:
      * nautilus-widgets/test-nautilus-widgets.c:
      * nautilus-widgets/test-preferences.c:
      * src/Makefile.am:
      * src/nautilus-main.c: (main):
      * src/nautilus-sidebar.c:
      * src/nautilus-window-menus.c:
      * test/Makefile.am:
      Move the nautilus-widgets classes to libnautilus-extensions.
      2b631110
    • Ramiro Estrugo's avatar
      Made all headers in this library private. That means they dont · fe3355d7
      Ramiro Estrugo authored
      get installed.
      fe3355d7
  28. 07 Jun, 2000 1 commit
    • Darin Adler's avatar
      The main change here is revamping the undo manager. · 62ae0377
      Darin Adler authored
      	To get a complete check-out you might have to delete
      	the file named libnautilus/nautilus-undo.h that used
      	to be a generated file and is now checked-in.
      
      	* components/help/help-method.c: (vfs_module_transform):
      	Removed a bogus extraneous FIXME.
      
      	* libnautilus-extensions/Makefile.am:
      	Moved the undo manager into libnautilus-extensions
      	since it's not needed by Nautilus components.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus/nautilus-view.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Updated includes and a few small function name changes.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(alive_disconnecter),
      	(nautilus_gtk_signal_connect_full_while_alive):
      	Added a new function that combines the features of
      	gtk_signal_connect_full with gtk_signal_connect_while_alive.
      
      	* libnautilus/nautilus-undo-context.h: [removed]
      	* libnautilus/nautilus-undo-context.c: [removed]
      	* libnautilus-extensions/nautilus-undo-context.h:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (destroy),
      	(nautilus_undo_context_initialize_class):
      	Rewrote this class to simplify it (after moving it here).
      
      	* libnautilus/nautilus-undo-manager.h: [removed]
      	* libnautilus/nautilus-undo-manager.c: [removed]
      	* libnautilus/nautilus-undo-manager-private.h: [removed]
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_forget_transaction),
      	(nautilus_undo_manager_set_queue_depth),
      	(nautilus_undo_manager_attach),
      	(nautilus_undo_manager_add_interface), (update_undo_menu_item),
      	(undo_menu_handler_connection_free),
      	(undo_menu_handler_connection_free_cover),
      	(nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
      	Rewrote this class to simplify it. Got rid of many old
      	interfaces and added some new ones.
      
      	* libnautilus/.cvsignore:
      	* libnautilus/Makefile.am:
      	Renamed the old nautilus-undo.idl to
      	nautilus-distributed-undo.idl.  The IDL is only about the internal
      	part of the undo framework.  Clients use calls that are in
      	nautilus-undo.h. The part that's public needs the prettier name.
      
      	* libnautilus/nautilus-undo.idl: [removed]
      	* libnautilus/nautilus-distributed-undo.idl:
      	Updated the names of menu-item-related things to better match the
      	standard terminology.
      
      	* libnautilus/nautilus-undo-private.h:
      	Added this new header for things needed by the undo manager that
      	are in libnautilus. Maybe we can eliminate this later.
      
      	* libnautilus/nautilus-undo-transaction.h:
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__destroy),
      	(impl_Nautilus_Undo_Transaction__create),
      	(impl_Nautilus_Undo_Transaction__get_undo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_redo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_operation_name),
      	(impl_Nautilus_Undo_Transaction__undo),
      	(nautilus_undo_transaction_new),
      	(nautilus_undo_transaction_initialize),
      	(remove_transaction_from_object),
      	(nautilus_undo_transaction_destroy),
      	(nautilus_undo_transaction_initialize_class),
      	(nautilus_undo_transaction_add_atom),
      	(nautilus_undo_transaction_undo),
      	(nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
      	(remove_atoms_cover),
      	(nautilus_undo_transaction_unregister_object), (undo_atom_free),
      	(undo_atom_undo_and_free), (undo_atom_free_cover),
      	(undo_atom_undo_and_free_cover), (undo_atom_list_free),
      	(undo_atom_list_undo_and_free):
      	Rewrote and simplified this class and got rid of all uses of
      	NautilusUndoable.
      
      	* libnautilus/nautilus-undoable.h: [removed]
      	* libnautilus/nautilus-undoable.c: [removed]
      	* libnautilus/nautilus-undo.h:
      	* libnautilus/nautilus-undo.c: (nautilus_undo_register),
      	(nautilus_undo_register_full), (nautilus_undo_unregister),
      	(nautilus_undo), (nautilus_undo_get_undo_manager),
      	(undo_manager_ref), (undo_manager_unref),
      	(undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
      	(nautilus_undo_share_undo_manager), (set_up_bonobo_control),
      	(nautilus_undo_set_up_bonobo_control):
      	Added this new file with the public interface of the undo code and
      	most of the basic implementation. Most of this was previously in
      	nautilus-undoable.c.
      
      	* nautilus-widgets/nautilus-preferences.c:
      	(preferences_hash_node_free), (preferences_hash_node_add_callback),
      	(preferences_hash_node_remove_callback),
      	(preferences_hash_node_check_changes_func),
      	(preferences_callback_node_alloc),
      	(preferences_callback_node_free),
      	(preferences_callback_node_free_func),
      	(preferences_callback_node_invoke_func),
      	(preferences_gconf_callback):
      	Fixed a repeated spelling error in this file.
      
      	* src/nautilus-application.c: (nautilus_app_init):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus):
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Changed to use public parts of the undo API instead of the old
      	stuff that used private secret stuff. Many places use nice new
      	convenient calls that do a lot of the work for you.
      62ae0377
  29. 05 Jun, 2000 1 commit
  30. 02 Jun, 2000 2 commits
    • Darin Adler's avatar
      Need to unencode the name here because it's used to compare with file · 58b235f0
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory.c: (uri_get_basename):
      	Need to unencode the name here because it's used to compare with
      	file names that come from get_file_info.
      
      	* src/file-manager/dfos-xfer.c: (get_parent_make_name_list):
      	Unescape the result of get_basename to convert it to a plain old
      	file name, since that's why gnome_vfs_xfer wants in its file name
      	lists (for now, see bug 1107).
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-file-changes-queue-private.h:
      	Removed the private header since it's so private it can be in the
      	.c file :-)
      
      	* libnautilus-extensions/nautilus-file-changes-queue.h:
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	(nautilus_file_changes_queue_new),
      	(nautilus_file_changes_queue_get), (nautilus_file_change_free),
      	(nautilus_file_changes_queue_free),
      	(nautilus_file_changes_queue_add_common),
      	(nautilus_file_changes_queue_get_change):
      	A little simplification and reformatting. Got rid of the details
      	indirection since the entire data structure is private.
      58b235f0
    • Ramiro Estrugo's avatar
      Task 667. Unhardcode font strings. · bbb7d78b
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-font-factory.c:
      (nautilus_get_current_font_factory), (nautilus_font_factory_get),
      (nautilus_font_factory_new), (nautilus_font_factory_initialize),
      (nautilus_font_factory_initialize_class), (font_hash_node_alloc),
      (font_hash_node_free), (font_hash_node_lookup),
      (font_hash_node_lookup_with_insertion),
      (nautilus_font_factory_get_font_by_family),
      (nautilus_font_factory_get_font_from_preferences),
      (nautilus_font_factory_get_fallback_font), (make_font_name_string):
      * libnautilus-extensions/nautilus-font-factory.h:
      New class to obtain fonts either by family or from preferences.  A
      specific size can be requested.
      
      Right now its a pretty dumb class, but it can be enhanced to do
      smart things like looking at gtkstyles and/or smarted choosing of
      fonts if the specifically requested size is not avialable.
      
      * components/hardware/nautilus-hardware-view.c: (setup_form_title):
      * components/music/nautilus-music-view.c:
      (nautilus_music_view_initialize):
      * components/rpmview/nautilus-rpm-view.c:
      (nautilus_rpm_view_initialize):
      * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      (setup_form_title):
      * libnautilus-extensions/Makefile.am:
      * libnautilus-extensions/nautilus-icon-container.c:
      (nautilus_icon_container_initialize):
      * src/nautilus-property-browser.c:
      (nautilus_property_browser_initialize):
      * src/nautilus-sidebar-title.c: (nautilus_index_title_update_info):
      Unhardcode xlfd font strings in all of these and use the font
      factory instead.
      bbb7d78b