1. 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
  2. 12 Jul, 2001 1 commit
  3. 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.
      a2146ea8
  4. 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
      	pointers.
      	(get_event_uri), (process_fam_notifications),
      	(nautilus_monitor_file), (nautilus_monitor_directory),
      	(nautilus_monitor_cancel): Use the new CALL_FAM macro so we can
      	use the function pointers when we call FAM.
      1d27a433
  5. 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.
      31fc7f9d
  6. 17 Apr, 2001 3 commits
  7. 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.
      07ad41c6
    • 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
      	monitoring.
      
      	* 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.
      743a376b
    • 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:
      	(nautilus_file_changes_queue_file_changed),
      	(nautilus_file_changes_consume_changes):
      	* libnautilus-extensions/nautilus-directory-notify.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(call_files_changed_unref_free_list),
      	(nautilus_directory_notify_files_changed):
      	Added a new kind of notification for the file changed case.
      e2027710
  8. 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),
      	(nautilus_monitor_remove):
      
      	Fix stupid build breakage.
      68c7ce31
  9. 12 Apr, 2001 2 commits
    • Seth Nickell's avatar
      Add comments to unhandled FAM signals. · 0b7fe855
      Seth Nickell authored
      2001-04-12  Seth Nickell  <snickell@stanford.edu>
      
      	* libnautilus-extensions/nautilus-monitor.c:
      	(nautilus_monitor_process_fam_notifications):
      
      	Add comments to unhandled FAM signals.
      0b7fe855
    • Seth Nickell's avatar
      Add some initial code to deal with file notification and monitoring. This · 442f2343
      Seth Nickell authored
      2001-04-12  Seth Nickell  <snickell@stanford.edu>
      
      	Add some initial code to deal with file notification and
      	monitoring. This isn't hooked in yet, but provides interfaces
      	for Nautilus code to use.
      
      	* configure.in:
      	Add configure checks for FAM.
      
      	* libnautilus-extensions/Makefile.am:
      	Include FAM libraries if they exist.
      
      	* libnautilus-extensions/nautilus-monitor.c:
      	(nautilus_monitor_establish_connection),
      	(nautilus_monitor_get_fam),
      	(nautilus_monitor_find_path_from_request),
      	(nautilus_monitor_find_request_from_path),
      	(nautilus_monitor_delete_first_request_found),
      	(nautilus_monitor_get_uri),
      	(nautilus_monitor_process_fam_notifications),
      	(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
      	(nautilus_monitor_remove):
      	* libnautilus-extensions/nautilus-monitor.h:
      	The code that actually communicates w/ FAM.
      442f2343