1. 31 Jan, 2000 4 commits
    • Darin Adler's avatar
      Changed it to not attempt to create a GC just to measure the text. This · 58a9b33c
      Darin Adler authored
      	* nautilus-icons-view-icon-item.c:
      	(nautilus_icons_view_draw_text_box):
      	Changed it to not attempt to create a GC just to measure the text.
      	This makes it work when the widget is not realized.
      
      	* nautilus-icons-view-icon-item.h:
      	nautilus-icons-view-icon-item.c:
      	gnome-icon-container-dnd.c:
      	(nautilus_icons_view_icon_item_center_offset):
      	Changed the parameter type to NautilusIconsViewIconItem.
      
      	* fm-directory-view.c:
      	(stop_load):
      	(fm_directory_view_load_uri):
      	Fixed code so that if you stop loading more than once, or
      	stop before you even start, it won't send extra progress
      	requests to the Nautilus shell or call stop_monitoring
      	extra times on the NautilusDirectory object.
      
      	* nautilus-icons-view-icon-item.h:
      	nautilus-icons-view-icon-item.c:
      	gnome-icon-container-dnd.c:
      	Quick cleanup of the new NautilusIconsViewIconItem class.
      
      	* libnautilus/gdk-extensions.c:
      	libnautilus/gnome-icon-container-dnd.c:
      	libnautilus/gnome-icon-container.c:
      	libnautilus/gtkflist.c:
      	libnautilus/nautilus-background-canvas-group.c:
      	libnautilus/nautilus-background.c:
      	libnautilus/nautilus-debug.c:
      	libnautilus/nautilus-default-file-icon.c:
      	libnautilus/nautilus-directory.c:
      	libnautilus/nautilus-icon-factory.c:
      	libnautilus/nautilus-icons-controller.c:
      	libnautilus/nautilus-icons-view-icon-item.c:
      	libnautilus/nautilus-lib-self-check-functions.c:
      	libnautilus/nautilus-self-checks.c:
      	libnautilus/nautilus-string.c:
      	src/explorer-location-bar.c:
      	src/file-manager/dfos-corba.c:
      	src/file-manager/dfos-xfer-progress-dialog.c:
      	src/file-manager/dfos-xfer.c:
      	src/file-manager/dfos.c:
      	src/file-manager/fm-directory-view-icons.c:
      	src/file-manager/fm-directory-view-list.c:
      	src/file-manager/fm-directory-view.c:
      	src/file-manager/fm-icons-controller.c:
      	src/file-manager/fm-main.c:
      	src/nautilus-self-check-functions.c:
      	src/ntl-index-panel.c:
      	Got rid of #ifdef HAVE_CONFIG_H. Elliot says that we must always
      	include <config.h>, but there's no reason to include that ifdef
      	since we don't plan on building without a <config.h> ever.
      58a9b33c
    • Andy Hertzfeld's avatar
      fixed bug where icons were horizontally mis-positioned after dragging; · e250cfd7
      Andy Hertzfeld authored
      
             fixed bug where icons were horizontally mis-positioned after dragging;
             fixed by taking the center offset into account
      e250cfd7
    • John Sullivan's avatar
    • Elliot Lee's avatar
      Undo · 2002db11
      Elliot Lee authored
      
      
      Undo
      2002db11
  2. 30 Jan, 2000 5 commits
    • Elliot Lee's avatar
      g_strdup already checks for NULL parameter - no need. · 89663cf1
      Elliot Lee authored
      
      
      * src/ntl-uri-map.c: g_strdup already checks for NULL parameter - no need.
      89663cf1
    • Darin Adler's avatar
      NautilusDirectory is now in charge of loading directories. · 7c7932a8
      Darin Adler authored
      	FMDirectoryView has been relieved of that responsibility.
      
      	* nautilus-directory.h:
      	nautilus-directory.c:
      	(nautilus_directory_start_monitoring):
      	(nautilus_directory_stop_monitoring):
      	(nautilus_directory_is_ready_for_layout):
      	(nautilus_directory_new_file):
      	(nautilus_directory_are_all_files_seen):
      	Added monitoring API that's used to read the contents of
      	a directory. Made nautilus_directory_new_file private since
      	we now use the monitoring API instead.
      
      	* fm-directory-view.c:
      	(fm_directory_view_initialize):
      	(stop_load):
      	(display_pending_entries):
      	(display_pending_files):
      	(display_pending_idle_cb):
      	(display_timeout_cb):
      	(display_pending_timeout_cb):
      	(directory_load_cb):
      	(schedule_idle_display_of_pending_files):
      	(schedule_timeout_display_of_pending_files):
      	(unschedule_idle_display_of_pending_files):
      	(unschedule_timeout_display_of_pending_files):
      	(unschedule_display_of_pending_files):
      	(add_files_cb):
      	(fm_directory_view_activate_entry):
      	(fm_directory_view_load_uri):
      	(disconnect_model_handlers):
      	(fm_directory_view_stop):
      	Changed to use monitoring instead of directly calling
      	gnome_vfs_async_load_directory directly.
      
      	* fm-directory-view.c:
      	(update_zoom_menu_items):
      	(zoom_in_cb):
      	(zoom_out_cb):
      	(pop_up_context_menu):
      	(pop_up_temporary_context_menu):
      	(append_background_items):
      	(create_background_context_menu):
      	(fm_directory_view_popup_item_context_menu):
      	(fm_directory_view_popup_background_context_menu):
      	Changed to re-created background menu each time instead of
      	keeping a single global menu up to date. This is simpler, and
      	the imperceptible additional delay from recreating the menu
      	each time should not be a problem.
      
      	* ntl-window.c:	(nautilus_window_up):
      	ntl-map.c: (nautilus_navinfo_new):
      	Handle the case where the current URI is NULL.
      
      	* fm-directory-view-icons.c: (create_icon_container):
      	Removed the leftover puts calls in here.
      	This gets rid of "A", "B", "C" on each start of nautilus.
      7c7932a8
    • John Sullivan's avatar
    • John Sullivan's avatar
      Added can_zoom_in and can_zoom_out, and made item context menu disable · d1404606
      John Sullivan authored
      Zoom In and Zoom Out correctly.
      d1404606
    • Andy Hertzfeld's avatar
      made fonts scale according to zoom level enabled/disabled zoom items in · dd8153b2
      Andy Hertzfeld authored
      
           	made fonts scale according to zoom level
      	enabled/disabled zoom items in context menu as necessary
      dd8153b2
  3. 28 Jan, 2000 3 commits
  4. 27 Jan, 2000 14 commits
  5. 26 Jan, 2000 13 commits
  6. 25 Jan, 2000 1 commit
    • 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