CVSROOT: /cvs/gnome Module name: eog Changes by: csaavedr 06/05/17 16:13:06
Modified files: . : Tag: eog-ng ChangeLog libeog : Tag: eog-ng eog-image.c eog-list-store.c eog-list-store.h eog-thumb-view.c Log message: 2006-05-17 Claudio Saavedra <[EMAIL PROTECTED]> * libeog/eog-image.c: (eog_image_set_thumbnail): Allow to unset the thumbnail by passing NULL. * libeog/eog-list-store.c: (eog_list_store_append_image): Do not set here the thumbnail, and just pass NULL to the model to indicate that the thumbnail is not set. (eog_list_store_thumbnail_set): Function to set a thumbnail to an image in the model. (eog_list_store_thumbnail_unset): Function to unset a thumbnail to an image in the model. * libeog/eog-thumb-view.c: Implemented a lazy thumbnail loading engine. Based on evince source code. Defined the private data for the class, which contains the visible range of thumbnails. (eog_thumb_view_class_init): Added the private structure to the class. (eog_thumb_view_clear_range), (eog_thumb_view_add_range): New functions to set and unset the thumbnails on a given range. (eog_thumb_view_update_visible_range): Function to update the thumbnails in the visible range, by unsetting the thumbnails in the old range, and setting the newly visible ones. (tb_on_visible_range_changed_cb): Callback to be called when the widget resizes, or when the widget is scrolled, so we can load/unload thumbnails. (tb_on_parent_set_cb): Callback for the "parent-set" signal of the widget. (eog_thumb_view_init): Set the default values for the private data, and connect the "parent-set" signal. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=eog&who=csaavedr&date=explicit&mindate=2006-05-17%2016:12&maxdate=2006-05-17%2016:14 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list