1. 10 Sep, 2018 1 commit
  2. 29 Aug, 2016 1 commit
  3. 25 Apr, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      general: merge libnautilus-private to src · 7e24f1b2
      Carlos Soriano Sánchez authored
      And fix make distcheck.
      Although libnautilus-private seem self contained, it was actually
      depending on the files on src/ for dnd.
      Not only that, but files in libnautilus-private also were depending on
      dnd files, which you can guess it's wrong.
      Before the desktop split, this was working because the files were
      distributed, but now was a problem since we reestructured the code, and
      now nautilus being a library make distcheck stop working.
      First solution was try to fix this inter dependency of files, but at
      some point I realized that there was no real point on splitting some of
      those files, because for example, is perfectly fine for dnd to need to
      access the window functions, and it's perfectly fine for the widgets
      in the private library to need to access to all dnd functions.
      So seems to me the private library of nautilus is somehow an artificial
      split, which provides more problems than solutions.
      We needed libnautilus-private to have a private library that we could
      isolate from extensions, but I don't think it worth given the problems
      it provides, and also, this not so good logical split.
      Right now, since with the desktop split we created a libnautilus to be
      used by the desktop part of nautilus, extensions have access to all
      the API of nautilus. We will think in future how this can be handled if
      we want.
      So for now, merge the libnautilus-private into src, and let's rethink
      a better logic to split the code and the private parts of nautilus than
      what we had.
      Thanks a lot to Rafael Fonseca for helping in get this done.
  4. 04 Apr, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      general: remove vim modelines · 1ffb8ca5
      Carlos Soriano Sánchez authored
      Vim and emacs modelines are used to specify some of the code style in the code.
      However, this is misleading and poorly supported since nautilus had a mix of
      code style for some time.
      Also, the mode lines doesn't specify the whole code style, so we will need to
      use a different tool as well to specify the whole code style.
      For that, we can just use a different tool for everything.
      So remove the mode lines, and in a short future we will reestyle the nautilus
      code to have a single code style, and use a tool like editorconfig to specify
      the whole code style.
  5. 22 Jan, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      monitor: don't check for FAM · 1dad6d6f
      Carlos Soriano Sánchez authored
      There is code that is used in case FAM is not available. But
      we use inotify since 2006, so I'm confident we are fine without
      checking for it.
      This remove some not needed code.
  6. 17 Feb, 2014 1 commit
  7. 31 Jan, 2014 1 commit
  8. 19 Oct, 2012 2 commits
  9. 31 Aug, 2012 1 commit
  10. 06 Oct, 2008 1 commit
    • Cosimo Cecchi's avatar
      Remove unnecessary includes of libgnome · c9aff00e
      Cosimo Cecchi authored
      2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>
              * libnautilus-private/nautilus-customization-data.c:
              * libnautilus-private/nautilus-dnd.c:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-global-preferences.c:
              * libnautilus-private/nautilus-icon-dnd.c:
              * libnautilus-private/nautilus-icon-private.h:
              * libnautilus-private/nautilus-monitor.c:
              * src/file-manager/fm-desktop-icon-view.c:
              * src/file-manager/fm-ditem-page.c:
              * src/file-manager/fm-error-reporting.h:
              * src/file-manager/fm-list-view.c:
              * src/file-manager/fm-properties-window.c:
              * src/nautilus-history-sidebar.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-information-panel.c:
              * src/nautilus-location-bar.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-main.c:
              * src/nautilus-navigation-window-menus.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-window-manage-views.c:
              * src/nautilus-window-toolbars.c:
      	Remove unnecessary includes of libgnome
      svn path=/trunk/; revision=14689
  11. 26 Mar, 2008 1 commit
  12. 14 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Require glib 2.15.2 · 07ff14e5
      Alexander Larsson authored
      2008-01-14  Alexander Larsson  <alexl@redhat.com>
      	* configure.in:
      	Require glib 2.15.2
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * src/nautilus-bookmark-list.c:
      	Update to new gio API.
      svn path=/trunk/; revision=13597
  13. 07 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Update to new gio API · 50a2c426
      Alexander Larsson authored
      2008-01-07  Alexander Larsson  <alexl@redhat.com>
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.c:
      	Update to new gio API
      svn path=/trunk/; revision=13567
  14. 14 Dec, 2007 2 commits
    • Alexander Larsson's avatar
      Update to new flags API · 68fc9bae
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-open-with-dialog.c:
      	Update to new flags API
      svn path=/trunk/; revision=13530
    • Alexander Larsson's avatar
      Only use <gio/gio.h> include · 6559286c
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-bookmark.h:
              * libnautilus-private/nautilus-desktop-icon-file.c:
              * libnautilus-private/nautilus-desktop-link-monitor.c:
              * libnautilus-private/nautilus-desktop-link.c:
              * libnautilus-private/nautilus-desktop-link.h:
              * libnautilus-private/nautilus-directory-private.h:
              * libnautilus-private/nautilus-directory.h:
              * libnautilus-private/nautilus-emblem-utils.h:
              * libnautilus-private/nautilus-file-changes-queue.h:
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-file-operations.h:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-file.h:
              * libnautilus-private/nautilus-icon-info.c:
              * libnautilus-private/nautilus-icon-info.h:
              * libnautilus-private/nautilus-link.c:
              * libnautilus-private/nautilus-mime-actions.h:
              * libnautilus-private/nautilus-mime-application-chooser.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-monitor.h:
              * libnautilus-private/nautilus-open-with-dialog.c:
              * libnautilus-private/nautilus-open-with-dialog.h:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-program-choosing.h:
              * libnautilus-private/nautilus-progress-info.h:
              * libnautilus-private/nautilus-recent.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-search-engine-simple.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.h:
              * libnautilus-private/nautilus-ui-utilities.c:
              * libnautilus-private/nautilus-view-factory.h:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-directory-view.h:
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-icon-view.c:
              * src/file-manager/fm-tree-model.h:
              * src/file-manager/fm-tree-view.c:
              * src/nautilus-application.c:
              * src/nautilus-application.h:
              * src/nautilus-bookmark-list.c:
              * src/nautilus-bookmark-list.h:
              * src/nautilus-desktop-window.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-pathbar.c:
              * src/nautilus-pathbar.h:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-property-browser.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-window-menus.c:
      	Only use <gio/gio.h> include 
      svn path=/trunk/; revision=13529
  15. 30 Nov, 2007 1 commit
  16. 08 Dec, 2006 1 commit
  17. 19 Oct, 2006 1 commit
    • Christian Neumair's avatar
      Check for NULL path before calling · 479b32f5
      Christian Neumair authored
      2006-10-19  Christian Neumair  <chris@gnome-de.org>
      	* libnautilus-private/nautilus-file.c:
      	Check for NULL path before calling
      	* libnautilus-private/nautilus-monitor.c:
      	Assert path.
  18. 05 Nov, 2003 1 commit
    • Alexander Larsson's avatar
      Require new gnome-vfs · 3613a86b
      Alexander Larsson authored
      2003-11-05  Alexander Larsson  <alexl@redhat.com>
      	* configure.in:
      	Require new gnome-vfs
      	* components/tree/nautilus-tree-view.c:
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	* libnautilus-private/nautilus-desktop-link.[ch]:
      	* libnautilus-private/nautilus-monitor.c:
      	* libnautilus-private/nautilus-trash-directory.c:
      	* libnautilus-private/nautilus-trash-monitor.[ch]:
      	* src/nautilus-application.c:
      	Use gnome-vfs-volume-manager instead of nautilus-volume-manager.c
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	Set the volume on the nautilusfile
      	* libnautilus-private/nautilus-directory-async.c:
      	Load volume info from link
      	* libnautilus-private/nautilus-file-attributes.h:
      	* libnautilus-private/nautilus-mime-actions.c:
      	Add new VOLUMES attribute
      	* libnautilus-private/nautilus-file-private.h:
      	Add has_volume and has_drive to NautilusFile
      	* libnautilus-private/nautilus-file.[ch]:
      	Add has_volume and has_drive to NautilusFile
      	Volumes/drives are sorted separately
      	* libnautilus-private/nautilus-link-desktop-file.[ch]:
      	* libnautilus-private/nautilus-link.[ch]:
      	Read drive and volume id from links
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/nautilus-desktop-icon-view-ui.xml:
      	Remove volume ops. Remove disks menu
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Implement volume ops using gnome-vfs
      	* src/file-manager/fm-properties-window.c:
      	Handle drives/volumes
      	* src/nautilus-window.c:
      	Make a nicer title for some specific locations
      	* libnautilus-private/nautilus-volume-monitor.[ch]:
      	* libnautilus-private/Makefile.am
      	remove this old crap
  19. 24 May, 2002 1 commit
  20. 22 May, 2002 1 commit
    • Alex Graveley's avatar
      Remove FAM check. · 93fd3d10
      Alex Graveley authored
      2002-05-22  Alex Graveley  <alex@ximian.com>
      	* configure.in: Remove FAM check.
      	* acconfig.h: Remove HAVE_LIBFAM.
      	* libnautilus-private/nautilus-monitor.[ch]: Convert to using
      	gnome-vfs monitors.  nautilus_monitor_active() now checks if FAM
      	can be used by creating a monitor for the user's desktop
      	directory, and caches this if successful.  Adds an idle handler to
      	call nautilus_file_changes_consume_changes(), so multiple file
      	changes have a chance of being chunked together.
  21. 07 Mar, 2002 1 commit
    • Alexander Larsson's avatar
      (merges from stable): · abf700ab
      Alexander Larsson authored
      2002-03-06  Alexander Larsson  <alla@lysator.liu.se>
      	(merges from stable):
      	* libnautilus-private/nautilus-monitor.c:
      	(process_fam_notifications): Tweak comment.
      	* src/nautilus-window-manage-views.c:
      	(cancel_viewed_file_changed_callback), (update_for_new_location):
      	Monitor the existence of the currently viewed file, so we notice
      	when the file is deleted.
              * src/file-manager/fm-directory-view.h:
      	Add emblems_changes method.
              * src/file-manager/fm-directory-view.c:
      	(file_changed_callback): Call emblems_changed.
      	exclude non-writable emblems if directory is not
      	* src/file-manager/fm-icon-view.c:
      	Implement emblem_changes.
      	* src/file-manager/fm-list-view.c:
      	Add GNOME2_CONVERSION_COMPLETE where the emblem icon
      	update is needed.
  22. 19 Feb, 2002 1 commit
    • Michael Meeks's avatar
      setup both the rgba and GdkColor variants. (update_label_color): upd. · b99fa350
      Michael Meeks authored
      2002-02-17  Michael Meeks  <michael@ximian.com>
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_theme_changed): setup both
      	the rgba and GdkColor variants.
      	(update_label_color): upd. color handling.
      	(alloc_colors): allocate the colors on realize
      2002-02-15  Michael Meeks  <michael@ximian.com>
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_get_label_color): return
      	the colors we need, grab them from the style's text
      	information though.
      2002-02-14  Michael Meeks  <michael@ximian.com>
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_set_property): port to
      	(draw_or_measure_label_text): update color handling,
      	could we re-use the gc here ?
      	(draw_stretch_handles): upd gc unref.
      	(nautilus_icon_canvas_item_class_init): upd.
      	* libnautilus-private/nautilus-theme.c
      	(load_theme_document): upd. file tests.
      	* libnautilus-private/nautilus-monitor.c
      	(get_event_uri): use g_build_filename.
      	* libnautilus-private/nautilus-find-icon-image.c
      	(get_user_emblem_path, make_full_icon_path),
      	(make_full_icon_path): upd. file test.
      	* libnautilus-private/nautilus-file-utilities.c
      	(nautilus_get_desktop_directory): upd. file tests.
      	* libnautilus-private/nautilus-directory-metafile.c
      	(nautilus_directory_get_boolean_file_metadata): use
      	strcasecmp not ascii_strdown to save yet more malloc
      	locking penalty.
      	* libnautilus-private/nautilus-directory-background.c
      	(desktop_background_destroyed_callback): upd. root
      	window macro.
      	(image_loading_done_callback): upd g_signal bits.
      	* libnautilus-private/nautilus-volume-monitor.c
      	(nautilus_volume_monitor_class_init): upd file test.
      	* libnautilus-private/nautilus-undo-signal-handlers.c
      	(nautilus_undo_tear_down_nautilus_entry_for_undo): upd.
      	* libnautilus-private/nautilus-undo-manager.c
      	(nautilus_undo_manager_class_init): upd. signal bits.
      	* libnautilus-private/nautilus-trash-monitor.c
      	(nautilus_trash_monitor_class_init): g_cclosureize.
      	(nautilus_trash_monitor_init): g_signal upds.
      	* libnautilus-private/nautilus-trash-file.c
      	(trash_destroy, nautilus_trash_file_init),
      	(remove_real_file): upd. g_signal bits.
      	* libnautilus-private/nautilus-trash-directory.c
      	(nautilus_trash_directory_init): upd. signal connect.
      	(trash_destroy): upd. signal bits.
      	* libnautilus-private/nautilus-program-choosing.c
      	(get_xalf_prefix): upd. find_program_in_path.
      	* libnautilus-private/nautilus-program-chooser.c
      	(nautilus_program_chooser_init): upd. window policy
      	* libnautilus-private/nautilus-merged-directory.c
      	(merged_remove_real_directory): upd. g_signal.
      	(nautilus_merged_directory_class_init): upd. g_closure
      	* libnautilus-private/nautilus-link-desktop-file.c
      	upd. pixmap location.
      	* libnautilus-private/nautilus-icon-factory.c
      	(nautilus_icon_factory_class_init): upd. marshallers
      	(is_theme_in_user_directory): upd. file test.
      	* libnautilus-private/nautilus-icon-dnd.c
      	(auto_scroll_timeout_callback): do a queue_draw_area
      	instead of a widget_draw.
      	* libnautilus-private/nautilus-icon-container.c
      	(set_pending_icon_to_reveal): g_signal updates.
      	(nautilus_icon_container_new): remove visual
      	* libnautilus-private/nautilus-file.c
      	(nautilus_file_fit_date_as_string): upd. julian date get.
      	(nautilus_file_class_init): upd. marshallers.
      	* libnautilus-private/nautilus-file-operations.c
      	(extract_and_ellipsize_file_name_for_dialog): use
      	(nautilus_file_operations_copy_move): use gtk stock.
      	* libnautilus-private/nautilus-file-operations-progress.c
      	(nautilus_file_operations_progress_update): use
      	(nautilus_file_operations_progress_init): prune
      	progress setup - these are the defaults.
      	* libnautilus-private/nautilus-entry.c
      	(nautilus_entry_key_press): upd select_region.
      	* libnautilus-private/nautilus-drag-window.c
      	(get_ancestor_blocked_by): upd type_is_a.
      	* libnautilus-private/nautilus-dnd.c
      	(nautilus_drag_init): g_object ref upd.
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_class_init): marshaller upd..
      	basename upd.
      	* libnautilus-private/nautilus-directory-background.c
      	(desktop_background_realized): g_signal upd.
      	(theme_image_path_to_uri): file test upd.
      	(image_loading_done_callback): object unref on gc & pixmap.
      	(background_changed_callback): g_signal upd.
      	* libnautilus-private/nautilus-bookmark.c
      	(nautilus_bookmark_disconnect_file): g_signal upd.
      	(nautilus_bookmark_uri_known_not_to_exist): upd
      	file test.
      	* libnautilus-private/nautilus-authn-manager.c
      	(authentication_dialog_button_clicked): use
      	* libnautilus-private/Makefile.am: add deprc.
      	* libnautilus/Makefile.am: ditto.
      	* configure.in (DISABLE_DEPRECATED_CFLAGS): add.
      2002-02-13  Michael Meeks  <michael@ximian.com>
      	* libnautilus-private/nautilus-icon-dnd.c
      	re-enterancy protection.
  23. 21 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Change libprofiler location. · 39aacdfa
      Anders Carlsson authored
      2002-01-21  Anders Carlsson  <andersca@gnu.org>
      	* configure.in:
      	Change libprofiler location.
      	* libnautilus-private/nautilus-directory-async.c:
      	(lacks_link_info), (make_dot_directory_uri), (link_info_start):
      	Remove support for gmc style links.
      	* libnautilus-private/nautilus-entry.c:
      	(nautilus_entry_init), (nautilus_entry_finalize),
      	(nautilus_entry_key_press), (select_all_at_idle),
      	Use gtk_idle_add instead and store the idle id in the details
      	struct. This fixes some weirdness in the file properties dialog,
      	since the "destroy" signal can be emitted more than once.
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	Enable underlining.
      	* libnautilus-private/nautilus-monitor.c: (get_event_uri):
      	Silently return if we can't find the base path. This is valid when
      	we've called nautilus_monitor_cancel but still have some events
      	in the queue.
  24. 28 Oct, 2001 1 commit
  25. 15 Sep, 2001 2 commits
  26. 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
      	* 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.
  27. 12 Jul, 2001 1 commit
  28. 11 Jul, 2001 1 commit
    • Alexander Larsson's avatar
      Add HAVE_LIBFAM · a2146ea8
      Alexander Larsson authored
      2001-07-11  Alex Larsson  <alexl@redhat.com>
      	* acconfig.h:
      	Add HAVE_LIBFAM
      	* configure.in:
      	Check for libfam, not only header.
      	* libnautilus-private/Makefile.am:
      	Link to libfam
      	* libnautilus-private/nautilus-monitor.c:
      	Use normal fam library calls.
  29. 28 Apr, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: Robin Slomkowski <rslomkow@eazel.com> · 1d27a433
      Darin Adler authored
      	Update FAM support so it works fine on systems with and without
      	libfam installed. So if you build Nautilus with FAM, then you can
      	run it on a system with or without FAM.
      	* configure.in:
      	* libnautilus-extensions/Makefile.am:
      	Remove the FAM_LIBS part.
      	* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
      	Load the module before the FAMOpen2 call, and get all the function
      	(get_event_uri), (process_fam_notifications),
      	(nautilus_monitor_file), (nautilus_monitor_directory),
      	(nautilus_monitor_cancel): Use the new CALL_FAM macro so we can
      	use the function pointers when we call FAM.
  30. 19 Apr, 2001 1 commit
    • Darin Adler's avatar
      New function to check if the monitoring is working. We'll use this to · 31fc7f9d
      Darin Adler authored
      	* libnautilus-extensions/nautilus-monitor.h:
      	* libnautilus-extensions/nautilus-monitor.c:
      	(nautilus_monitor_active): New function to check if
      	the monitoring is working. We'll use this to decide
      	whether or not to do the "reload the desktop every
      	4 seconds hack" that Miguel is going to check in soon.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(mount_volume_get_name), (mount_volume_activate),
      	(mount_volume_deactivate), (get_cdrom_type):
      	Fixed some Solaris build problems with patch by
      	Laszlo Peter <Laszlo.Peter@ireland.sun.com>.
      	* libnautilus-extensions/nautilus-cdrom-extensions.h:
      	Added missing include needed to build on Solaris
      	from the same patch.
  31. 17 Apr, 2001 3 commits
  32. 16 Apr, 2001 3 commits
    • Darin Adler's avatar
      Don't give a warning if there's no FAM daemon to connect to, just silently · 07ad41c6
      Darin Adler authored
      	* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
      	Don't give a warning if there's no FAM daemon to connect to, just
      	silently don't use FAM.
      	(process_fam_notifications): Improve wording of the warning you
      	get when FAM goes away.
    • Darin Adler's avatar
      Changes to use FAM if it's there. Now the hard part is getting FAM · 743a376b
      Darin Adler authored
      	installed on people's systems.
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(find_monitor): Tightened up the function.
      	(monitor_file_compare), (find_any_monitor): Functions to see if a
      	file still has a reason to be monitored.
      	(nautilus_directory_monitor_add_internal): Start FAM monitoring.
      	(nautilus_directory_monitor_remove_internal): Stop FAM monitoring.
      	* libnautilus-extensions/nautilus-directory-private.h: Add a place
      	to keep track of the FAM monitor.
      	* libnautilus-extensions/nautilus-file-private.h: Add a place
      	to keep track of the FAM monitor.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy): Stop FAM monitoring.
      	* libnautilus-extensions/nautilus-file.c: (destroy): Stop FAM
      	* libnautilus-extensions/nautilus-monitor.c:
      	(get_event_uri): Use FAMREQUEST_GETREQNUM instead of going
      	directly at the struct.
      	(process_fam_notifications): Get rid of the messages and call
      	nautilus_file_changes_consume_changes on the way out.
      	(nautilus_monitor_file): Get rid of the message.
      	(nautilus_monitor_directory): Get rid of the message and use
      	FAMREQUEST_GETREQNUM instead of going directly at the struct.
      	(nautilus_monitor_cancel): Get rid of the message and use
      	FAMREQUEST_GETREQNUM instead of going directly at the struct.
    • Darin Adler's avatar
      Some work on FAM. · e2027710
      Darin Adler authored
      	* libnautilus-extensions/nautilus-monitor.h:
      	* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection),
      	(get_request_hash_table), (get_event_uri),
      	(process_fam_notifications), (nautilus_monitor_file),
      	(nautilus_monitor_directory), (nautilus_monitor_cancel): Improved
      	API, fixed some storage leaks, simplified some code, made it
      	handle URI escaping properly, use the file changes queue. Almost
      	ready for prime time!
      	* libnautilus-extensions/nautilus-file-changes-queue.h:
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	* libnautilus-extensions/nautilus-directory-notify.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	Added a new kind of notification for the file changed case.
  33. 13 Apr, 2001 1 commit
    • Seth Nickell's avatar
      Fix stupid build breakage. · 68c7ce31
      Seth Nickell authored
      2001-04-12  Seth Nickell  <snickell@stanford.edu>
      	* libnautilus-extensions/nautilus-monitor.c:
      	(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
      	Fix stupid build breakage.