1. 17 Feb, 2000 3 commits
    • Elliot Lee's avatar
      Show the stinking tree. :) · 5f6fa73e
      Elliot Lee authored
      
      
      Show the stinking tree. :)
      5f6fa73e
    • John Sullivan's avatar
      7171baf7
    • Elliot Lee's avatar
      Fix the GOAD ID for help index. Add help index. To avoid a warning in case · d9ed7d48
      Elliot Lee authored
      
      
      * components/help/hyperbola-main.c: Fix the GOAD ID for help index.
      * components/help/hyperbola.goad: Add help index.
      * libnautilus/nautilus-directory.c: To avoid a warning in case
      nautilus_directory_new fails, and speed things up, remove
      unnecessary cast.
      * libnautilus/nautilus-icon-factory.c: Add sanity checks to avoid segfaults.
      * src/nautilus-index-title.c: Add sanity check, plus try to handle
      case where nautilus_file_get() returns NULL.
      * src/ntl-window.c, src/ntl-window-msgs.c: Notify the index panel
      of a URI change when we notify everyone else, instead of doing it when
      the user requests a change.
      d9ed7d48
  2. 16 Feb, 2000 8 commits
    • Elliot Lee's avatar
      Fixups for VFS usage. Search info path for files. · b62e6d7d
      Elliot Lee authored
      
      
      * components/html/ntl-web-browser.c: Fixups for VFS usage.
      * components/help/converters/gnome-info2html2/main.c: Search info path for files.
      b62e6d7d
    • Elliot Lee's avatar
      Fix warning. Update for Bonobo UIH changes. Update repo ID for Bonobo · e8c96238
      Elliot Lee authored
      
      
      * components/help/hyperbola-nav-index.c: Fix warning.
      * components/history/ntl-history-view.c: Update for Bonobo UIH changes.
      * components/html/main.c: Update repo ID for Bonobo changes.
      * src/ntl-view-bonobo-control.c: Likewise
      * src/ntl-view-bonobo-subdoc.c: Likewise
      * src/ntl-view-nautilus.c: Likewise
      * src/ntl-view.c: Only check for death every other second.
      * components/html/ntl-web-browser: Debugging printfs for now
      e8c96238
    • Darin Adler's avatar
      Added icon stretching and did some cleanups. · 9b94323c
      Darin Adler authored
      	Stretched icons aren't yet persistent (the scale factor is not
      	saved in metadata), but that's not much more work.
      
      	* libnautilus/gnome-icon-container-private.h:
      	* libnautilus/gnome-icon-container.h:
      	* libnautilus/gnome-icon-container.c: (icon_new), (icon_position),
      	(icon_set_position), (icon_get_size), (icon_set_size),
      	(icon_toggle_selected), (icon_select), (icon_set_selected),
      	(button_press_event), (gnome_icon_container_begin_stretch),
      	(start_stretching), (gnome_icon_container_stretch),
      	(continue_stretching), (gnome_icon_container_end_stretch),
      	(end_stretching), (button_release_event), (motion_notify_event),
      	(handle_icon_button_press), (gnome_icon_container_clear),
      	(request_update_one), (update_icon), (get_first_selected_icon),
      	(gnome_icon_container_show_stretch_handles),
      	(gnome_icon_container_has_stretch_handles),
      	(gnome_icon_container_is_stretched),
      	(gnome_icon_container_unstretch), (compute_stretch),
      	(nautilus_self_check_compute_stretch),
      	(nautilus_self_check_gnome_icon_container):
      	* libnautilus/nautilus-icons-view-icon-item.h:
      	* libnautilus/nautilus-icons-view-icon-item.c:
      	(nautilus_icons_view_icon_item_draw),
      	(nautilus_icons_view_icon_item_point),
      	(nautilus_icons_view_icon_item_set_show_stretch_handles),
      	(nautilus_icons_view_icon_item_get_hit_stretch_handle):
      	* libnautilus/nautilus-lib-self-check-functions.h:
      	Added machinery for stretching icons.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(append_item_context_menu_items),
      	(fm_directory_view_real_append_item_context_menu_items),
      	(fm_directory_view_initialize_class), (create_item_context_menu):
      	Added machinery for views to have view-specific menu items for
      	icons as well as for the window as a whole.
      
      	* src/file-manager/fm-directory-view-icons.c:
      	(fm_directory_view_icons_initialize_class),
      	(fm_directory_view_icons_append_item_context_menu_items),
      	(show_stretch_handles_cb), (unstretch_item_cb):
      	Added menu items for stretching icons.
      
      	* libnautilus/gnome-icon-container.c: (start_rubberbanding):
      	Fixed bug that would result in two rubberband timeouts at
      	once if you did rubberbanding quickly.
      
      	* components/notes/.cvsignore: Andy's new component needs a
      	.cvsignore file for its generated pieces.
      
      	* libnautilus/nautilus-directory.c:
      	(nautilus_directory_try_to_read_metafile),
      	(nautilus_directory_read_metafile):
      	Simplified logic in metafile-reading functions and fixed a bug
      	where the vfs handle would be left open if certain categories
      	of errors occurred.
      
      	* libnautilus/nautilus-gtk-extensions.h:
      	Added a missing gtk_marshal function.
      
      	* libnautilus/nautilus-icon-factory.h:
      	* libnautilus/nautilus-icon-factory.c:
      	(nautilus_icon_size_for_zoom_level),
      	(nautilus_get_icon_size_for_zoom_level),
      	(nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixmap_and_mask_for_file):
      	* src/nautilus-index-title.c: (nautilus_index_title_set_up_icon):
      	* src/nautilus-zoom-control.c: (set_zoom_level):
      	* src/file-manager/fm-directory-view-list.c:
      	(fm_directory_view_list_bump_zoom_level), (install_icon):
      	Made some API improvements for the icon factory. Added a missing
      	get_ to the name nautilus_get_icon_size_for_zoom_level and added
      	convenience functions for the most common uses of the factory.
      
      	* libnautilus/ntl-content-view-frame.c:
      	* libnautilus/ntl-meta-view-frame.c:
      	* libnautilus/ntl-view-frame.c:
      	Weaned all the files in libnautilus itself from using the
      	libnautilus.h include file. They instead include the parts that
      	they need. Also added some missing <config.h> includes.
      9b94323c
    • Andy Hertzfeld's avatar
      added logic to break the title in the index panel into two lines so it can · d3d8e1d7
      Andy Hertzfeld authored
      
             added logic to break the title in the index panel into two lines
             so it can use a larger font, if it can find an appropriate
             breaking point.
      d3d8e1d7
    • Maciej Stachowiak's avatar
      gtk_quit_add_destroy the NautilusWindow at level 1, so that we can clean · 0d857f95
      Maciej Stachowiak authored
      	* src/ntl-window.c (nautilus_window_init): gtk_quit_add_destroy
      	the NautilusWindow at level 1, so that we can clean up CORBA
      	objects and such when we Exit rather than Closing the last window.
      0d857f95
    • Maciej Stachowiak's avatar
      sink and ref the notebook and unref in the destructor, so it gets · 8b49231a
      Maciej Stachowiak authored
      	* src/ntl-index-panel.c: sink and ref the notebook and unref in
      	the destructor, so it gets destroyed even if it never ends up
      	getting added to the index panel.
      
      	* src/ntl-view-nautilus.c: Don't ref the Control interface we just
      	QI'd; query_interface implicitly refs.
      8b49231a
    • Elliot Lee's avatar
      Pay attention to the GnomeVFSFileInfo flags to determine whether to read · 0189d027
      Elliot Lee authored
      
      
      * libnautilus/nautilus-directory.c: Pay attention to the
      GnomeVFSFileInfo flags to determine whether to read the metafile.
      
      * components/html/ntl-web-browser.c: Try to fall back to using
      gnome-vfs if we can't load it via libwww. Sort of bad hack, but it
      just might work.
      0189d027
    • John Sullivan's avatar
      History metaview now lists all locations visited in this session, from most · 4535d2bb
      John Sullivan authored
      recent (top) to longest ago, with no duplicates.
      4535d2bb
  3. 15 Feb, 2000 10 commits
  4. 14 Feb, 2000 11 commits
    • Darin Adler's avatar
      Undo the cast. · f90a9976
      Darin Adler authored
      f90a9976
    • Darin Adler's avatar
      Need a cast in here so people can build while I wait for the OK from · 1f59bf3c
      Darin Adler authored
      	* libnautilus/nautilus-icon-factory.c:
      	(nautilus_icon_factory_load_icon):
      	Need a cast in here so people can build while I wait for the OK
      	from Federico to check in my const change to gdk-pixbuf.
      1f59bf3c
    • Elliot Lee's avatar
      Use GPOINTER_TO_UINT() instead of a manual cast. · e22cc60a
      Elliot Lee authored
      
      
      * libnautilus/nautilus-icon-factory.c: Use GPOINTER_TO_UINT() instead of a manual cast.
      e22cc60a
    • Darin Adler's avatar
      Handle the case where you try to make a NautilusDirectory object for · db87f5e7
      Darin Adler authored
      	* libnautilus/nautilus-directory.c: (nautilus_directory_read_metafile):
      	Handle the case where you try to make a NautilusDirectory object for
      	something that's a file.
      
      	* libnautilus/nautilus-directory.c: (nautilus_directory_get_metadata):
      	Handle NULL directory objects better.
      
      	* src/ntl-index-panel.c:
      	Changed handling of NULL directory case so it will display something
      	instead of doing early exits that leave the display as-is.
      
      	* src/nautilus-index-title.h:
      	* src/nautilus-index-title.c:
      	Reformatted, some minor cleanups.
      db87f5e7
    • Darin Adler's avatar
      Redid the icon factory to fix a few things: · 291fb2d6
      Darin Adler authored
      	* libnautilus/nautilus-icon-factory.c:
      	Redid the icon factory to fix a few things:
      
      	- Replaced the existing non-working count-based LRU algorithm with
      	  one that works (uses a linked list).
      	- Keep resized icons in the cache.
      	- Hand out a single NautilusScalableIcon when multiple callers ask
      	  for the same icon instead of a new one each time.
      	- Fixed one bug where pixbuf's would get an extra ref and never get
      	  freed once they are no longer used.
      
      	* libnautilus/nautilus-metadata.h:
      	* src/nautilus-index-title.c (nautilus_index_title_set_up_info):
      	* libnautilus/nautilus-icon-factory.c
      	(nautilus_icon_factory_get_icon_for_file):
      	Added keys for the two pieces of metadata Andy just added.
      
      	* libnautilus/gnome-icon-container-private.h:
      	* libnautilus/gnome-icon-container.c: (scroll),
      	(make_icon_visible), (set_scroll_region): Fixed the code that
      	resizes the canvas as items are added and removed to properly
      	handle the case where the canvas extends into negative-coordinate
      	territory. This included removing the width and height that were
      	stored in the private structure.
      
      	* libnautilus/nautilus-directory.c: (nautilus_directory_get): Tiny
      	formatting tweak.
      291fb2d6
    • John Sullivan's avatar
      Quick fixes to some NULL-dereference problems in new index title code; · 6db4c052
      John Sullivan authored
      also made zoom level change stick until you visit a location that had a zoom
      level set earlier.
      6db4c052
    • Elliot Lee's avatar
      Send status strings for now, until nautilus knows how to generate them · 72b6dbb7
      Elliot Lee authored
      
      
      * components/html/ntl-web-browser.c: Send status strings for now,
      until nautilus knows how to generate them from selection info.
      72b6dbb7
    • Andy Hertzfeld's avatar
      fixed warning about measuring NULL string that Elliot pointed out · bc961a70
      Andy Hertzfeld authored
      
             fixed warning about measuring NULL string that Elliot pointed out
      bc961a70
    • Elliot Lee's avatar
      Revert. More work. · b3342238
      Elliot Lee authored
      
      
      * src/ntl-window-msgs.c: Revert.
      * components/help/hyperbola-nav-index.c: More work.
      b3342238
    • Andy Hertzfeld's avatar
      made index panel display "notes" from metadata if present, made it use · 6245e766
      Andy Hertzfeld authored
      
          made index panel display "notes" from metadata if present,
          made it use custom icons from metadata if present.
      6245e766
    • Andy Hertzfeld's avatar
      made a new class, nautilus-index-title, to display the icon, title and · c85bb8ca
      Andy Hertzfeld authored
      
             made a new class, nautilus-index-title, to display the icon, title
             and other information for the index panel
      c85bb8ca
  5. 13 Feb, 2000 1 commit
  6. 12 Feb, 2000 3 commits
  7. 11 Feb, 2000 4 commits