1. 26 Jan, 2000 1 commit
  2. 25 Jan, 2000 1 commit
    • Maciej Stachowiak's avatar
      New functions for subclasses to call, to implement right-click menus. Most · f0e4c44c
      Maciej Stachowiak authored
      	* src/file-manager/fm-directory-view.c,
      	fm_directory_view_popup_background_context_menu): New functions
      	for subclasses to call, to implement right-click menus. Most of
      	the guts are here now. Machinery to merge view-specific items with
      	generic ones will be added here.
      	* src/file-manager/fm-directory-view-icons.c,
      	src/file-manager/fm-directory-view-list.c: Use the new interface
      	for right-click stuff.
  3. 24 Jan, 2000 1 commit
  4. 21 Jan, 2000 1 commit
  5. 20 Jan, 2000 3 commits
    • Jonathan Blandford's avatar
      more initialization to clean up an warning. · f7b5f98c
      Jonathan Blandford authored
      2000-01-20  Jonathan Blandford  <jrb@redhat.com>
              * src/file-manager/fm-directory-view-list.c (column_clicked_cb):
              more initialization to clean up an warning.
    • Darin Adler's avatar
      Store icon positions as "x,y" in ICON_POSITION instead of · f804c9ac
      Darin Adler authored
      	storing ICON_X and ICON_Y.
      	Take first step in moving the directory view to use the opaque
      	NautilusDirectory and NautilusFile instead of using gnome-vfs
      	directly. This will separate the controller from the model:
      	FMDirectoryView is a controller and NautilusDirectory a model.
      	* src/file-manager/fm-directory-view-icons.c:
      	Store icons positions as "x,y" in ICON_POSITION instead of storing
      	separate numbers in ICON_X and ICON_Y.
      	* libnautilus/nautilus-directory.h:
      	Added a new call needed to replace fm_directory_view_get_uri.
      	Moved the calls for getting and setting file metadata into the
      	file objects.
      	Added temporary interfaces for the current situation where we're
      	dealing with both NautilusFile and GnomeVFSFileInfo objects at
      	Detach and unref all the files when the directory is destroyed.
      	Implemented these functions now that we are using them.
      	* src/file-manager/fm-directory-view.h:
      	Change all the code to work with NautilusFile instead of
      	GnomeVFSFileInfo, except for the parts of FMDirectoryView dealing
      	with the directory_list.
      	* src/file-manager/fm-directory-view.h:
      	Moved and renamed these functions and made them work on
      	NautilusFile objects.
    • Darin Adler's avatar
      The list view now has a background color just like the · 72acf48f
      Darin Adler authored
      	icon view does. Some more code could be saved, but that's
      	a refactoring for another time.
      	* libnautilus/gtkflist.c: Added support for receiving dragged
      	colors to set the background of the list.
      	* src/file-manager/fm-directory-view-list.c:
      	(fm_directory_view_list_background_changed_cb): Added code to load
      	and save the background color from metadata.
      	* libnautilus/nautilus-background.c: Put the background color in
      	all the bg and base colors in the style instead of putting it only
      	in bg[GTK_STATE_NORMAL].
      	* libnautilus/nautilus-gtk-macros.h:
      	(NAUTILUS_DEFINE_CLASS_BOILERPLATE): Make sure that the macro only
      	evaluates the parent_class_type argument once, like it says in the
      	comment. (NAUTILUS_CALL_PARENT_CLASS): Fix this macro so it can
      	be used in places where an expression is expected.
      	* RENAMING: Added this file to list name changes we are
      	planning for the future.
      	* libnautilus/gtkflist.h: libnautilus/gtkflist.c:
      	src/explorer-location-bar.h: src/explorer-location-bar.c:
      	Minimized includes.
      	* src/ntl-index-panel.c:
      	src/file-manager/fm-directory-view-icons.c: Fixed some comments
      	and formatting.
  6. 19 Jan, 2000 1 commit
    • Darin Adler's avatar
      Allow changing the background of the icon view by dropping colors · 4dc286da
      Darin Adler authored
      	on the icon view.
      	* libnautilus/gnome-icon-container-dnd.h:
      	(gnome_icon_container_position_shadow): (drag_data_received_cb):
      	(gnome_icon_container_ensure_drag_data): (drag_motion_cb):
      	(drag_drop_cb): (gnome_icon_container_receive_dropped_icons):
      	(gnome_icon_container_free_drag_data): (drag_leave_cb): Added
      	support for receiving dropped colors to change the background of a
      	* src/file-manager/fm-directory-view-icons.c:
      	(fm_directory_view_icons_background_changed_cb): Added code to
      	load and save the background color from metadata.
      	* libnautilus/gdk-extensions.c: (nautilus_gradient_new): Changed
      	nautilus_gradient_new to handle NULLs in the same way that the
      	rest of the gradient functions do instead of NULL being an illegal
      	input value.
      	* src/file-manager/fm-directory-view.h:
      	(fm_directory_view_initialize): (fm_directory_view_destroy):
      	(fm_directory_view_get_model): (fm_directory_view_load_uri): Added
      	a NautilusDirectory object to each directory view, accessed by
      	subclasses with a call to fm_directory_view_get_model.
      	* libnautilus/nautilus-gtk-extensions.h:
      	(nautilus_gdk_selection_data_copy_deep): Added deep versions of
      	these GtkSelectionData functions.
      	* libnautilus/nautilus-gtk-macros.h:
      	(NAUTILUS_DEFINE_CLASS_BOILERPLATE): Added definition and
      	initialization of the parent_class global to
      	NAUTILUS_DEFINE_GET_TYPE_FUNCTION and renamed it to
      	* libnautilus/nautilus-background-canvas-group:
      	(nautilus_directory_initialize_class): src/ntl-index-panel.c:
      	(fm_directory_view_initialize_class): Take advantage of the new
      	NAUTILUS_DEFINE_CLASS_BOILERPLATE and get rid of existing code to
      	set up parent_class.
      	* libnautilus/gnome-icon-container-dnd.h:
      	libnautilus/gnome-icon-container.c: Minimized includes.
  7. 18 Jan, 2000 3 commits
    • John Sullivan's avatar
    • Darin Adler's avatar
      Added first cut at code to put metafiles in the user's home directory if · 7e292ac0
      Darin Adler authored
      	* libnautilus/nautilus-directory.c:
      	(nautilus_make_directory_and_parents): Added first cut at code to
      	put metafiles in the user's home directory if the directory is not
      	accessible and you can't read and write a metafile in the
      	directory itself. We'll have to refine this later to handle cases
      	where you end up with two metafiles.
      	* libnautilus/Makefile.am: libnautilus/nautilus-debug.h:
      	libnautilus/nautilus-debug.c: Took trick for getting into the
      	debugger and put it into a public header file so it can be used
      	outside of the nautilus executable.
      	* src/ntl-main.c: (stop_in_debugger):
      	(nautilus_stop_after_default_log_handler): (main): Use the new
      	calls from libnautilus to set up the drop into debugger for
      	criticals and warnings.
      	* src/file-manager/fm-main.c: (main): Minimized includes and used
      	the new calls from libnautilus to set up the drop into debugger
      	for criticals and warnings.
      	* src/ntl-uri-map.c: (nautilus_navinfo_add_mapping):
      	src/ntl-window.c: (nautilus_window_constructed):
      	(fm_directory_view_initialize): (fm_directory_view_destroy):
      	(notify_location_change_cb): (stop_location_change_cb):
      	(fm_directory_view_sort): Removed some messages that aren't so
      	* libnautilus/ntl-view-frame.h: Minimized includes.
      	* libnautilus/ntl-view-frame.c: Include "ntl-view-frame.h" first
      	so it tests to see that it has sufficient includes in it.
      	* src/ntl-view.c: (nautilus_view_load_client): Changed function so
      	that NULL for an iid is allowed and simply results in a failed
      	load instead of being illegal.
      	* src/ntl-window-msgs.c:
      	(nautilus_window_change_location_internal): src/ntl-window.c:
      	(nautilus_window_up): Got rid of calls to gnome_vfs_uri_destroy;
      	use gnome_vfs_uri_unref instead since it's safer and Federico is
      	getting rid of gnome_vfs_uri_destroy.
      	* src/file-manager/fm-directory-view-icons.h:
      	src/file-manager/fm-directory-view.c: (fm_directory_view_new):
      	Minimized includes and got rid of the unused _new functions.
      	* libnautilus/nautilus-directory.h: Added a missing 2000 copyright
    • John Sullivan's avatar
  8. 15 Jan, 2000 1 commit
  9. 14 Jan, 2000 1 commit
  10. 13 Jan, 2000 2 commits
  11. 12 Jan, 2000 1 commit
  12. 11 Jan, 2000 1 commit