use the same size for all color buttons.

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

	* app/dialogs/preferences-dialog.c: use the same size for all
	color buttons.


svn path=/trunk/; revision=23737
This commit is contained in:
Sven Neumann 2007-10-05 19:10:59 +00:00 committed by Sven Neumann
parent e5b6b9dd13
commit d0e97840ed
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-10-05 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c: use the same size for all
color buttons.
2007-10-05 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/perspective-shadow.scm: applied patch

View File

@ -66,6 +66,9 @@
#define RESPONSE_RESET 1
#define COLOR_BUTTON_WIDTH 40
#define COLOR_BUTTON_HEIGHT 24
/* preferences local functions */
@ -1182,7 +1185,8 @@ prefs_color_button_add (GObject *config,
{
GtkWidget *button = gimp_prop_color_button_new (config, property_name,
title,
60, 24,
COLOR_BUTTON_WIDTH,
COLOR_BUTTON_HEIGHT,
GIMP_COLOR_AREA_FLAT);
if (button)
@ -2494,7 +2498,8 @@ prefs_dialog_new (Gimp *gimp,
button = gimp_prop_color_button_new (color_config, "out-of-gamut-color",
_("Select Warning Color"),
40, -1,
COLOR_BUTTON_WIDTH,
COLOR_BUTTON_HEIGHT,
GIMP_COLOR_AREA_FLAT);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);