use small-checks for the navigation popup and inherit the check-type from

2007-10-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c
	(gimp_scrolled_preview_nav_button_press): use small-checks for 
the
	navigation popup and inherit the check-type from the preview.


svn path=/trunk/; revision=23979
This commit is contained in:
Sven Neumann 2007-10-27 22:01:25 +00:00 committed by Sven Neumann
parent 58e6c9ad4d
commit fa3e0fb71a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-10-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpscrolledpreview.c
(gimp_scrolled_preview_nav_button_press): use small-checks for the
navigation popup and inherit the check-type from the preview.
2007-10-27 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load): close

View File

@ -566,7 +566,11 @@ gimp_scrolled_preview_nav_button_press (GtkWidget *widget,
gtk_container_add (GTK_CONTAINER (outer), inner);
gtk_widget_show (inner);
area = gimp_preview_area_new ();
area = g_object_new (GIMP_TYPE_PREVIEW_AREA,
"check-size", GIMP_CHECK_SIZE_SMALL_CHECKS,
"check-type", GIMP_PREVIEW_AREA (gimp_preview->area)->check_type,
NULL);
gtk_container_add (GTK_CONTAINER (inner), area);
g_signal_connect (area, "realize",