1. 09 Oct, 2001 3 commits
    • Darin Adler's avatar
      Require newer versions of various libraries to cut down on the bug reports · c8a38d05
      Darin Adler authored
      	* configure.in: Require newer versions of various libraries to
      	cut down on the bug reports with people using newer nautilus
      	and older versions of those libraries. Including bonobo 1.0.9,
      	eel 1.0.2, librsvg 1.0.1. Remove the freetype stuff here, since
      	that's all taken care of in librsvg. Remove old GNOME2_PATH thing
      	that is definitely not needed. Remove gnome_canvas_set_dither
      	check which is now in eel if needed at all. Remove ammonite
      	configure flags.
      
      	* nautilus.spec.in: Remove freetype dependencies. This is now
      	handled in librsvg.
      
      	* components/mozilla/Makefile.am:
      	* components/mozilla/main.c: (main):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_location_callback), (mozilla_link_message_callback),
      	(mozilla_dom_mouse_click_callback),
      	(navigate_mozilla_to_nautilus_uri), (post_widget_initialize):
      	* src/Makefile.am:
      	Remove dependencies on ammonite and some more remnants of
      	Eazel services code.
      c8a38d05
    • Darin Adler's avatar
      Fix typo. · 9d48f0e9
      Darin Adler authored
      	* libnautilus-private/nautilus-find-icon-image.c:
      	(get_themed_icon_file_path): Fix typo.
      9d48f0e9
    • Darin Adler's avatar
      Fix problem with NULL themes. · f60759e6
      Darin Adler authored
      	* libnautilus-private/nautilus-find-icon-image.c:
      	(get_themed_icon_file_path): Fix problem with NULL themes.
      f60759e6
  2. 08 Oct, 2001 3 commits
    • Darin Adler's avatar
      off · ed442213
      Darin Adler authored
      ed442213
    • Darin Adler's avatar
      Bend to the forces of practicality and mediocrity and turn of the trash · b2ce43ca
      Darin Adler authored
      	* libnautilus-private/nautilus-file.c:
      	(get_automatic_emblems_as_integer),
      	(prepend_automatic_emblem_names): Bend to the forces of
      	practicality and mediocrity and turn of the trash emblem until we
      	can make the "in trash" check fast.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	Tweak formatting.
      b2ce43ca
    • Darin Adler's avatar
      Separate out the part of the code that locates icons. · d668a75d
      Darin Adler authored
      	* libnautilus-private/Makefile.am: New source files.
      
      	* libnautilus-private/nautilus-find-icon-image.h: New.
      	* libnautilus-private/nautilus-find-icon-image.c: New.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	(cache_icon_new): Use new theme structure.
      	(nautilus_icon_factory_destroy): Use new theme structure.
      	(get_mime_type_icon_without_suffix): Use suffix remove function
      	moved into new file by its new name.
      	(set_theme_name): Helper function to keep the theme change code
      	simpler.
      	(icon_theme_changed_callback): Rewrote to get rid of confused
      	juxtaposition of old and new theme concepts.
      	(image_uri_to_name_or_uri): Use suffix remove function moved into
      	new file by its new name.
      	(nautilus_icon_factory_get_emblem_icon_by_name): Use emblem prefix
      	by new name.
      	(load_named_icon): Use nautilus_get_icon_file_name function in new
      	source file.
      	(load_specific_icon), (scale_icon), (load_icon_with_embedded_text):
      	IconDetails is now NautilusIconDetails.
      d668a75d
  3. 07 Oct, 2001 1 commit
    • Darin Adler's avatar
      A few DESTDIR fixes. · 260d1eb6
      Darin Adler authored
      	* Makefile.am:
      	* data/Makefile.am:
      	* helper-scripts/Makefile.am:
      	A few DESTDIR fixes.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	Cache more icons. The old number was arbitrary and way too small.
      260d1eb6
  4. 05 Oct, 2001 3 commits
    • Darin Adler's avatar
      Remove gratuitous suffixes from the icon file search. We now look only for · bf5c57c1
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-factory.c: Remove gratuitous
      	suffixes from the icon file search. We now look only for .svg and
      	.png and .jpg files. Lets use .png files most of the time.
      bf5c57c1
    • Darin Adler's avatar
      removed Remove the code to look for Eazel logos. · e5afc651
      Darin Adler authored
      	* eazel-logos: removed
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_pixmap_file): Remove the code to look for Eazel logos.
      
      	* configure.in:
      	* Makefile.am:
      	* nautilus.spec.in:
      	Remove the code to include the Eazel logos in the tarball and
      	the package.
      
      	* HACKING: Remove the instructions on how to omit the Eazel logos.
      e5afc651
    • Benedikt Roth's avatar
      Implemented DnD for the icon in the file properties dialog · e1ccd6d5
      Benedikt Roth authored
      2001-10-05  Benedikt Roth  <Benedikt.Roth@gmx.net>
      
       	* src/file-manager/fm-properties-window.c: (uri_is_local_image),
       	(fm_properties_window_drag_data_received),
       	(create_image_widget_for_file):
       	Implemented DnD for the icon in the file properties dialog
      e1ccd6d5
  5. 04 Oct, 2001 2 commits
    • Darin Adler's avatar
      A bit more renaming to be explicit about "display name". · 8448ab08
      Darin Adler authored
      	This is slightly gratuitious, because we don't really need to be
      	explicit about which name in every case, but it does no harm and
      	a tiny bit of good.
      
      	* components/tree/nautilus-tree-view.c: (ctree_compare_rows):
      	* libnautilus-private/nautilus-file.c: (compare_by_display_name),
      	(compare_by_full_path), (nautilus_file_compare_for_sort_internal),
      	(compare_by_display_name_cover),
      	(nautilus_file_list_sort_by_display_name),
      	(nautilus_self_check_file):
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-global-preferences.c:
      	(default_icon_view_sort_order_or_manual_layout_changed_callback):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(desktop_icons_compare_callback):
      	* src/file-manager/fm-directory-view.c:
      	(update_directory_in_scripts_menu):
      	* src/file-manager/fm-icon-view.c: (get_default_sort_order),
      	(icon_container_compare_icons_by_name_callback):
      	* src/file-manager/fm-list-view.c: (compare_rows_by_name),
      	(get_attribute_from_sort_type), (real_get_column_specification):
      	* src/file-manager/fm-search-list-view.c:
      	(real_get_column_specification):
      	Change NAUTILUS_FILE_SORT_BY_NAME to NAUTILUS_FILE_SORT_BY_DISPLAY_NAME
      	and compare_by_name to compare_by_display_name and
      	nautilus_file_list_sort_by_name to nautilus_file_list_sort_by_display_name.
      8448ab08
    • Maciej Stachowiak's avatar
      Rename CUSTOM_NAME attribute to DISPLAY_NAME. · dc9c636e
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-file-attributes.h,
      	libnautilus-private/nautilus-file-private.h: Rename CUSTOM_NAME
      	attribute to DISPLAY_NAME.
      
      	* libnautilus-private/nautilus-file.h,
      	libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_name): Always return the real name of the file.
      	(nautilus_file_get_display_name): New function which returns the
      	display name of the file, taking into account special names that
      	may be set for .desktop files or gmc-style links, as
      	nautilus_file_get_name formerly did.
      	(nautilus_file_compare_display_name): Use display name and rename
      	for clarity.
      
      	(destroy, compare_by_name, nautilus_file_get_string_attribute,
      	nautilus_file_get_all_attributes, nautilus_self_check_file):
      	Adjust for custom_name->display_name change, use
      	nautilus_file_get_display_name instead of natilus_file_get_name
      	where appropriate.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	(nautilus_directory_set_up_request), (link_info_done,
      	(link_info_gmc_link_read_callback): Adjust for custom_name->display_name change.
      
      
      	In all the places below, use nautilus_file_get_display_name
      	instead of nautilus_file_get_name:
      
      	* components/text/nautilus-text-view.c: (file_read_callback):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_add),
      	(nautilus_tree_model_node_begin_monitoring_no_connect):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node),
      	(nautilus_tree_view_update_model_node):
      	* libnautilus-private/nautilus-program-chooser.c:
      	(get_file_name_for_display):
      	* libnautilus-private/nautilus-program-choosing.c:
      	(application_cannot_open_location):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_display_selection_info),
      	(real_file_limit_reached), (file_name_from_uri),
      	(add_script_to_script_menus), (add_submenu_to_script_menus),
      	(copy_or_cut_files), (get_executable_text_file_action),
      	(fm_directory_view_activate_file), (finish_loading):
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_loading_directory),
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions), (fm_rename_file):
      	* src/file-manager/fm-icon-view.c:
      	(icon_container_preview_callback), (get_icon_text_callback):
      	* src/file-manager/fm-list-view.c: (match_row_name):
      	* src/file-manager/fm-properties-window.c:
      	(name_field_update_to_match_file),
      	(update_properties_window_title), (create_permissions_page),
      	(create_properties_window):
      	* src/file-manager/fm-search-list-view.c: (real_adding_file):
      	* src/nautilus-window-manage-views.c: (compute_default_title):
      	* src/nautilus-window.c: (nautilus_window_set_viewed_file):
      dc9c636e
  6. 02 Oct, 2001 3 commits
    • Darin Adler's avatar
      Fix the longstanding problem where the Notes and History sidebar · 7d872d04
      Darin Adler authored
      	panels failed to load.
      
      	* libnautilus-private/nautilus-directory-metafile.c:
      	(die_on_failed_activation): Give better error messages.
      	(get_factory): Check the ev result from oaf_activate_from_id
      	rather than relying on getting NIL when it fails.
      	(open_metafile): New helper function.
      	(get_metafile): Don't complain if the open call fails the first
      	time, and re-get the factory and retry before doing a g_error.
      7d872d04
    • Darin Adler's avatar
      Fix bug where we would leave a file monitored when we closed the window. · cc42f95e
      Darin Adler authored
      	* src/nautilus-window.c: (nautilus_window_destroy),
      	(nautilus_window_set_viewed_file): Fix bug where we would leave a
      	file monitored when we closed the window.
      
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(mount_unmount_callback): Formatting tweaks.
      cc42f95e
    • Frédéric Crozat's avatar
      add support for JFS Set locale to "C" before running mount/umoun to be · caab8b42
      Frédéric Crozat authored
      * libnautilus-private/filesystem-attributes.xml: add support for JFS
      * libnautilus-private/nautilus-volume-monitor.c:
      (close_error_pipe), (mount_unmount_callback): Set locale to "C"
      before running mount/umoun to be able to parse mount message in english
      * po/fr.po: Add missing '\n' in one translation which was
      oversizing Nautilus Preference Dialog
      caab8b42
  7. 01 Oct, 2001 4 commits
  8. 28 Sep, 2001 2 commits
  9. 27 Sep, 2001 1 commit
  10. 26 Sep, 2001 3 commits
  11. 25 Sep, 2001 1 commit
    • Darin Adler's avatar
      Ref and sink the new adapter. (nautilus_adapter_new): Remove unused · badc7589
      Darin Adler authored
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_initialize): Ref and sink the new adapter.
      	(nautilus_adapter_new): Remove unused CORBA_Environment.
      	* components/adapter/nautilus-adapter.h: Whitespace tweak.
      
      	* libnautilus-private/nautilus-directory-metafile.c:
      	(nautilus_directory_get_integer_file_metadata):
      	* libnautilus-private/nautilus-file.c: (get_id_from_digit_string):
      	* libnautilus-private/nautilus-icon-factory.c:
      	(parse_attach_points):
      	* libnautilus-private/nautilus-thumbnails.c:
      	(nautilus_thumbnail_load_framed_image):
      	* src/file-manager/fm-icon-view.c:
      	(get_stored_icon_position_callback):
      	A bunch of places were trying to use %*s to detect whether there
      	were stray characters at the end of a string when doing an sscanf.
      	I wrote that code. But it doesn't work. A similar technique that
      	does work is to use %c, and ignore the parsed character.
      
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_uri_get_first_criterion):
      	This place wasn't using the %*s at all, so just remove it.
      badc7589
  12. 24 Sep, 2001 1 commit
  13. 22 Sep, 2001 1 commit
    • Philip Langdale's avatar
      Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511) · 426aa73e
      Philip Langdale authored
      2001-09-21  Philip Langdale  <philipl@mail.utexas.edu>
      
              * Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
              * components/help/converters/gnome-info2html2/html.c
              * components/help/converters/gnome-info2html2/html.h
              * components/help/converters/gnome-info2html2/main.c: Added optional
              "galeon mode" invoked with -g command line param. This involves writing
              fully qualified info: hrefs instead of just the #nodename target,
              which appears to me to be a bug, but might have negative effects on
              nautilus. It also uses ? queries instead of # refs when forming hrefs.
      426aa73e
  14. 20 Sep, 2001 1 commit
    • Darin Adler's avatar
      Change all libxml includes to use #include <libxml/*> instead of #include · be664629
      Darin Adler authored
      	* components/help/hyperbola-nav-index.c:
      	* components/help/hyperbola-nav-search.c:
      	* components/news/nautilus-news.c:
      	* components/text/nautilus-text-view.c:
      	* libnautilus-private/nautilus-customization-data.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-link-set.c:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-metafile.h:
      	* libnautilus-private/nautilus-theme.c:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmark-parsing.c:
      	* src/nautilus-bookmark-parsing.h:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-main.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-window-menus.c:
      	Change all libxml includes to use #include <libxml/*>
      	instead of #include <gnome-xml/*>.
      be664629
  15. 15 Sep, 2001 2 commits
  16. 11 Sep, 2001 1 commit
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · ede19226
      Alexander Larsson authored
      2001-09-05  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* eazel-logos/default.xml:
      	* icons/default.xml:
      	don't hardcode the title, title info, and
      	shadow colors; this prevented the auto-color-selection stuff
      	in nautilus-sidebar-title.c from working properly.
      	And the hardcoded values were the same thing the autoselector
      	would have chosen anyhow.
      
      	* libnautilus-private/nautilus-monitor.c:
      	Don't monitor files on read only volumes, they never change, and
      	will keep cdroms from being unmounted because fam has open file
      	descriptors on them.
      
      	* libnautilus-private/nautilus-thumbnails.c:
      	Always look for local thumbnails first.
      
      	* libnautilus-private/nautilus-volume-monitor.[ch]:
      	Add nautilus_volume_is_read_only() and
      	nautilus_volume_monitor_get_volume_for_path()
      
      	* src/nautilus-desktop-window.c:
      	(set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to
      	avoid confusing kwin so badly, and also to go ahead and support
      	the Window Manager Hints Of The Future.
      	(set_gdk_window_background): only set root background to a pixel
      	if we retrieved a pixel property
      	(map): Set background of our child widgets in addition to our
      	own background. This gets rid of the last of the ugliness during
      	Nautilus startup, I believe.
      
      	* src/file-manager/fm-icon-view.c:
      	Don't read GMC position meta data -- it is never right for nautilus,
      	due to different size icons, additional icons, different placement
      	policies, so falling back to normal automatic placement works better.
      ede19226
  17. 08 Sep, 2001 2 commits
  18. 07 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fix bug where the mount list was stored without full mount names. Don't · a06d3386
      Owen Taylor authored
      2001-09-06  Owen Taylor  <otaylor@redhat.com>
      
              * libnautilus-private/nautilus-volume-monitor.c (verify_current_mount_state):
              Fix bug where the mount list was stored without full mount
              names. Don't call mount_volume_make_name() on volumes that
              might not be on the system any more. Remove code that
              (unsuccesfully) tried to fix the old volume names up, since
              we now have the correct old volume names.
      
              Effect of these changes is to fix a race condition where
              'unmount /mnt/cdrom; eject /dev/cdrom' would leave a left-over
              icon on the deskop.
      a06d3386
  19. 05 Sep, 2001 2 commits
    • Maciej Stachowiak's avatar
      Converted to use the new module callback API. Use async callbacks instead · ab37e3b8
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.c:
      	(construct_password_dialog,
      	present_authentication_dialog_blocking, mark_callback_completed,
      	authentication_dialog_button_clicked,
      	present_authentication_dialog_nonblocking,
      	vfs_async_authentication_callback, vfs_authentication_callback,
      	nautilus_authentication_manager_initialize): Converted to use the
      	new module callback API. Use async callbacks instead of our own
      	mechanism to achieve the same effect.
      ab37e3b8
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · 47a2fa6e
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-file-utilities.[ch]
      	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
      	Get rid of these. No more ~/Nautilus
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(default_home_location_callback): Always use your normal homedir
      	as the home dir.
      
      	* src/nautilus-application.c (check_required_directories): Don't
      	create ~/Nautilus.
      	(create_starthere_link_callback, nautilus_application_startup):
      	Create a start here icon on the desktop.
      	Turn of first time druid (by setting first time flag).
      	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
      	has_wm_state, get_self_typed_prop)
      	Don't manage the desktop if kdesktop is running.
      
      	* src/nautilus-first-time-druid.[ch]:
      	Remove ~/Nautilus handling.
      	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/
      
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add start here to the go menu. Remove leftovers of the "support" menuimem.
      
      	* src/file-manager/fm-directory-view.c:
      	Move scripts to ~/.gnome/nautilus-scripts
      
      	* Makefile.am:
      	Add starthere icons
      
      	* data/Makefile.am:
      	* data/*.desktop.in:
      	* data/*.directory.in:
      	Add starthere desktop files.
      47a2fa6e
  20. 04 Sep, 2001 2 commits
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · a4cea258
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	Change signature of the "handle_uri_list" callback to include the
      	drag action.
      
      	* src/file-manager/fm-icon-view.c (icon_view_handle_uri_list):
      	Handle uri's more gracefully.
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(icon_view_handle_uri_list): Remove.  Now handled in the
      	parent class.
      a4cea258
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · c113f3a2
      Alexander Larsson authored
      2001-09-03  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
      	(mozilla_get_document_title): add this from Galeon
      
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
      	(mozilla_unicode_to_locale): copy code from Galeon to use Mozilla
      	conversion features to convert unicode to locale encoding
      
      	* components/mozilla/nautilus-mozilla-content-view.c
      	(mozilla_title_changed_callback): set title in locale encoding
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(get_metafile): print error and exit if we fail to open the
      	metafile factory; somewhat cleaner than segfaulting.
      
      	* libnautilus-private/nautilus-file.c:
      	Cache user information to avoid many getpwuid calls etc.
      
      	* src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
      	Don't leak pixmap and mask.
      
      	* libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr):
      	64bit clean. Use sizeof (int *), not sizeof (int).
      
      
      	* Makefile.am, nautilus-help.desktop.in: Add a help icon that uses
      	Nautilus
      
      	* components/help/help-method.c (help_name_to_local_path):
      	handle ghelp:toc to go to the default page gnome-help-browser used
      	to go to. kind of a lame hack, but so is this whole vfs module ;-)
      c113f3a2
  21. 02 Sep, 2001 1 commit
    • Maciej Stachowiak's avatar
      Replace authn with authentication throughout. · 3dfb1edf
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.h,
      	libnautilus-private/nautilus-authn-manager.c:
      	(construct_password_dialog),
      	(present_authentication_dialog_blocking),
      	(authentication_dialog_button_clicked),
      	(authentication_dialog_closed), (authentication_dialog_destroyed),
      	(present_authentication_dialog_nonblocking),
      	(run_authentication_dialog_on_main_thread),
      	(vfs_authentication_callback),
      	(nautilus_authentication_manager_initialize):
      
      	Replace authn with authentication throughout.
      
      	* src/nautilus-application.c (finish_startup): Adjust to rename.
      
      	* RENAMING: Suggest renaming nautilus-authn-manager to
      	nautillus-authentication-manager.c
      3dfb1edf