use a smaller preview size for the gradient popup than for the button.

2003-04-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/paint_options.c (gimp_paint_options_gui): use a smaller
	preview size for the gradient popup than for the button.
This commit is contained in:
Michael Natterer 2003-04-15 11:11:25 +00:00 committed by Michael Natterer
parent 3493f97895
commit 1d5d809c93
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-04-15 Michael Natterer <mitch@gimp.org>
* app/tools/paint_options.c (gimp_paint_options_gui): use a smaller
preview size for the gradient popup than for the button.
2003-04-14 Sven Neumann <sven@gimp.org>
* Made 1.3.14 release.

View File

@ -161,12 +161,15 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
{
button = gimp_viewable_button_new (context->gimp->gradient_factory->container,
context,
GIMP_PREVIEW_SIZE_SMALL * 2, 1,
GIMP_PREVIEW_SIZE_LARGE, 1,
dialog_factory,
"gimp-gradient-list",
GIMP_STOCK_TOOL_BLEND,
_("Open the gradient selection dialog"));
/* use smaller previews for the popup */
GIMP_VIEWABLE_BUTTON (button)->preview_size = GIMP_PREVIEW_SIZE_SMALL;
gimp_table_attach_aligned (GTK_TABLE (table), 0, table_row++,
_("Gradient:"), 1.0, 0.5,
button, 2, TRUE);

View File

@ -161,12 +161,15 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
{
button = gimp_viewable_button_new (context->gimp->gradient_factory->container,
context,
GIMP_PREVIEW_SIZE_SMALL * 2, 1,
GIMP_PREVIEW_SIZE_LARGE, 1,
dialog_factory,
"gimp-gradient-list",
GIMP_STOCK_TOOL_BLEND,
_("Open the gradient selection dialog"));
/* use smaller previews for the popup */
GIMP_VIEWABLE_BUTTON (button)->preview_size = GIMP_PREVIEW_SIZE_SMALL;
gimp_table_attach_aligned (GTK_TABLE (table), 0, table_row++,
_("Gradient:"), 1.0, 0.5,
button, 2, TRUE);