mirror of https://github.com/GNOME/gimp.git
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:
parent
e5b6b9dd13
commit
d0e97840ed
|
@ -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>
|
2007-10-05 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/script-fu/scripts/perspective-shadow.scm: applied patch
|
* plug-ins/script-fu/scripts/perspective-shadow.scm: applied patch
|
||||||
|
|
|
@ -66,6 +66,9 @@
|
||||||
|
|
||||||
#define RESPONSE_RESET 1
|
#define RESPONSE_RESET 1
|
||||||
|
|
||||||
|
#define COLOR_BUTTON_WIDTH 40
|
||||||
|
#define COLOR_BUTTON_HEIGHT 24
|
||||||
|
|
||||||
|
|
||||||
/* preferences local functions */
|
/* preferences local functions */
|
||||||
|
|
||||||
|
@ -1182,7 +1185,8 @@ prefs_color_button_add (GObject *config,
|
||||||
{
|
{
|
||||||
GtkWidget *button = gimp_prop_color_button_new (config, property_name,
|
GtkWidget *button = gimp_prop_color_button_new (config, property_name,
|
||||||
title,
|
title,
|
||||||
60, 24,
|
COLOR_BUTTON_WIDTH,
|
||||||
|
COLOR_BUTTON_HEIGHT,
|
||||||
GIMP_COLOR_AREA_FLAT);
|
GIMP_COLOR_AREA_FLAT);
|
||||||
|
|
||||||
if (button)
|
if (button)
|
||||||
|
@ -2494,7 +2498,8 @@ prefs_dialog_new (Gimp *gimp,
|
||||||
|
|
||||||
button = gimp_prop_color_button_new (color_config, "out-of-gamut-color",
|
button = gimp_prop_color_button_new (color_config, "out-of-gamut-color",
|
||||||
_("Select Warning Color"),
|
_("Select Warning Color"),
|
||||||
40, -1,
|
COLOR_BUTTON_WIDTH,
|
||||||
|
COLOR_BUTTON_HEIGHT,
|
||||||
GIMP_COLOR_AREA_FLAT);
|
GIMP_COLOR_AREA_FLAT);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
|
||||||
gtk_widget_show (button);
|
gtk_widget_show (button);
|
||||||
|
|
Loading…
Reference in New Issue