mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 13:01:42 +00:00
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:
parent
3493f97895
commit
1d5d809c93
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue