Started work on icon stretching. In the process, I am doing some
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.
Showing with 1472 additions and 1367 deletions