Commit 6fd0eeac authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/tools/gimpblendoptions.c app/tools/gimpbucketfilloptions.c

2004-05-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpcoloroptions.c
	* app/tools/gimpinkoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptooloptions-gui.c
	* app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame
	was used. Put "Pressure Sensitivity" frame into a GtkExpander.
parent a94e7291
2004-05-04 Sven Neumann <sven@gimp.org>
* app/tools/gimpblendoptions.c
* app/tools/gimpbucketfilloptions.c
* app/tools/gimpcoloroptions.c
* app/tools/gimpinkoptions.c
* app/tools/gimppaintoptions-gui.c
* app/tools/gimpselectionoptions.c
* app/tools/gimptooloptions-gui.c
* app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame
was used. Put "Pressure Sensitivity" frame into a GtkExpander.
2004-05-04 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpframe.c: added a style property to control
......
......@@ -254,7 +254,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
vbox = gimp_paint_options_gui (tool_options);
/* adjust sliders */
frame = gtk_frame_new (_("Adjustment"));
frame = gimp_frame_new (_("Adjustment"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -279,7 +279,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
FALSE, 0.0, 0.0);
/* sens sliders */
frame = gtk_frame_new (_("Sensitivity"));
frame = gimp_frame_new (_("Sensitivity"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -349,7 +349,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
}
/* Brush shape widget */
frame = gtk_frame_new (_("Shape"));
frame = gimp_frame_new (_("Shape"));
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
gtk_widget_show (frame);
......
......@@ -284,7 +284,7 @@ gimp_blend_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (button);
/* frame for supersampling options */
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......
......@@ -273,7 +273,7 @@ gimp_bucket_fill_options_gui (GimpToolOptions *tool_options)
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
frame = gtk_frame_new (_("Finding Similar Colors"));
frame = gimp_frame_new (_("Finding Similar Colors"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......
......@@ -171,7 +171,7 @@ gimp_color_options_gui (GimpToolOptions *tool_options)
vbox = gimp_tool_options_gui (tool_options);
/* the sample average options */
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
gtk_widget_show (frame);
......
......@@ -254,7 +254,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
vbox = gimp_paint_options_gui (tool_options);
/* adjust sliders */
frame = gtk_frame_new (_("Adjustment"));
frame = gimp_frame_new (_("Adjustment"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -279,7 +279,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
FALSE, 0.0, 0.0);
/* sens sliders */
frame = gtk_frame_new (_("Sensitivity"));
frame = gimp_frame_new (_("Sensitivity"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -349,7 +349,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
}
/* Brush shape widget */
frame = gtk_frame_new (_("Shape"));
frame = gimp_frame_new (_("Shape"));
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
gtk_widget_show (frame);
......
......@@ -254,7 +254,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
vbox = gimp_paint_options_gui (tool_options);
/* adjust sliders */
frame = gtk_frame_new (_("Adjustment"));
frame = gimp_frame_new (_("Adjustment"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -279,7 +279,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
FALSE, 0.0, 0.0);
/* sens sliders */
frame = gtk_frame_new (_("Sensitivity"));
frame = gimp_frame_new (_("Sensitivity"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, TRUE, 0);
gtk_widget_show (frame);
......@@ -349,7 +349,7 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
}
/* Brush shape widget */
frame = gtk_frame_new (_("Shape"));
frame = gimp_frame_new (_("Shape"));
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
gtk_widget_show (frame);
......
......@@ -288,11 +288,18 @@ pressure_options_gui (GimpPressureOptions *pressure,
tool_type == GIMP_TYPE_ERASER_TOOL ||
tool_type == GIMP_TYPE_SMUDGE_TOOL)
{
frame = gtk_frame_new (_("Pressure Sensitivity"));
GtkWidget *inner_frame;
frame = gtk_expander_new (_("Pressure Sensitivity"));
gtk_expander_set_expanded (GTK_EXPANDER (frame), FALSE);
inner_frame = gimp_frame_new ("<expander>");
gtk_container_add (GTK_CONTAINER (frame), inner_frame);
gtk_widget_show (inner_frame);
wbox = gtk_hwrap_box_new (FALSE);
gtk_wrap_box_set_aspect_ratio (GTK_WRAP_BOX (wbox), 7);
gtk_container_add (GTK_CONTAINER (frame), wbox);
gtk_container_add (GTK_CONTAINER (inner_frame), wbox);
gtk_widget_show (wbox);
}
......@@ -380,7 +387,7 @@ fade_options_gui (GimpFadeOptions *fade,
tool_type == GIMP_TYPE_ERASER_TOOL ||
tool_type == GIMP_TYPE_SMUDGE_TOOL)
{
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
table = gtk_table_new (1, 3, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (table), 2);
......@@ -435,7 +442,7 @@ gradient_options_gui (GimpGradientOptions *gradient,
if (g_type_is_a (tool_type, GIMP_TYPE_PAINTBRUSH_TOOL))
{
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
table = gtk_table_new (2, 3, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (table), 2);
......
......@@ -412,7 +412,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
GtkWidget *frame;
GtkWidget *table;
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......@@ -471,7 +471,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
GtkWidget *vbox2;
GtkWidget *table;
frame = gtk_frame_new (_("Finding Similar Colors"));
frame = gimp_frame_new (_("Finding Similar Colors"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......@@ -517,7 +517,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
GtkWidget *width_spinbutton;
GtkWidget *height_spinbutton;
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......@@ -539,7 +539,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......
......@@ -34,7 +34,7 @@ gimp_tool_options_gui (GimpToolOptions *tool_options)
g_return_val_if_fail (GIMP_IS_TOOL_OPTIONS (tool_options), NULL);
vbox = gtk_vbox_new (FALSE, 2);
vbox = gtk_vbox_new (FALSE, 6);
return vbox;
}
......@@ -360,7 +360,7 @@ gimp_transform_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (button);
/* the grid frame */
frame = gtk_frame_new (NULL);
frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......@@ -393,7 +393,7 @@ gimp_transform_options_gui (GimpToolOptions *tool_options)
gchar *str;
/* the constraints frame */
frame = gtk_frame_new (_("Constraints"));
frame = gimp_frame_new (_("Constraints"));
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment