-
Darin Adler authored
* libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf), (draw_label_text_aa), (nautilus_icon_canvas_item_render), (nautilus_icon_canvas_item_event), (nautilus_icon_canvas_item_hit_test_stretch_handles), (nautilus_icon_canvas_item_get_max_text_width): Added comments and FIXMEs and fixed formatting. Removed unused functions and changed all the functions to return values in world coordinates rather than doing some in canvas coordinates. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_gtk_adjustment_set_value): Added a function that clamps to the scroll bar range. The original in Gtk allows scrolling past the end of where the scroll bar does. (scroll): Call the new function. This fixes the "auto-scroll past edge of the screen" problem. (reveal_icon): Use the new function even though it shouldn't matter here. (set_scroll_region): Add some padding on the left and right and fix some of the...
e4ad959a