1. 24 Feb, 2000 9 commits
    • John Sullivan's avatar
      Two non-user-visible changes: (1) wire up history metaview to react to icon · cd934261
      John Sullivan authored
      theme changes (but no effect because Nautilus icon theme changes don't yet
      trickle to metaview); (2) add "View as Text" to choices when viewing html (but
      no effect because loading from http is currently broken).
    • John Sullivan's avatar
      Cleanup after bug fix from yesterday; remove use_new_window field from · 667c03d2
      John Sullivan authored
      NautilusNavigationInfo and update accessers.
    • John Sullivan's avatar
    • Maciej Stachowiak's avatar
      Use EOG as the in-line image viewer. You need to have EOG from CVS · 744643a3
      Maciej Stachowiak authored
              * src/ntl-uri-map.c (my_notify_when_ready): Use EOG as the in-line
      	image viewer. You need to have EOG from CVS installed for this to
      	work. It still has issues - the control zooms the image to fill
      	available space by default, and there is no zooming support. But
      	it's amazing that one line was enough to do this, and it worked on
      	the first try! Bonobo rules.
    • Maciej Stachowiak's avatar
      Added `application' readonly attribute. (Application): Renamed attribute · 4bf409fb
      Maciej Stachowiak authored
      	* idl/nautilus.idl (ViewWindow): Added `application' readonly
      	(Application): Renamed attribute from `windows' to `view_windows'
      	and made it a sequence<ViewWindow> rather than
      	sequence<Object>. Renamed `new_window' method to
      	* src/ntl-window.h: Miscellaneous reformatting.
      	(nautilus_window_close): Added prototype
      	* src/ntl-window.c: Added implementations of
      	Nautilus::ViewWindow's methods. For now, _get_application just
      	returns CORBA_OBJECT_NIL because the Application object has not
      	yet been implemented.
      	(nautilus_window_close): New function used by `file_menu_close_cb'
      	and `impl_POA_Nautilus_ViewWindow_close'.
      	Added an explanatory comment.
    • Maciej Stachowiak's avatar
      Nautilus was getting an assertion failure on startup, so I weakened the · 1f887dce
      Maciej Stachowiak authored
      	* libnautilus/nautilus-icons-view-icon-item.c
      	(nautilus_icons_view_icon_item_set_emblems): Nautilus was getting
      	an assertion failure on startup, so I weakened the
      	assertion. Darin should look at my fix.
    • Maciej Stachowiak's avatar
      Added Nautilus::Zoomable and Nautilus::ZoomableFrame interfaces. New files · 839744da
      Maciej Stachowiak authored
      	* idl/nautilus.idl: Added Nautilus::Zoomable and
      	Nautilus::ZoomableFrame interfaces.
      	* nautilus-zoomable.c, nautilus-zoomable.h: New files for the
      	NautilusZoomable class. This class is used to implement the
      	Nautilus::Zoomable interface on a nautilus view or other control.
      	* Makefile.am: Added nautilus.c and nautilus.h to the build.
    • John Sullivan's avatar
    • Darin Adler's avatar
      Some of the underlying work to prepare for emblems on the icons. · 4f2240f0
      Darin Adler authored
      	* style-guide.html: Some minor updates to the style guide,
      	including rules about headers.
      	* libnautilus/nautilus-icon-factory.h,
      	(nautilus_scalable_icon_get), (nautilus_icon_factor_clear),
      	(nautilus_icon_factor_load_icon), (nautilus_scalable_icon_hash),
      	(nautilus_icon_factory_get_icon_for_file), (load_specific_image):
      	Added interface for getting emblem icons for a file, and got rid
      	of the symbolic-link overlay that was previously built into the
      	* libnautilus/gnome-icon-container.c (update_icon):
      	Get pixbufs for all emblems and pass into the icon object.
      	* libnautilus/nautilus-icons-controller.c
      	(fm_icons_controller_get_icon_image): Return a list of emblem
      	images along with the main image.
      	* libnautilus/nautilus-icons-view-icon-item.h,
      	(nautilus_icons_view_icon_item_destroy): Keep a list of emblem
      	pixbufs in each icon. We don't draw them quite yet.
      	* libnautilus/gdk-extensions.h, libnautilus/gdk-extensions.c:
      	(nautilus_gdk_pixbuf_list_ref), (nautilus_gdk_pixbuf_list_unref),
      	(nautilus_gdk_pixbuf_list_free): Convenience functions for
      	manipulating lists of GdkPixbuf objects.
      	* libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c: (nautilus_file_list_ref),
      	(nautilus_file_list_unref), (nautilus_file_list_free): Convenience
      	functions for manipulating lists of NautilusFile objects. Also got
      	rid of NautilusFileList typedef.
      	* libnautilus/nautilus-icon-factory.h,
      	(nautilus_scalable_icon_list_free): Convenience function for
      	manipulating lists of NautilusScalableIcon objects.
      	* libnautilus/nautilus-glib-extensions.h,
      	libnautilus/nautilus-glib-extensions.c: (nautilus_g_list_equal):
      	Function to compare two GLists to see if they are
      	identical. Particularly useful with lists of reference-counted
      	* src/file-manager/fm-directory-view-icons.c
      	src/file-manager/fm-directory-view.c (display_selection_info),
      	(display_pending_files), (add_files_cb), (open_in_new_window_cb),
      	(fm_directory_view_real_append_selection_context_menu_items): Got
      	rid of use of NautilusFileList typedef, corrected ref. counting of
      	files in the lists by using new calls.
      	* src/nautilus-bookmarklist.c, src/nautilus-bookmarks-menu.c,
      	src/file-manager/fm-icons-controller.c: A bit of reformatting.
  2. 23 Feb, 2000 4 commits
  3. 22 Feb, 2000 10 commits
  4. 21 Feb, 2000 2 commits
  5. 20 Feb, 2000 3 commits
    • Maciej Stachowiak's avatar
      Ooops, didn't mean to commit that yet. · 387d4450
      Maciej Stachowiak authored
    • Maciej Stachowiak's avatar
      Moved fields from object struct to separate private struct. · 615368e3
      Maciej Stachowiak authored
      	* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h:
              Moved fields from object struct to separate private struct.
    • 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-content-view-frame.h: Analogous changes; mainly,
      	added `nautilus_meta_view_frame_new',
      	`nautilus_content_view_frame_new' and
      	* components/help/hyperbola-nav-index.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.
  6. 19 Feb, 2000 1 commit
    • Maciej Stachowiak's avatar
      Sopwith, please don't laugh. · 223a3193
      Maciej Stachowiak authored
      	* RENAMING: Suggest swapping the names NautilusView and
      	NautilusViewFrame to better match the way Bonobo handles naming of
      	mutual client-server pairs of this type. I'm not sure I agree, but
      	better to be consistent than right.
  7. 18 Feb, 2000 7 commits
    • Darin Adler's avatar
      Set up the step_increment so the vertical and horizontal scroll bars will · 02ed5fb6
      Darin Adler authored
      	* gnome-icon-container.c: (set_scroll_region):
      	Set up the step_increment so the vertical and horizontal scroll
      	bars will scroll when you click on the arrows.
    • Darin Adler's avatar
      Hooked up the menu item for using the Eazel Theme Icons so people can try · ff1efb49
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c:
      	(use_eazel_theme_icons_cb), (finish_adding_menu_item),
      	(add_menu_item), (add_check_menu_item),
      	Hooked up the menu item for using the Eazel Theme Icons so people
      	can try out the icons that are tuned at different sizes.
      	* libnautilus/nautilus-icon-factory.h:
      	* libnautilus/nautilus-icon-factory.c,
      	(nautilus_icon_factory_get), (nautilus_icon_factory_new),
      	(nautilus_icon_factory_set_theme): Added a signal "theme_changed"
      	to the icon factory, and had to add a visible icon factory object
      	so clients can connect to the signal.
      	* libnautilus/gnome-icon-container.c,
      	(gnome_icon_container_request_update_all): Update all icons when
      	the theme changes.
      	* docs/recommended-books.html: Added this since
      	style-guide.html refers to it.
    • John Sullivan's avatar
      Made bookmarks display just file/directory name (instead of path) by default; · 0653c1cc
      John Sullivan authored
      made history items appear in Go menu.
    • Andy Hertzfeld's avatar
      more work on index panel command buttons · aa304686
      Andy Hertzfeld authored
              more work on index panel command buttons
    • Andy Hertzfeld's avatar
      implemented command buttons based on mime-types in the index panel · 1fd49af1
      Andy Hertzfeld authored
             implemented command buttons based on mime-types in the index panel
    • Darin Adler's avatar
      Hand tuned icons for multiple resolutions. · 3bce71a5
      Darin Adler authored
      	So for example you can have an icon designed for the 96x96
      	size, which is called i-directory-96.png, and it will be
      	loaded instead of loading i-directory.png and scaling it.
      	* libnautilus/nautilus-icon-factory.c:
      	(add_size_to_icon_name), (nautilus_icon_factory_load_icon),
      	(get_larger_icon_size), (get_smaller_icon_size),
      	(get_next_icon_size_to_try), (load_specific_image),
      	(load_image_for_scaling), (load_image_scale_if_necessary),
      	(nautilus_icon_factory_mark_recently_used), (mark_recently_used),
      	(get_image_from_cache), (nautilus_icon_factory_scale): Changed the
      	icon factory so it will look for icons of multiple resolutions and
      	scale the nearest. Also made other improvements including sharing
      	a single fallback icon instead of making multiple ones, using the
      	"core-dump" icon for files named "core", adding some additional
      	* libnautilus/nautilus-icon-factory.c:
      	* libnautilus/nautilus-lib-self-check-functions.h:
      	The new code needed a bit of self-check code, so I added it.
      	* libnautilus/nautilus-directory.c:
      	Since "make check" was failing, I checked to see what was wrong.
      	The code that was respecting the new "valid_fields" part of
      	GnomeVFSFileInfo was looking at the wrong field (flags instead
      	of valid_fields), which caused all metafile reading to fail.
      	While debugging this, I noticed that the alternate metafiles
      	had particularly bad long names, so I fixed that too.
      	* libnautilus/nautilus-directory.c: (nautilus_file_ref):
      	* libnautilus/nautilus-glib-extensions.c:
      	* libnautilus/nautilus-string.c: (nautilus_string_to_int):
      	Switched from using <limits.h> constants to the ones from
      	<glib.h>. I have no idea why I made this change. All hail
      	glib! C Standard be damned!
      	* fm-directory-view.c:
      	(use_eazel_theme_icons_cb), (add_menu_item),
      	Started on a user interface to switch to the Eazel theme
      	icons so you can see the multiple-resolution icons, but
      	I wanted to check in, so I stopped before it was done.
      	* src/nautilus-index-title.c:
      	Reindented Andy's new code to match the emacs mode header.
      	* configure.in:
      	* icons/Makefile.am:
      	* icons/eazel/.cvsignore:
      	* icons/eazel/Makefile.am:
      	* icons/eazel/i-directory-24.png:
      	* icons/eazel/i-directory-36.png:
      	* icons/eazel/i-directory-72.png:
      	* icons/eazel/i-directory-96.png:
      	* icons/eazel/i-directory.png:
      	I needed some variable-size icons to demonstrate the multiple
      	resolution support in the icon factory, so I added a few
      	directory icons from gnomad. Since these don't match the other
      	icons, I made them part of an "eazel" icons theme.
      	* RENAMING: Some new name ideas.
    • Jonathan Blandford's avatar
      forgot to commit this · f32e59de
      Jonathan Blandford authored
  8. 17 Feb, 2000 4 commits