1. 27 Jan, 2000 12 commits
  2. 26 Jan, 2000 13 commits
  3. 25 Jan, 2000 9 commits
    • Darin Adler's avatar
      Redid drag code so that it will work if there are multiple windows · 6d5f07d8
      Darin Adler authored
      	* libnautilus/gnome-icon-container-dnd.c:
      	(create_selection_shadow):
      	(set_gnome_icon_list_selection):
      	(get_gnome_icon_list_selection):
      	(gnome_icon_container_receive_dropped_icons):
      	Redid drag code so that it will work if there are multiple
      	windows involved, although we still don't handle copies.
      	Changed selection to include the width and height of the icon,
      	and to hold the top left of the icon.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.c:
      	(move_icon):
      	(gnome_icon_container_move_icon):
      	Made move_icon visible to the DnD code, and added a raise boolean
      	so it could move and icon and bring it to the front.
      	(gnome_icon_container_get_icon_by_uri):
      	(gnome_icon_container_select_list_unselect_others):
      	Added new functions for use by DnD code.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.c:
      	(handle_icon_button_press):
      	Got rid of unused drag_x_offset and drag_y_offset.
      
      	* libnautilus/gnome-icon-container.c:
      	(icon_select):
      	(icon_toggle_selected):
      	(select_icon):
      	(select_one_unselect_others):
      	(toggle_icon):
      	(unselect_all_but_one):
      	(unselect_all):
      	(rubberband_select_in_cell):
      	(kbd_move_to):
      	(kbd_space):
      	(linger_select_timeout_cb):
      	(handle_icon_button_press):
      	(gnome_icon_container_select_all):
      	(gnome_icon_container_unselect_all):
      	Cleaned up selection logic and made it simpler.
      
      	* libnautilus/gnome-icon-container.h:
      	libnautilus/gnome-icon-container.c:
      	(gnome_icon_container_xlate_selected):
      	Got rid of unused function.
      
      	* libnautilus/nautilus-self-checks.h:
      	libnautilus/nautilus-self-checks.c:
      	(nautilus_self_checks_failed):
      	(nautilus_exit_if_self_checks_failed):
      	src/ntl-main.c:
      	(main):
      	Added blank lines before and after the first and last failed
      	checks when at least one check fails.
      
      	* src/ntl-view.c:
      	(nautilus_view_destroy):
      	Removed a straggler message. (I hope Elliot's not still using it.)
      
      	* RENAMING: Some new name ideas.
      6d5f07d8
    • John Sullivan's avatar
      Better text for date column in list view. · c1e840df
      John Sullivan authored
      c1e840df
    • Andy Hertzfeld's avatar
      icons are now drawn with a custom canvas item instead of with a group. · 961f18d6
      Andy Hertzfeld authored
      
             icons are now drawn with a custom canvas item instead of with a group.
             This is a first cut, it doesn't work at non-unity scale factors plus
             other small problems.
      961f18d6
    • Andy Hertzfeld's avatar
      first cut at making small images (<10K) show as themselves. also, cleaned · 5c026fa9
      Andy Hertzfeld authored
      
              first cut at making small images (<10K) show as themselves.
      	also, cleaned up icon item class and added boolean for kbd selection
      5c026fa9
    • Maciej Stachowiak's avatar
      Added more suggestions. · 64f3acb0
      Maciej Stachowiak authored
      64f3acb0
    • 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,
      	src/file-manager/fm-directory-view.h
      	(fm_directory_view_popup_item_context_menu,
      	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.
      f0e4c44c
    • Maciej Stachowiak's avatar
      11b80f5d
    • Maciej Stachowiak's avatar
      Corrected memory management for background and item popup menus. · 469af208
      Maciej Stachowiak authored
      	* src/file-manager/fm-directory-view-icons.c: Corrected memory
      	management for background and item popup menus.
      469af208
    • Darin Adler's avatar
      Removed bogus warning. Need to do some more work to get dragging working · 6b72c37f
      Darin Adler authored
      	* gnome-icon-container-dnd.c:
      	(gnome_icon_container_receive_dropped_icons):
      	Removed bogus warning. Need to do some more work to get
      	dragging working with multiple windows, but there's no
      	easy way to detect that case, so just let it go.
      
      	* fm-directory-view-icons.c:
      	(icon_container_context_click_icon_cb):
      	(icon_container_context_click_background_cb):
      	Fixed the callbacks to match the new interface without the
      	icon name. I missed this in my check-in earlier today.
      6b72c37f
  4. 24 Jan, 2000 5 commits
    • John Sullivan's avatar
      c428ff2c
    • Maciej Stachowiak's avatar
      Fixed bad merge. · b615c0b1
      Maciej Stachowiak authored
      b615c0b1
    • Maciej Stachowiak's avatar
      Rename "row_popup_menu" and "empty_popup_menu" signals to · f1c27961
      Maciej Stachowiak authored
      	* libnautilus/gtkflist.c, libnautilus/gtkflist.h: Rename
      	"row_popup_menu" and "empty_popup_menu" signals to
      	"context_click_row" and "context_click_background" for more
      	consistency with the way the icon container does it. Removed
      	GdkEvent parameters from these signals. Added an int indicating
      	the row right-clicked.
      	(gtk_flist_button_press): Do not change the selection to the row
      	that gets right-clicked. It was inconsistent with the icon view
      	and most of the known universe.
      f1c27961
    • Darin Adler's avatar
      Added a controller object that lets GnomeIconContainer · c8853690
      Darin Adler authored
      	ask questions and perform actions, even though only the
      	FMDirectoryViewIcons knows how to answer the questions
      	and perform the actions.
      
      	Replaced use of nautilus_file_get_info with specific
      	accessors for various file info.
      
      	* libnautilus/Makefile.am:
      	libnautilus/nautilus-icons-controller.h:
      	libnautilus/nautilus-icons-controller.c:
      	libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.h:
      	libnautilus/gnome-icon-container.c:
      	(icon_new_pixbuf):
      	(gnome_icon_container_new):
      	(gnome_icon_container_add):
      	(gnome_icon_container_add_auto):
      	Added NautilusIconsController, an interface provided so that the
      	file manager can connect the icons up with the file code. This is
      	all so we can keep the view/controller separation. This eliminates
      	the need to pass around the icon name all the time, so the signals
      	have changed to not take the icon name as a parameter.
      
      	* src/file-manager/Makefile.am:
      	src/file-manager/fm-icons-controller.c:
      	src/file-manager/fm-icons-controller.h:
      	Added FMIconsController, the actual controller used by the file
      	manager instance of GnomeIconContainer.
      	src/file-manager/fm-directory-view-icons.c:
      	(create_icon_container):
      	(add_icon_if_already_positioned):
      	(add_icon_at_free_position):
      	(icon_container_activate_cb):
      	(fm_directory_view_icons_icon_moved_cb):
      	Create and use the FMIconController.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container-dnd.c:
      	(set_gnome_icon_list_selection):
      	(set_uri_list_selection):
      	libnautilus/gnome-icon-container.c:
      	(gnome_icon_container_set_base_uri):
      	src/file-manager/fm-directory-view-icons.c:
      	(set_up_base_uri):
      	(fm_directory_view_icons_begin_loading):
      	Get rid of the old base_uri technique for handling drags. Instead
      	the icon controller supplies URIs for icons when requested.
      
      	* RENAMING: Proposed that we use NautilusIconsView as the new name
      	for GnomeIconContainer instead of NautilusIconContainer.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.h:
      	libnautilus/gnome-icon-container.c:
      	(gnome_icon_container_initialize):
      	(handle_icon_enter_notify):
      	(handle_icon_leave_notify):
      	Renamed browser mode to linger selection mode.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.h:
      	libnautilus/gnome-icon-container.c:
      	(icon_configure):
      	(icon_position):
      	(change_icon_mode):
      	(gnome_icon_container_initialize):
      	(gnome_icon_container_set_icon_mode):
      	(gnome_icon_container_get_icon_mode):
      	src/file-manager/fm-directory-view-icons.c:
      	(fm_directory_view_icons_initialize):
      	Got rid of icon mode, since we won't be using it.
      
      	* libnautilus/gnome-icon-container-dnd.c:
      	(get_gnome_icon_list_selection):
      	Changed geometry parsing so it will not ignore extra characters
      	after the numeric geometry.
      	(gnome_icon_container_receive_dropped_icons):
      	The code here tried to work when dragging icons between windows,
      	but the implementation was actually only good within the same
      	window, so I modified it to check for that case.
      
      	* libnautilus/gnome-icon-container-dnd.c:
      	(create_selection_shadow):
      	(set_gnome_icon_list_selection):
      	libnautilus/gnome-icon-container.c:
      	(icon_position):
      	Renamed GNOME_ICON_CONTAINER_ICON_XOFFSET to
      	GNOME_ICON_CONTAINER_ICON_X_OFFSET and
      	GNOME_ICON_CONTAINER_ICON_YOFFSET to
      	GNOME_ICON_CONTAINER_ICON_Y_OFFSET. We use an underscore between
      	words in identifiers.
      
      	* libnautilus/gnome-icon-container.c:
      	(destroy):
      	Added code to remove timeouts and idles when the container is
      	destroyed.
      
      	* libnautilus/nautilus-directory.h:
      	libnautilus/nautilus-directory.c:
      	(nautilus_file_get_info):
      	Get rid of the direct call to get GnomeVFSFileInfo. All info is
      	accessed through individual functions.
      	(nautilus_file_get_size):
      	(nautilus_file_get_type):
      	(nautilus_file_get_mime_type):
      	(nautilus_file_is_executable):
      	(nautilus_file_is_symbolic_link):
      	Added new accessor functions as needed.
      	src/file-manager/fm-directory-view.c:
      	(display_selection_info):
      	src/file-manager/fm-icon-cache.c:
      	(fm_icon_cache_get_icon_set_for_file):
      	(fm_icon_cache_get_icon_for_file):
      	Change code to use the accessors instead of get_info.
      
      	* libnautilus/nautilus-gtk-macros.h:
      	(NAUTILUS_ASSIGN_MUST_OVERRIDE_SIGNAL):
      	Changed macro to take a class pointer of the right type instead
      	of taking both a casting macro name and a class pointer.
      	src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize_class):
      	Changed existing uses of macro to match.
      
      	* src/file-manager/Makefile.am:
      	src/file-manager/fm-icon-cache.c:
      	src/file-manager/fm-default-file-icon.h:
      	src/file-manager/fm-default-file-icon.c:
      	Moved the default icon into its own file.
      c8853690
    • John Sullivan's avatar
      Made Shift as well as Control modify the selection, and prevented · d12bae4b
      John Sullivan authored
      activation on single-click when modifying the selection.
      d12bae4b
  5. 22 Jan, 2000 1 commit
    • Havoc Pennington's avatar
      check for libwww · f538796e
      Havoc Pennington authored
      2000-01-22  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in: check for libwww
      
      		* components/html/Makefile.am: add libwww flags
      f538796e