1. 05 Feb, 2002 1 commit
    • Anders Carlsson's avatar
      Port to GtkTreeView, lots of work still remains though. · c1758967
      Anders Carlsson authored
      2002-02-05  Anders Carlsson  <andersca@gnu.org>
      	* components/tree/Makefile.am:
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_node_set_parent), (nautilus_tree_node_new),
      	(nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons),
      	(nautilus_tree_model_get_type), (nautilus_tree_model_init),
      	(nautilus_tree_model_class_init), (uri_get_parent_text),
      	(nautilus_tree_model_get_node), (report_node_changed),
      	(report_root_node_if_possible), (process_file_change),
      	(nautilus_tree_model_get_iter), (nautilus_tree_model_get_path),
      	(nautilus_tree_model_get_value), (nautilus_tree_model_iter_next),
      	(nautilus_tree_model_set_root_uri), (nautilus_tree_model_new),
      	(nautilus_tree_model_dump_helper), (nautilus_tree_model_dump):
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-view.c: (create_tree),
      	(tree_activate_callback), (dump_tree), (nautilus_tree_view_init),
      	* components/tree/nautilus-tree-view.h:
      	Port to GtkTreeView, lots of work still remains though.
      	* src/nautilus-application.c: (finish_startup):
      	Remove GMC trash migration.
  2. 01 Feb, 2002 1 commit
    • John Harper's avatar
      Make the search feature work again: · f828c6c3
      John Harper authored
      2002-01-31  John Harper  <jsh@unfactored.org>
      	Make the search feature work again:
      	* configure.in: fixed how HAVE_MEDUSA is defined. Add
      	* src/file-manager/fm-search-list-view.c: moved some of the
      	GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
      	functional object, just without some of the features of the
      	* src/nautilus-shell-ui.xml: copied search parts from nautilus
      	1 version
      	* src/nautilus-application.c (create_object): reenable
      	search-list-view creation
      	* src/file-manager/nautilus-indexing-info.c: random changes to
      	make it compile (untested as yet)
  3. 23 Jan, 2002 1 commit
    • Michael Meeks's avatar
      re-remove the per display IID creation scheme - it's broken. · e7c91ff2
      Michael Meeks authored
      2002-01-23  Michael Meeks  <michael@ximian.com>
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): re-remove the
      	per display IID creation scheme - it's broken.
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_draw): kill, no draw methods
      	in gtk 2.0
      	(draw_throbber_image): remove bonobo bug
      	workaround, if it still exists it should be fixed
      	in bonobo and fold into
      	(nautilus_throbber_expose): here
      	(draw_pixbuf): fold into
      	(nautilus_throbber_expose): here, and fix
      	rendering bugs.
      	(nautilus_throbber_size_allocate): kill bogus
      	sizing logic.
      	(nautilus_throbber_button_release_event): do
      	(nautilus_throbber_destroy): remove
      2002-01-21  Michael Meeks  <michael@ximian.com>
      	* src/nautilus-window.c,
      	* src/nautilus-application.c,
      	* src/nautilus-view-frame.c,
      	* libnautilus-private/nautilus-undo-manager.c,
      	* libnautilus-private/nautilus-metafile-factory.c,
      	* libnautilus/nautilus-undo-transaction.c,
      	* libnautilus-private/nautilus-directory-metafile.c
      	(get_factory): update referencing.
      	* libnautilus/nautilus-view.c
      	(nautilus_view_get_view_frame): impl. helper to
      	reduce sync CORBA traffic.
      	(view_frame_call_end, view_frame_call_begin): upd.
      	(nautilus_view_dispose): release the CORBA ref. if we
      	took it.
      	(nautilus_view_set_frame): unset the frame if we
      	loose it.
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(add_numbered_menu_item_internal): kill the label encoding.
      	(nautilus_bonobo_add_submenu): ditto.
      	(nautilus_bonobo_set_icon): kill unused.
      	* components/adaptor/bonobo-stream-vfs.[ch]: remove, now
      	inside gnome-vfs.
  4. 17 Jan, 2002 1 commit
    • Darin Adler's avatar
      Remove unneeded code and restore display-specific registration. This gets · 639ce8e4
      Darin Adler authored
      	* components/hardware/main.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/throbber/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	* src/nautilus-main.c: (main):
      	Remove unneeded code and restore display-specific registration.
      	This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs.
      	* libnautilus-private/nautilus-directory-metafile-monitor.h:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile-factory.h:
      	* libnautilus-private/nautilus-metafile.h:
      	These had emacs mode lines that said they were IDL files.
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus-private/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	* src/nautilus-application.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-sidebar-title.c: (measure_width_callback),
      	(update_more_info): First cut at implementing date that fits into
      	sidebar. Not working yet.
      	* src/nautilus-theme-selector.c:
      	Remove eel_gtk_window_set_up_close_accelerator call, since this is a
      	GtkDialog that comes its own close accelerator.
  5. 08 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Remove preferences calback in ::finalize. · ab5fb6c7
      Anders Carlsson authored
      2002-01-08  Anders Carlsson  <andersca@gnu.org>
      	* src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove
      	preferences calback in ::finalize.
      	(nautilus_zoom_control_unload_images): Set image pointers to NULL after
      	unloading images.
      	* src/nautilus-window-menus.c: Remove some userlevel #defines.
      	* src/nautilus-switchable-search-bar.c
      	(nautilus_switchable_search_bar_finalize): Remove the preferences callback
      	in ::finalize instead of ::destroy.
      	* src/nautilus-switchable-navigation-bar.c: Create the search bar lazily.
      	Creating the search bar came up high on the profile when creating new windows,
      	and doing it lazily helps, especially when we don't have medusa support yet.
      	(nautilus_switchable_navigation_bar_finalize): Free details in ::finalize.
      	* src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize):
      	Free details in ::finalize.
      	(nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could
      	call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo
      	and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead.
      	* src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab.
      	(nautilus_sidebar_finalize): Move things from ::finalize to ::destroy.
      	* src/nautilus-preferences-dialog.c
      	(preferences_dialog_populate_themes_group): The image chooser isn't
      	broken anymore so we can enable it now.
      	* src/nautilus-main.c (main): Call gtk_main instead of bonobo_main
      	since bonobo_main is for non-gui apps and won't be affected by
      	* src/nautilus-location-bar.c: Destroy things in ::finalize
      	instead of in ::destroy.
      	* src/nautilus-profiler.c: Port to GtkTextView.
      	* src/nautilus-application.c (nautilus_application_new):
      	Call bonobo_generic_factory_construct_noreg so that we set
      	the IID.
      	(nautilus_application_destroy): Unref the undo manager
      	in ::destroy instead.
      	* libnautilus-private/nautilus-icon-container.c:
      	Use g_list_sort_with_data when sorting icons so we can get rid
      	of the hack_icon_container hack.
      	* libnautilus-private/nautilus-entry.c: Free details struct
      	in ::finalize instead of in ::destroy
      	* libnautilus-private/nautilus-icon-dnd.c
      	(confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES.
      	* libnautilus-private/nautilus-file-operations.c
      	(confirm_empty_trash): Compare with GTK_RESPONSE_YES.
      So now you know what I've been doing during christmas...
  6. 12 Dec, 2001 1 commit
    • Michael Meeks's avatar
      protect vs. double destroy. · f9769d4c
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      	* src/nautilus-window.c (nautilus_window_destroy):
      	protect vs. double destroy.
      	* src/nautilus-window-manage-views.c (disconnect_view):
      	start macro definitions on the first line.
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
      	protect vs. double destroy.
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
      	and theoretical re-enterancy hazard.
      	* src/nautilus-sidebar-title.c
      	(nautilus_sidebar_title_destroy): protect vs. double
      	* src/nautilus-application.c (create_object): re-enable
      	list view.
      	* src/file-manager/fm-list-view.c: re-enable.
  7. 09 Nov, 2001 1 commit
  8. 08 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove Nautilus 1 news. This file is empty for now. Add some renaming · 3f4aeca2
      Darin Adler authored
      	* NEWS: Remove Nautilus 1 news. This file is empty for now.
      	* RENAMING: Add some renaming ideas.
      	* TODO: Add a tiny porting to-do list. I should take that
      	survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put
      	it in here.
      	* TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in
      	here any more.
      	* Makefile.am: Remove TRADEMARK_NOTICE.
      	* components/help/hyperbola-nav-index.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* libnautilus-private/nautilus-authn-manager.c:
      	* libnautilus-private/nautilus-file-operations-progress.c:
      	* libnautilus-private/nautilus-file-operations-progress.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-about.h:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c:
      	First cut at converting to GtkDialog from GnomeDialog.
  9. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove nautilus-clean.sh -- use bonobo-slay instead. · 0bdc094f
      Darin Adler authored
      	* Makefile.am:
      	* README:
      	* nautilus-clean.sh:
      	* nautilus.spec.in:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Remove nautilus-clean.sh -- use bonobo-slay instead.
      	* libnautilus-private/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): The -2 feature is gone from
      	gtk_window_set_default_size, so use -1.
      	* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
      	(nautilus_sidebar_title_select_text_color), (update_title_font),
      	(update_title), (measure_width_callback), (update_more_info),
      	(sidebar_title_create_more_info_label): Change to use GtkLabel
      	instead of EelLabel for now -- that makes us actually get a label.
  10. 04 Nov, 2001 3 commits
    • Darin Adler's avatar
      Tons of files. More GtkObject -> GObject stuff. · bdcd4787
      Darin Adler authored
      	* Tons of files.
      	More GtkObject -> GObject stuff.
    • Darin Adler's avatar
      More GtkObject -> GObject stuff. · 612ee980
      Darin Adler authored
      	* components/text/nautilus-text-view.c: (nautilus_text_view_init):
      	* libnautilus/nautilus-view.c:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_init):
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-application.c: (nautilus_application_startup),
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c: (add_sidebar_panel_callback):
      	More GtkObject -> GObject stuff.
    • Darin Adler's avatar
      Many files. Update for change in Eel boilerplate macro names. · c9109022
      Darin Adler authored
      	* Many files.
      	Update for change in Eel boilerplate macro names.
      	* src/nautilus-application.c: (nautilus_application_startup):
      	GtkObject -> GObject.
      	* src/nautilus-shell.c: (nautilus_shell_class_init), (finalize),
      	GtkObject -> GObject.
  11. 02 Nov, 2001 1 commit
    • Darin Adler's avatar
      More changes to make Nautilus get closer to running. · 9ab32f9c
      Darin Adler authored
      	* libnautilus-private/nautilus-bonobo-extensions.h: Remove
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	Same fixes Havoc did, formatted differently.
      	* libnautilus-private/nautilus-undo-manager.c: (corba_append),
      	(corba_forget), (corba_undo), (nautilus_undo_manager_new),
      	(finalize), (nautilus_undo_manager_class_init):
      	GtkObject -> GObject fixes. bonobo_object_from_servant fixes.
      	* nautilus-clean.sh: Not sure if we still need this, but
      	change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server.
      	* nautilus.spec.in: Some updates, not sure if they are right.
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_finalize), (nautilus_application_class_init):
      	GtkObject -> GObject fixes.
      	* src/nautilus-main.c: (main): Use gnome_program_init.
      	* src/Makefile.am: Define a bunch more stuff used by
  12. 31 Oct, 2001 1 commit
  13. 30 Oct, 2001 1 commit
  14. 28 Oct, 2001 1 commit
  15. 15 Sep, 2001 1 commit
  16. 05 Sep, 2001 1 commit
    • 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.
      	* 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.
  17. 02 Sep, 2001 1 commit
    • Maciej Stachowiak's avatar
      Replace authn with authentication throughout. · 3dfb1edf
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.h,
      	(authentication_dialog_closed), (authentication_dialog_destroyed),
      	Replace authn with authentication throughout.
      	* src/nautilus-application.c (finish_startup): Adjust to rename.
      	* RENAMING: Suggest renaming nautilus-authn-manager to
  18. 15 Aug, 2001 2 commits
    • Darin Adler's avatar
      A pass at cleaning up the volume monitor. Made all the details of · c4b8cdd4
      Darin Adler authored
      	NautilusVolume private.
      	* libnautilus-private/filesystem-attributes.xml: Changed the
      	"description" string to be named "default_volume_name" and also
      	marked it to be localized.
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file-utilities.c:
      	Added a new utility function to locate a file that's either in the
      	user's directory or in the Nautilus datadir.
      	* src/nautilus-property-browser.c: (read_browser_xml): Use
      	* libnautilus-private/nautilus-trash-directory.c:
      	* libnautilus-private/nautilus-trash-monitor.c:
      	* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
      	(create_unique_volume_name), (create_mount_link),
      	(volume_unmounted_callback), (update_disks_menu):
      	* src/nautilus-application.c: (volume_mounted_callback),
      	* src/nautilus-bookmark-list.c:
      	Use only calls from the NautilusVolume public API -- no getting at
      	the structure directly. Also fix callers that were using
      	nautilus_volume_monitor_get_volume_mount_uri to correctly
      	understand that they get the mount path, not the mount URI.
      	* libnautilus-private/nautilus-volume-monitor.h:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(load_file_system_table): Fix storage leaks. Use the new
      	nautilus_get_data_file_path. Translate the default volume names as
      	they are loaded. Check for duplicate entries while loading the
      	table. Don't bother checking the name of the root node, since
      	there are plenty of other things about the file that we don't
      	check and there's no reason we particularly need to check that.
      	Fix some storage leaks. Free the doc, since I'm not seeing a
      	"nautilus --quit" segfault.
      	(nautilus_volume_monitor_initialize): Only initialize stuff that
      	g_new0 won't set up for us.
      	(nautilus_volume_is_removable): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(volume_is_removable): Fix logic so we don't have to have so many
      	different calls to fclose.
      	(nautilus_volume_get_name): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(modify_volume_name_for_display): Don't bother supplying a name if
      	passed NULL, since that won't ever be helpful the way this is used.
      	(nautilus_volume_get_target_uri): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(nautilus_volume_should_integrate_trash): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor. Get the information
      	from the file system type, so we don't have to copy it into each
      	NautilusVolume object.
      	(nautilus_volume_get_mount_path): Rename so it's a call on
      	NautilusVolume, and don't call it a URI since it's really a path.
      	(nautilus_volume_get_device_type): New call.
      	(make_volume_name_from_path): Get the default from the file system
      	type rather than passing it in.
      	(free_mount_list): Get rid of some dumb extra code.
      	(copy_volume), (nautilus_volume_free): Update for smaller set of
      	(create_volume), (finish_creating_volume),
      	(finish_creating_volume_and_prepend): Restructure so we don't need
      	to keep so much stuff around in the NautilusVolume object.
      	* src/nautilus-first-time-druid.c:
      	(druid_set_first_time_file_flag): Some tiny tweaking.
    • Seth Nickell's avatar
      Load filesystems from an XML file rather than hardcoding the various · 64ff8e32
      Seth Nickell authored
      2001-08-14  Seth Nickell  <snickell@stanford.edu>
      	Load filesystems from an XML file rather than hardcoding
      	the various attributes and behaviors. Some properties, such
      	as for CDDA and NFS, are still hardcoded because they require
      	actual code. This also makes it easier to add new filesystems.
      	* libnautilus-private/filesystem-attributes.xml
      	Filesystem description file.
      	* libnautilus-private/Makefile.am:
      	Add filesystem-attribute.xml to the build.
      	* libnautilus-private/nautilus-volume-monitor.c:
      	Don't try to detect filesystem strings and associate them
      	with an enumeration type...nix the enumeration altogether
      	since its not compatible with dynamically loading the
      	(get_xml_path), (load_filesystem_attributes_table)
      	Functions for reading in filesystem-attribute.xml and
      	loading the various filesystems into a hashtable.
      	Read in the filesystem attributes table.
      	(get_removable_volumes), (mount_volume_deactivate),
      	(get_mount_list), (get_current_mount_list),
      	Take a file attributes hashtable, or pass one to a
      	CDDA is the only system we need to deal with in an unusual
      	way. Take out a long list and just check for CDDA.
      	Use information read from the file rather than hardcoding
      	a list of filesystems that can use trash (should be the
      	same for now).
      	(make_volume_name_from_path), (mount_volume_make_name)
      	Get name out of the filesystem table rather than hardcoding.
      	We were deciding if a device was *really* a CDROM by
      	doing an ioctl on it to determine the drive status. This
      	is a good check...except that on systems using DevFS
      	devices can be user mountable without being user readable
      	by default. Also, on my system it fails if there's no
      	disk in the drive itself.
      	Continue setting the device if its a floppy drive (eventually
      	this should probably be cleaned out too), but don't set the
      	filesystem type since we don't use the enum anymore.
      	Set as a CDDA device, but not a CDDA volume (since we don't
      	have hardcoded volume types anymore).
      	Don't set NFS type since the enum was blown away.
      	Accept a filesystem table and set attributes read from
      	filesystem-attributes.xml if a volume's filesystem is found
      	in the table. Perhaps eventually we should just assign a
      	reference to the volume entry, but this was simpler for
      	now since some functions modify things like the description.
      	Deal with copying the new attributes.
      	* libnautilus-private/nautilus-volume-monitor.h:
      	Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
      	Deal with rename of NAUTILUS_DEVICE_CD_ROM
      	* src/nautilus-application.c: (volume_mounted_callback):
      	Deal with rename of NAUTILUS_DEVICE_CD_ROM
      	* AUTHORS:
      	Update E-mail address.
      	* configure.in:
      	Make "FAM not found" warning a little more serious and
      	informative. We particularly want to encourage distributors
      	to enable FAM support.
  19. 02 Aug, 2001 1 commit
    • Michael Fleming's avatar
      Added gnome-vfs authentication dialog support. Currently works with HTTP · 77cb5a29
      Michael Fleming authored
              Added gnome-vfs authentication dialog support.
              Currently works with HTTP basic and proxy authentication.
              A bug causes the dialog to appear more than once in quick succession
              in some cases.
              Separate processes (eg sidebar components) that need to access
              a protected URL will also pop open their own individual dialogs
              at this point
              There's also no integration with Mozilla at this point, so
              Mozilla too will prompt separately.
              This code works against gnome-vfs head and the gnome-vfs-1-0
              branch, as well as the soon-to-be-released gnome-vfs 1.0.2
  20. 11 Jun, 2001 1 commit
    • Darin Adler's avatar
      Updated version to for the 1.0.4 candidate build. · 0974316c
      Darin Adler authored
      	* configure.in: Updated version to for the 1.0.4
      	candidate build.
      	* icons/gnome/Makefile.am: Added missing backslash character.
      	Without it, many icons didn't get installed.
      	* src/nautilus-application.c: (need_to_show_first_time_druid):
      	Fix some code that was building a URL by sticking a file://
      	onto the front of a file name. I just changed it to use the
      	path directly and do a plain unlink instead of gnome_vfs_unlink.
      	* src/nautilus-profiler.c:
      	Use gnome_vfs_get_uri_from_local_path instead of just sticking
      	a file:// on the front of a path name.
  21. 10 May, 2001 1 commit
    • Darin Adler's avatar
      Integrated a patch from peter@ximian.com to move the · 3ac90bea
      Darin Adler authored
      	MOZILLA_FIVE_HOME-setting code from the main Nautilus program
      	(where it does no good) to the Mozilla component (which is a nicer
      	place for it anyway).
      	While integrating the patch I made some other small cleanups to
      	the Mozilla component and the patch itself. I removed the code to
      	set up LD_LIBRARY_PATH, since it's not needed, and changed the name
      	of some things and simplified others.
      	* components/mozilla/Makefile.am: Define PREFIX.
      	* components/mozilla/main.c: (is_good_mozilla_path),
      	(get_mozilla_path), (set_up_MOZILLA_FIVE_HOME), (main): Add the
      	new code to set up MOZILLA_FIVE_HOME.
      	* src/nautilus-application.c: (finish_startup): Remove the code
      	from the old place.
      	* check-THANKS.pl: Updated.
  22. 07 May, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 3646403e
      Darin Adler authored
      	Fix bug 8251 (Mozilla component crashes every time I try to view a
      	web page) by putting the same logic for locating Mozilla that is
      	used by galeon into Nautilus.
      	* src/nautilus-application.c: (is_mozilla_path_good),
      	(get_mozilla_path), (find_mozilla): Code to find Mozilla and set
      	up some environment variables that matches the code in galeon's
      	startup script.
      	(finish_startup): New function for initialization code that should
      	be done only in the main Nautilus, not in clients that are going
      	to contact the main Nautilus. More initialization should be moved
      	in here over time. Calls find_mozilla among other things.
      	(nautilus_application_startup): Moved the sound initialization and
      	the code to migrate desktop directory contents inside the new
      	initialization function.
  23. 04 May, 2001 2 commits
  24. 03 May, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 40a99771
      Darin Adler authored
      	Fixed bug 8232 (Trash.gmc and home directory link files made by
      	gmc show on Desktop):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_should_show): Moved special case for gmc files in
      	(filter_hidden_and_backup_partition_callback): Removed special
      	case for gmc files, since it's now in the lower level. Also fixed
      	code that was casting a pointer to an int without using
      	* src/nautilus-application.c: Fix typo.
  25. 28 Apr, 2001 1 commit
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 77e82924
      John Harper authored
      2001-04-27  John Harper  <jsh@eazel.com>
      	reviewed by: Darin Adler <darin@eazel.com>
      	Fixed bug 7732 (opening window from prompt spawns endless
      	process cycle):
      	* src/nautilus-application.c (desktop_changed_callback): call
      	update_session () directly
      	(update_session): don't check the SHOW_DESKTOP preference to
      	see if we should add ourselves to the session, check that the
      	current process has actually _created_ a desktop window
      	(init_session): don't register a listener for the SHOW_DESKTOP
      	preference since it's called by desktop_changed_callback ()
  26. 27 Apr, 2001 2 commits
  27. 24 Apr, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · a72923da
      Darin Adler authored
      	Add a new command-line option "--no-desktop" as requested by
      	fcrozat on behalf of people who want to run Nautilus under KDE as
      	well as under GNOME. The option has no effect if Nautilus is
      	already running, but if it's the first invocation of Nautilus,
      	then no desktop-related preferences show up and the desktop is
      	not shown regardless of the setting of those preferences.
      	* src/nautilus-main.c: (main): Add the no-desktop option. Make the
      	desktop-related preferences invisible if it's on, and pass it down
      	to the NautilusApplication.
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Don't start the desktop if no_desktop is passed in. Otherwise
      	decide based on the preference.
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(preferences_box_find_row): Mark this private function static.
      	(preferences_box_populate_pane): Get rid of code that would
      	translate the pane_name twice.
      	(nautilus_preferences_dialog_new): Simplified this code a bit.
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-preferences.c:
      	(nautilus_preferences_is_visible): Added new flag to make a
      	preference invisible.
      	* src/nautilus-first-time-druid.h:
      	* src/nautilus-first-time-druid.c: (set_up_gmc_transition_page),
      	(nautilus_first_time_druid_show): Removed code that used to make
      	the druid default based on the desktop preference.
      	Fixed the Tinderbox.
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(default_default_folder_viewer_callback): Allow NULL because that
      	happens during self-check.
  28. 23 Apr, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 4bcb92e2
      John Sullivan authored
      	Fixed bug 8024 (Default folder viewer chosen from "View As..."
      	window is not reflected in Preferences dialog)
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	Put iids for Icon and List view here since they must be accessed
      	from multiple places now. Add NAUTILUS_DEFAULT_FOLDER_VIEWER_OTHER
      	enum case. Add prototype for
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(get_default_folder_viewer_preference_from_iid): New helper function,
      	returns appropriate NAUTILUS_DEFAULT_FOLDER_VIEWER preference value
      	based on folder-viewing iid.
      	(default_default_folder_viewer_callback): New function to determine
      	default value of NAUTILUS_DEFAULT_FOLDER_VIEWER preference; uses
      	gnome_vfs_mime (name is not a typo).
      	(set_default_folder_viewer_in_gnome_vfs): New function,
      	updates gnome-vfs mime database properly for new folder-viewing iid.
      	(default_folder_viewer_changed_callback): New function, reacts
      	to change in NAUTILUS_DEFAULT_FOLDER_VIEWER preference by updating
      	gnome-vfs mime database (moved here from nautilus-application.c).
      	(nautilus_global_preferences_set_default_folder_viewer): New public
      	function to set the default folder viewer with an iid; handles setting
      	both gnome-vfs and gconf's values.
      	(nautilus_global_preferences_initialize): Add callback for when
      	default folder viewer changes (moved here from nautilus-application.c).
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(set_default_for_type): Special-case folder viewer to call
      	* src/file-manager/nautilus-directory-view-ui.xml: Changed
      	"Reset to View Preferences" to "Reset View to Match Preferences".
      	It's really long, but the former was very unclear. Improvements
      	to wording are hereby solicited.
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(default_folder_viewer_changed_callback): Updated for #define
      	name changes.
      	(nautilus_application_startup): Moved code that reacted to
      	default folder viewer preference to nautilus-global-preferences.c.
  29. 21 Apr, 2001 1 commit
    • Gene Z. Ragan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 5900c441
      Gene Z. Ragan authored
      2001-04-20  Gene Z. Ragan  <gzr@eazel.com>
      	reviewed by: Darin Adler <darin@eazel.com>
      	Fixed bug 8073, roll over Red Hat patches for their
      	"plug-n-play" feature to Nautilus.
      	The code does not use magicdev, but instead uses our
      	distribution agnostic volume monitor to achieve identical,
      	and in some cases superior, results.
      	* libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort),
      	(mount_volume_get_name), (mount_volume_activate),
      	(mount_volume_deactivate), (mount_volume_floppy_add),
      	(mount_volume_ext2_add), (mount_volume_udf_add),
      	(mount_volume_vfat_add), (mount_volume_msdos_add),
      	(mount_volume_iso9660_add), (mount_volume_affs_add),
      	(mount_volume_auto_add), (mount_volume_cdda_add),
      	(mount_volume_fat_add), (mount_volume_hpfs_add),
      	(mount_volume_hsfs_add), (mount_volume_minix_add),
      	(mount_volume_nfs_add), (mount_volume_proc_add),
      	(mount_volume_reiserfs_add), (mount_volume_ufs_add),
      	(mount_volume_smb_add), (mount_volume_unsdos_add),
      	(mount_volume_xenix_add), (mount_volume_xiafs_add), (find_volumes),
      	(create_volume), (copy_volume), (mount_volume_add_filesystem):
      	Determine device type when performing volume type specific mount tasks.
      	* libnautilus-extensions/nautilus-volume-monitor.h:
      	Add new device type enumeration.
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
      	* src/nautilus-application.c: (volume_mounted_callback):
      	Check for cdroms being mounted and open a window to the cdrom
      	mount point if the user has specified that behavior in the
      	gnome preferences.
  30. 20 Apr, 2001 4 commits
    • Darin Adler's avatar
      Fixed bug where toggling the "desktop is home" preference would · 228523fc
      Darin Adler authored
      	fail after you toggled the desktop on and off.
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Don't pass the desktop window as callback data.
      	(desktop_location_changed_callback): Use the desktop window global
      	instead of callback data.
    • Ramiro Estrugo's avatar
      Do the required directory check only if the nautilus shell is not about to · 8d3fb8ca
      Ramiro Estrugo authored
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Do the required directory check only if the nautilus shell is not
      	about to be killed.  As a side effect of the new desktop location
      	preference, the required directory code now checks preferences.
      	Unfortunately, at this stage in the game, nautilus preferences
      	might not be initialized, causing assertions.  This only occurs in
      	the "nautilus --quit" case.
    • Seth Nickell's avatar
      Fix the condition of assertions when toggling the desktop directory · 7dc8ae2e
      Seth Nickell authored
      2001-04-20  Seth Nickell  <snickell@stanford.edu>
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* src/nautilus-application.c: (desktop_location_changed_callback):
      	Fix the condition of assertions when toggling the desktop directory
      	location if the desktop window is not being displayed.
    • Seth Nickell's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 72457639
      Seth Nickell authored
      2001-04-19  Seth Nickell  <snickell@stanford.edu>
      	reviewed by: Darin Adler <darin@eazel.com>
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	Add a preference for having the desktop directory point at the
      	Unix homedir rather than the default Nautilus desktop directory.
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	Check the preference and return the appropriate directory.
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(confirm_ok_to_run_as_root), (desktop_location_changed_callback):
      	Add a callback for updating the desktop when the preference
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-desktop-window.c:
      	Add boolean variable affect_desktop_on_next_location_change to
      	allow reloading of the desktop dir (rather than loading on open
      	in to a new/toplevel window). Add a function for telling the
      	desktop window to point to the updated destkop location.
      	* src/nautilus-window-manage-views.c: (open_location):
      	Check whether this open should be done in the desktop itself or
      	if we should open a new window (/ recycle an existing window).
  31. 17 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Implement the missing GconfValue comparison for lists. · ba29511a
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-gconf-extensions.c:
      	(simple_value_is_equal), (nautilus_gconf_value_is_equal):
      	Implement the missing GconfValue comparison for lists.
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	More consistent name for the icon captions preference.
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_register_enumerations): Allow enumeration ids
      	to be installed for string lists.  A bit of a hack to let
      	enumeration lists work in the NautilusPreferencesItem object.
      	(global_preferences_install_one_default): Add support for string
      	Move the icon captions widgetry from its own lonesome dialog into
      	the preferences dialog.
      	* libnautilus-extensions/nautilus-preferences-box.h:
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	Remove unused parameter from constructor.  Remove some crufty
      	unused code.  Match the Nautilus style more.
      	* libnautilus-extensions/nautilus-preferences-dialog.h:
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	Remove some crufty unused signals, defines and code.  Match the
      	Nautilus style more.  Dont hard code the default size.  Let Gtk do
      	that work for us.  Remove unused dialog_destroy callback.
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(preferences_item_create_font), (preferences_item_create_padding),
      	Add support for enumerations lists.
      	Cleanup the way children are added to the main box.  Allow for
      	more than one child (for enum list support).  Keep a list of
      	widgets and their respective changed signal ids, so they can all
      	be blocked and unblocked when needed.
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-preferences.c:
      	(update_auto_string_list), (preferences_entry_update_auto_storage),
      	Add support for auto storage of string lists.
      	* src/nautilus-application.c: (check_required_directories): Update
      	for EelStringList _as_string changes.
  32. 09 Apr, 2001 1 commit
    • John Sullivan's avatar
      Wired up the remaining new global view preferences, · e9cdcb7c
      John Sullivan authored
      	and added a menu item for resetting the current view
      	to match preferences. I know of one large bug (the
      	default choice of Icons vs List doesn't work) and several
      	small bugs that I'll write up now.
      	This change requires a recent API change in eel (for
      	eel_list_set_sort_type and eel_list_set_sort_column).
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	Fixed typo.
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(reset_to_defaults_callback), (real_merge_menus),
      	(fm_directory_view_initialize_class): Added support for
      	"Reset to Defaults" command, which subclasses override
      	to Do The Right Thing.
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Add "Reset to View Preferences" menu item.
      	* src/nautilus-shell-ui.xml: Add placeholder to support location
      	of "Reset to View Preferences" menu item.
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_reset_to_defaults), (fm_icon_view_initialize_class):
      	Set sort criterion, sort-reversedness, tighter layout, and
      	zoom level to match defaults.
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_initialize_class): wire up reset_to_defaults handler;
      	set up auto-storage variables for sort order & sort reversed preferences.
      	(fm_list_view_initialize): Set up preferences callbacks to notice changes
      	to default sort order, sort reversed, and zoom level.
      	(set_zoom_level_from_metadata_and_preferences): New functions, broken
      	out of fm_list_view_begin_loading for reuse.
      	(default_zoom_level_changed_callback): React to preference changes
      	by resorting or rezooming as appropriate.
      	(fm_list_view_begin_loading): Call broken-out functions.
      	(fm_list_view_reset_to_defaults): Set sort order, sort-reversedness,
      	and zoom level to default values.
      	(fm_list_view_sort_items): Use variable defaults instead of hardwired
      	constants for sort order & sort-reversedness. Call new eel_list versions
      	of set_sort_type and set_sort_column so the column titles redraw
      	(get_sort_column_from_attribute): Use variable default for sort attribute
      	instead of hardwired constant.
      	(get_attribute_from_sort_type): New function, converts between
      	NautilusFileSortType enum values and named attributes.
      	(real_get_default_sort_attribute): Use get_attribute_from_sort_type instead
      	of hardwired constant.
      	* src/nautilus-application.c:
      	(nautilus_application_startup): When the default folder viewer
      	preference changes, tell gnome-vfs about it.