1. 31 Jan, 2000 10 commits
    • Darin Adler's avatar
      Oops. Spelled it wrong. · 8b485ee2
      Darin Adler authored
      8b485ee2
    • Darin Adler's avatar
      Started work on icon stretching. In the process, I am doing some · 78c57693
      Darin Adler authored
      	cleanup on the icon container, and I am checking in some of that
      	before the stretching is implemented.
      
      	* libnautilus/gnome-icon-container-private.h:
      	* libnautilus/gnome-icon-container.c:
      	(icon_is_in_region):
      	Got rid of width and height stored in each icon.
      
      	* libnautilus/gnome-icon-container.c:
      	A lot of cleanup, including getting rid of the
      	icon_get_text_bounding_box function.
      
      	* libnautilus/gnome-icon-container.c:
      	(gnome_icon_container_begin_stretch):
      	(gnome_icon_container_stretch):
      	(gnome_icon_container_end_stretch):
      	(button_release_event):
      	(motion_notify_event):
      	(handle_icon_button_press):
      	First cut at adding stretching hooks in button handlers.
      
      	* libnautilus/nautilus-icons-view-icon-item.c:
      	(nautilus_icons_view_draw_text_box):
      	Rewrote to fix bug with position of text when it's too long for
      	a single line.
      
      	* libnautilus/nautilus-glib-extensions.h:
      	Added a macro named NAUTILUS_G_N_ELEMENTS.
      	src/ntl-index-panel.c:
      	src/explorer-location-bar.c:
      	libnautilus/gtkflist.c:
      	Used the NAUTILUS_G_N_ELEMENTS macro.
      78c57693
    • Andy Hertzfeld's avatar
      made the keyboard selection rectangle work again, not as a separate canvas · 4e1175d7
      Andy Hertzfeld authored
      
             made the keyboard selection rectangle work again, not as a separate
             canvas item like it used to be, but as an attribute drawn by the
             icon item.
      4e1175d7
    • John Sullivan's avatar
    • Andy Hertzfeld's avatar
      implemented the "select all" command in the context menu · bc177a67
      Andy Hertzfeld authored
      
             implemented the "select all" command in the context menu
      bc177a67
    • Elliot Lee's avatar
      Update debugging messages. Allow synchronous state changes (needed to · 36e8d6ca
      Elliot Lee authored
      
      
      * src/ntl-window-msgs.c, src/ntl-window-private.h: Update debugging messages. Allow
      synchronous state changes (needed to avoid race conditions), and
      don't reset the idle handler if the idle handler is already running.
      
      * src/file-manager/fm-directory-view.c: Include
      <libnautilus/libnautilus.h> rather than just
      <libnautilus/nautilus-alloc.h> - nitpick in passing.
      
      * src/ntl-uri-map.c: OK, don't check for NULL here, in an attempt to flush out bugs elsewhere.
      Let me know of any problems that show up because of this.
      36e8d6ca
    • 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 8 commits