1. 16 Mar, 2000 1 commit
  2. 15 Mar, 2000 1 commit
    • Darin Adler's avatar
      Added additional data to icons so they can specify where the · bdf3c6c1
      Darin Adler authored
      	embedded text fits in each icon.
      
      	* icons/eazel/Makefile.am, icons/eazel/i-regular.xml: Added the
      	file to specify attributes of icons. Specifically added the
      	attribute that says there is space for embedded text in the
      	Eazel-theme regular icon.
      
      	* libnautilus/nautilus-icon-factory.h:
      	* libnautilus/nautilus-icon-factory.c:
      	(get_child_node_by_property), (get_themed_icon_file_path),
      	(get_icon_file_path), (nautilus_icon_factory_get_thumbnail_uri),
      	(load_specific_image), (load_image_for_scaling),
      	(get_image_from_cache), (load_image_scale_if_necessary),
      	(nautilus_icon_factory_get_pixbuf_for_icon),
      	(nautilus_icon_factory_get_pixbuf_for_file):
      	Added code to read a rectangle for the embedded text along with
      	the icon, cache it with the icon, scale it with the icon, and
      	return it to the caller along with the icon.
      
      	* libnautilus/nautilus-icons-view-icon-item.c:
      	(nautilus_icons_view_icon_item_initialize_class),
      	(nautilus_icons_view_icon_item_set_arg),
      	(nautilus_icons_view_icon_item_get_arg),
      	(nautilus_icons_view_icon_item_get_image),
      	(nautilus_icons_view_icon_item_set_image),
      	(nautilus_art_irect_to_gdk_rectangle),
      	(draw_mini_text), (draw_embedded_text),
      	(nautilus_icons_view_icon_item_draw):
      	Changed the code that draws the embedded text to respect the
      	text rectangle passed in. Changed the pixbuf setting to use a
      	function instead of the arg interface and take a text rectangle
      	along with the pixbuf.
      
      	* libnautilus/gnome-icon-container-dnd.c
      	(gnome_icon_container_dnd_begin_drag):
      	* libnautilus/gnome-icon-container.c:
      	(icon_get_actual_size): Got rid of callers who were using the arg
      	interface to get at the image of an icon
      	("NautilusIconsViewIconItem::pixbuf").
      
      	* src/file-manager/fm-directory-view-icons.c:
      	(get_icon_property_cb): Get rid of hard-coded rule that only
      	themes with eazel at the front of their names can display text
      	inside the icons.
      
      	* libnautilus/gnome-icon-container.c:
      	(icon_new): Fixed a bug where icons would be super-tiny if they
      	got too big, like if you entered a directory that was zoomed all
      	the way in.
      	(start_stretching), (ungrab_stretch_icon), (end_stretching),
      	(gnome_icon_container_show_stretch_handles): Added code to grab
      	the pointer while stretching an icon.
      	(item_event_cb): Added a return statement that John forgot when
      	he was editing. Without that, it was falling through to the next
      	case, which had the same effect anyway.
      	(update_icon): Pass the text rectangle through from the icon
      	factory to the icon canvas item, using the new call instead of the
      	old arg interface approach.
      
      	* components/help/.cvsignore: Added entries for
      	.la and .lo files.
      
      	* components/help/Makefile.am:
      	* components/help/hyperbola-nav-index.c:
      	* components/help/hyperbola-nav-search.c:
      	* libnautilus/nautilus-directory-private.h:
      	* libnautilus/nautilus-directory.c:
      	* src/nautilus-bookmarklist.c:
      	Fixed flags for gnome-xml
      	includes. Someone pointed out that you are supposed to include
      	these as "#include <tree.h>", not "#include <gnome-xml/tree.h>" so
      	I fixed our uses to work that way.
      
      	* libnautilus/nautilus-directory.c:
      	(nautilus_directory_get_file_metadata_node): Fixed code that was
      	destroying something allocated by gnome-xml with g_free instead
      	of xmlFree.
      
      	* libnautilus/nautilus-file.c:
      	(nautilus_file_get_keywords), (nautilus_file_set_keywords):
      	Fixed storage leak where we were getting a property and not freeing it.
      
      	* libnautilus/nautilus-default-file-icon.h:
      	* libnautilus/nautilus-default-file-icon.c:
      	* libnautilus/nautilus-icon-factory.c:
      	(load_image_for_scaling): Got rid of the global that tells whether
      	the default icon has an alpha channel -- it's not hardwired TRUE.
      bdf3c6c1
  3. 14 Mar, 2000 1 commit
  4. 13 Mar, 2000 1 commit
  5. 12 Mar, 2000 1 commit
  6. 10 Mar, 2000 1 commit
  7. 09 Mar, 2000 2 commits
    • Darin Adler's avatar
      Fixed bugs relating to multiple directory and file objects for the same · 8656eb9d
      Darin Adler authored
      	* libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.c, libnautilus/nautilus-file.c
      	(nautilus_directory_find_file, compare_file_with_name,
      	nautilus_directory_get, nautilus_file_get): Fixed bugs relating to
      	multiple directory and file objects for the same entity. Stripped
      	trailing '/' characters in nautilus_directory_get and changed
      	nautilus_file_get to return already-existing files instead of
      	always creating new ones. Added self-checks to make sure this
      	works.
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_try_to_read_metafile): Fixed bug where
      	metafile reading would fail. The gnome-xml parser requires a null
      	character at the end of the file, even though the size is passed
      	in!
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_remove_write_metafile_idle,
      	nautilus_directory_finalize,
      	nautilus_directory_try_to_write_metafile,
      	nautilus_directory_request_write_metafile, ): Changed metafile
      	writing so it always happens at idle time.
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_try_to_read_metafile): Fixed bug where
      	metafile reading would fail. The gnome-xml parser requires a null
      	character at the end of the file, even though the size is passed
      	in!
      
      	* libnautilus/nautilus-lib-self-check-functions.h: Changed order
      	so lower-level tests come before higher-level ones.
      
      	* libnautilus/nautilus-string.h, libnautilus/nautilus-string.c:
      	Renamed functions:
      		nautilus_has_prefix -> nautilus_str_has_prefix
      		nautilus_strdup_prefix -> nautilus_str_get_prefix
      		nautilus_has_suffix -> nautilus_str_has_suffix
      		nautilus_strstrip -> nautilus_str_strip_chr
      		nautilus_string_to_int -> nautilus_str_to_int
      		nautilus_eat_string_to_int -> nautilus_eat_str_to_int
      	Changed nautilus_str_strip_chr not to modify in place.
      	Added nautilus_str_strip_trailing_chr.
      
      	* components/music/nautilus-music-view.c (is_mp3_file,
      	nautilus_music_view_update_from_uri),
      	libnautilus/nautilus-icon-factory.c
      	(nautilus_icon_factory_get_icon_for_file, make_thumbnail_path,
      	load_specific_image), libnautilus/nautilus-icons-view-icon-item.c
      	(draw_mini_text), src/ntl-index-panel.c (command_button_cb,
      	add_command_buttons), src/ntl-window-msgs.c
      	(nautilus_window_change_location_2),
      	src/file-manager-fm-directory-view-icons.c
      	(fm_directory_view_icons_compute_menu_item_info),
      	src/file-manager/fm-directory-view.c (compute_menu_item_info),
      	src/file-manager/fm-icons-controller.c
      	(fm_icons_controller_get_icon_property): Switched callers to use
      	new names for string calls.
      
      	* libnautilus/gnome-icon-container.c (destroy): Reformatting.
      
      	* components/help/converters/gnome-info2html2/main.c (main):
      	Fixed a warning.
      8656eb9d
    • Jonathan Blandford's avatar
      Add a urn field to GnomeVFSToplevelURI. This will let us add VFS modules · 1e1e9540
      Jonathan Blandford authored
      2000-03-09  Jonathan Blandford  <jrb@redhat.com>
      
      	* libgnomevfs/gnome-vfs-types.h: Add a urn field to
      	GnomeVFSToplevelURI.  This will let us add VFS modules that simply
      	change a totally virtual name to a actual URL.
      
      	* modules/help-method.c: New module to allow for "help:*" URL's.
      	* modules/help-method.h:
      
      	* modules/Makefile.am: added help module.
      
      	* libgnomevfs/gnome-vfs-method.c (gnome_vfs_transform_get): Allow
      	Transformations.  Clean up the code a little.
      
      	* libgnomevfs/gnome-vfs-uri.c (gnome_vfs_uri_new): changed to
      	allow for translations.  Also, code cleaned up a lot.
      1e1e9540
  8. 08 Mar, 2000 1 commit
    • Darin Adler's avatar
      Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. · 6ba4e1e5
      Darin Adler authored
      	* components/music/nautilus-music-view.c,
      	components/notes/ntl-notes.c, libnautilus/Makefile.am,
      	libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c,
      	libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h,
      	libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h,
      	src/ntl-index-panel.c, src/file-manager/fm-directory-view.h:
      	Broke the file part of nautilus-directory.[ch] into
      	nautilus-file.[ch].
      
      	* libnautilus/nautilus-string.c (nautilus_strstrip): Added more
      	tests. Changed algorithm on strstrip so it's linear instead of
      	n^2.
      
      	* libnautilus/gnome-icon-container.c
      	(gnome_icon_container_initialize): Fixed font for "larger" zoom
      	level. Also made it assert if the font can't be loaded.
      
      	* components/help/hyperbola-nav-index.c (despace):
      	Fixed warning.
      
      	* libnautilus/gnome-icon-container-dnd.c,
      	libnautilus/nautilus-string.h: Whitespace.
      
      	* src/file-manager/Makefile.am,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-properties-window.h,
      	src/file-manager/fm-properties-window.c: Added properties window
      	hook, but no window yet. The menu item still needs to be added to
      	the main menus as well as the context menus.
      
      	* src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view-icons.c,
      	src/file-manager/fm-icon-text-window.h,
      	src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter
      	names.
      6ba4e1e5
  9. 07 Mar, 2000 1 commit
  10. 06 Mar, 2000 6 commits
    • Elliot Lee's avatar
      Use help search instead of help index. Initial implementation completed. · ed306ab6
      Elliot Lee authored
      
      
      * src/ntl-prefs.c: Use help search instead of help index.
      * components/help/hyperbola-nav-search.c: Initial implementation completed.
      ed306ab6
    • Darin Adler's avatar
      Added the concept of separate X and Y scale factors to more · 2d3c87e1
      Darin Adler authored
      	of the code. Even though we don't want to scale the two
      	dimensions separately at the moment, I figured it was better
      	to go in this direction than to remove all the separate X
      	and Y stuff that Seth Nickell added.
      
      	* libnautilus/gnome-icon-container-dnd.c
      	(gnome_icon_container_receive_dropped_icons):
      	* libnautilus/gnome-icon-container-private.h:
      	* libnautilus/gnome-icon-container.c (icon_get_actual_size),
      	(icon_new), (icon_get_size), (start_stretching), (update_icon),
      	(gnome_icon_container_add), (gnome_icon_container_is_stretched),
      	(gnome_icon_container_unstretch),
      	(gnome_icon_container_move_icon):
      	* libnautilus/gnome-icon-container.h:
      	Got rid of the old "scale", "xscale", and "yscale" and replaced
      	them with "scale_x" and "scale_y". Made the code always set the
      	scale factor through the gnome_icon_container_move_icon bottleneck
      	so the changes are all reported throught the icon_moved signal.
      
      	* src/file-manager/fm-directory-view-icons.c:
      	(add_icon_if_already_positioned),
      	(fm_directory_view_icons_icon_moved_cb):
      	Store only a single scale factor if the X and Y are both scaled
      	exactly the same (the normal case). Also, use a default for
      	the scale factor so we don't save 1.0 for every file.
      
      	* libnautilus/nautilus-gtk-extensions.h:
      	* libnautilus/nautilus-gtk-extensions.c:
      	My original change required an additional marshal function. I
      	decided to add it anyway even though I don't need it right now.
      
      	* libnautilus/nautilus/nautilus-bookmark.c
      	(nautilus_bookmark_get_pixmap_and_mask):
      	Changed to use the nautilus_icon_factory_get_pixbuf_for_file
      	convenience function which has a simpler interface.
      
      	* libnautilus/nautilus-icon-factory.h:
      	* libnautilus/nautilus-icon-factory.c:
      	Added separate X and Y scaling of icons for possible future
      	use; the convenience functions still use the same size in
      	both dimentions.
      
      	* components/music/.cvsignore:
      	  New directory, new .cvsignore needed.
      
      	* RENAMING: Some more name change ideas.
      2d3c87e1
    • Elliot Lee's avatar
      Initial implementation completed. · 77925558
      Elliot Lee authored
      
      
      Initial implementation completed.
      77925558
    • Andy Hertzfeld's avatar
      derive the track name from the file name if the id3 tag is missing, and · 4e9bd6ba
      Andy Hertzfeld authored
      
            derive the track name from the file name if the id3 tag is missing,
            and format the title better from the info in the id3 tags
      4e9bd6ba
    • Andy Hertzfeld's avatar
      added a nautilus_has_suffix routine and used it in a couple of places; · 3f9cedbe
      Andy Hertzfeld authored
      
             added a nautilus_has_suffix routine and used it in a couple of places;
             made sure all thumbnail's have the appropriate 'png' suffix;
             made thumbnailing call ImageMagick for formats that gdk-pixbuf comes up
             empty on.
      3f9cedbe
    • Andy Hertzfeld's avatar
      added a music view component for displaying directories of mp3 files, and · abb888bc
      Andy Hertzfeld authored
      
            added a music view component for displaying directories of mp3 files,
            and also made a new mechanism for content view components to be
            explicitly specified in the metadata for a directory
      abb888bc
  11. 04 Mar, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fix indentation on some of the lines. · aa399a9b
      Maciej Stachowiak authored
              * components/sample/nautilus-sample-content-view.c: Fix
      	indentation on some of the lines.
              (nautilus_sample_content_view_load_uri): g_free() the old uri before
              g_strdup()ing a new one to avoid leaking memory.
      aa399a9b
  12. 03 Mar, 2000 6 commits
    • Jonathan Blandford's avatar
      added libpng to Makefile.am · d5c646e8
      Jonathan Blandford authored
      2000-03-03  Jonathan Blandford  <jrb@redhat.com>
      
      	* libnautilus/Makefile.am (libnautilus_la_LDFLAGS): added libpng
      	to Makefile.am
      
      	* configure.in: added autoconf check for png.
      d5c646e8
    • Elliot Lee's avatar
      Default to showing help index (it's the parade of the meta views! :). · 4c5bd8c4
      Elliot Lee authored
      
      
      * src/ntl-prefs.c: Default to showing help index (it's the parade of the meta views! :).
      * components/help/hyperbola-nav-index.c: Compiles and
      runs. Hardcoded to /gnome prefix for now - not complete.
      4c5bd8c4
    • Maciej Stachowiak's avatar
      Reorder to code to avoid crashing. (main): Drop to the debugger on · 84ded4a2
      Maciej Stachowiak authored
      	* components/html/ntl-web-browser.c (make_obj): Reorder to code to
      	avoid crashing.
      	(main): Drop to the debugger on warnings and criticals.
      	(browser_vfs_read_callback): Add some casts to avoid a warning.
      84ded4a2
    • Maciej Stachowiak's avatar
      Check in Makefile.am, not Makefile · 28400d7a
      Maciej Stachowiak authored
      28400d7a
    • Maciej Stachowiak's avatar
      Sample content view component. All it does is display the current URI in a · ecb89839
      Maciej Stachowiak authored
      	* components/sample/nautilus-sample-content-view.c,
      	components/sample/nautilus-sample-content-view.h,
      	components/sample/nautilus-sample-content-view.goad,
      	components/sample/main.c, components/sample/Makefile.am: Sample
      	content view component. All it does is display the current URI in
      	a label.
      	* componets/Makefile.am, configure.in: Build it.
      	* src/ntl-uri-map.c: Activate the sample component whenever there
      	is at least one other applicable view. What it should really do is
      	have a special mode based on a command-line option of some sort
      	which will cause it to be always activated, and otherwise not at
      	all, but that looked more complicated to do.
      ecb89839
    • Elliot Lee's avatar
      Use 'help' URI scheme instead of 'ghelp'. · 5ea784f6
      Elliot Lee authored
      
      
      * components/help/hyperbola-filefmt.c: Use 'help' URI scheme instead of 'ghelp'.
      
      * components/help/hyperbola-nav-index.c: Just checking in an
      uncompilable work-in-progress. Remove ifdefs at own risk. :)
      5ea784f6
  13. 01 Mar, 2000 1 commit
  14. 29 Feb, 2000 1 commit
  15. 26 Feb, 2000 1 commit
  16. 24 Feb, 2000 2 commits
  17. 20 Feb, 2000 1 commit
    • Maciej Stachowiak's avatar
      Changed NautilusViewFrame to allow creation of `Nautilus::View' objects · 53c5e06a
      Maciej Stachowiak authored
      	* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h:
      	Changed NautilusViewFrame to allow creation of `Nautilus::View'
      	objects that have additional interfaces while sharing the actual
      	control. This will allow, for instance, the creation of components
      	that are both a `Nautilus::View' and a `Bonobo::Embeddable'. The
      	basic changes are to require a `BonoboObject' with a
      	`Bonobo::Control' interface at construction time.
      	- Two creation functions are provided: `nautilus_view_frame_new',
      	which takes a GtkWidget, creates a new control that contains that
      	widget, and the constructs a NautilusViewFrame with that control,
      	and `nautilus_view_frame_new_from_control', which creates a
      	NautilusViewFrame that gets added as an additional interface to an
      	existing control.
      	- In the course of doing this it became clear that it would be
      	easier if NautilusViewFrame were changed to inherit from
      	BonoboObject rather than GtkBin, so this was done; as a result,
      	the nautilus_view_frame_get_bonobo_object call was removed, since
      	the view_frame _is_ a bonobo object. However, a
      	nautilus_view_frame_get_bonobo_control call was added as a
      	convenience, to allow other code to avoid having to
      	query_local_interface for the control object manually.
      	* libnautilus/ntl-meta-view-frame.c,
      	libnautilus/ntl-meta-view-frame.h,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-content-view-frame.h: Analogous changes; mainly,
      	added `nautilus_meta_view_frame_new',
      	`nautilus_meta_view_frame_new_from_control',
      	`nautilus_content_view_frame_new' and
      	`nautilus_content_view_frame_new_from_control'.
      	* components/help/hyperbola-nav-index.c,
      	components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/notes/ntl-notes.c,
      	components/websearch/ntl-web-search.c, src/ntl-app.c,
      	src/file-manager/fm-directory-view.c: Fixed initialization and
      	object creation functions to deal with the above API change.
      53c5e06a
  18. 18 Feb, 2000 1 commit
  19. 17 Feb, 2000 3 commits
    • Jonathan Blandford's avatar
      4988305f
    • Elliot Lee's avatar
      Show the stinking tree. :) · 5f6fa73e
      Elliot Lee authored
      
      
      Show the stinking tree. :)
      5f6fa73e
    • 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
  20. 16 Feb, 2000 6 commits
    • Jonathan Blandford's avatar
      handle file:// · 7ad52de2
      Jonathan Blandford authored
      7ad52de2
    • 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
    • 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
  21. 15 Feb, 2000 1 commit