No description
Find a file
Darin Adler bdf3c6c136 Added additional data to icons so they can specify where the
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.
2000-03-15 00:31:49 +00:00
components Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
cut-n-paste-code Fix the email for bitching. 1997-01-02 08:07:05 +00:00
data Add a data directory to the tree. This is the default per-user data that 2000-03-12 17:06:37 +00:00
docs Some of the underlying work to prepare for emblems on the icons. 2000-02-24 00:54:57 +00:00
icons Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
idl Reformat, add emacs magic to maintain indent style. 2000-03-10 00:41:31 +00:00
libnautilus Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
libnautilus-extensions Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
libnautilus-private Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
nautilus-widgets Fixed bug that caused a core dump when getting at the root directory 2000-03-13 22:48:12 +00:00
src Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
.cvsignore Ignore more generated files. 1999-12-15 00:04:42 +00:00
acconfig.h Added eazel services define 2000-03-04 00:02:48 +00:00
AUTHORS Added myself. 2000-03-12 16:45:38 +00:00
autogen.sh Finish the hack to not make people get gnome.m4 from gnome-libs any more. 2000-02-23 19:06:47 +00:00
ChangeLog-20000414 Added additional data to icons so they can specify where the 2000-03-15 00:31:49 +00:00
configure.in Add a data directory to the tree. This is the default per-user data that 2000-03-12 17:06:37 +00:00
COPYING.LIB Just adding copyright/license notices, and a copy of the LGPL. 1999-12-07 19:59:42 +00:00
HACKING Updated build instructions and list to send patches to. 2000-03-03 04:08:31 +00:00
MAINTAINERS Add misc docs. 1999-12-15 01:32:28 +00:00
Makefile.am Add a data directory to the tree. This is the default per-user data that 2000-03-12 17:06:37 +00:00
nautilus-clean.sh Simple shell script to check if any of the auxiliary processes nautilus 2000-03-04 09:07:17 +00:00
NEWS Basic framework is there. Now for URL resolution and loading. 1999-12-06 00:49:57 +00:00
README Add misc docs. 1999-12-15 01:32:28 +00:00
RENAMING It turns out that you aren't intended to reset the scroll region once you 2000-03-10 03:20:54 +00:00
TODO If an error happens, we need to reset the location bar to current 2000-02-01 23:51:09 +00:00

This is not a good place to look for functionality.
-- Elliot