1.19.9: 2011-07-25 Murray Cumming Design: Related Records: Allow the developer to specify how many rows to show. * glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]: Add set/get_rows_count() to specify how many rows to show. * glom/libglom/document/document.cc: Load and save that rows count. * ui/developer/window_data_layout.glade: Add a SpinButton to specify the number of rows to show in related records portals. * glom/mode_design/layout/dialog_layout_details.[h|cc]: Get that widget, but hide it in this base class. * glom/mode_design/layout/dialog_layout_list_related.[h|cc]: Constructor: Show and setup the spinbutton. set_document(): Set the spinbuttons's contents. save_to_document(): Save it back to the portal layout item. * glom/mode_data/box_data_list_related.cc: create_layout(): Use DbAddDel::set_height_rows() to try to show the correct number of rows. 2011-07-20 Murray Cumming ImageGlom: Ignore warning about invalid GdaBinary GValue. * glom/utility_widgets/imageglom.[h|cc]: Add and use get_binary() method, to avoid trying to get a GdaBinary from a null (type) Gnome::Gda::Value. 2011-07-19 Murray Cumming ImageGlom: Add commented-out code to load PDFs from memory. * glom/utility_widgets/imageglom.cc: This needs new API in bug #654832 2011-07-15 Murray Cumming ImageGlom: Save temp files as read-only to avoid unexpected data loss. * glom/utility_widgets/imageglom.cc: save_temp_file(): Set the file permissions. 2011-07-15 Murray Cumming Avoid autoconf warning about datarootdir. * glom/libglom/glom.pc.in: Set datarootdir to avoid this warning: config.status: WARNING: 'glom/libglom/glom.pc.in' seems to ignore the --datarootdir setting as suggested here: http://www.gnu.org/software/hello/manual/autoconf/Changed-Directory-Variables.html 2011-07-15 Murray Cumming ImageGlom: Do not try to get a thumbnail for non-image, non-evince types. * glom/utility_widgets/imageglom.cc: Just use g_content_type_get_icon(), to avoid saving temporary files of huge content, such as video, when just navigating through rows. 2011-07-15 Murray Cumming ImageGlom: Remove unused member variable. * glom/utility_widgets/imageglom.[h|cc]: Also add a comment that gnome_desktop_thumbnail_factory_new() didn't work either when I tried it.