Commit e616b568 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

move the "Antialias" toggle from here...

2008-10-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpstrokeeditor.c: move the "Antialias" toggle from
	here...

	* app/widgets/gimpfilleditor.c: ...to here because it makes sense
	for both filling and stroking.


svn path=/trunk/; revision=27458
parent 48baf2dd
2008-10-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpstrokeeditor.c: move the "Antialias" toggle from
here...
* app/widgets/gimpfilleditor.c: ...to here because it makes sense
for both filling and stroking.
2008-10-29 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am
......
......@@ -94,6 +94,7 @@ gimp_fill_editor_class_init (GimpFillEditorClass *klass)
static void
gimp_fill_editor_init (GimpFillEditor *editor)
{
gtk_box_set_spacing (GTK_BOX (editor), 6);
}
static GObject *
......@@ -104,6 +105,7 @@ gimp_fill_editor_constructor (GType type,
GObject *object;
GimpFillEditor *editor;
GtkWidget *box;
GtkWidget *button;
object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params);
......@@ -111,8 +113,6 @@ gimp_fill_editor_constructor (GType type,
g_assert (GIMP_IS_FILL_OPTIONS (editor->options));
gtk_box_set_spacing (GTK_BOX (editor), 12);
box = gimp_prop_enum_radio_box_new (G_OBJECT (editor->options), "style",
0, 0);
gtk_box_pack_start (GTK_BOX (editor), box, FALSE, FALSE, 0);
......@@ -141,6 +141,12 @@ gimp_fill_editor_constructor (GType type,
GIMP_FILL_STYLE_PATTERN, FALSE);
}
button = gimp_prop_check_button_new (G_OBJECT (editor->options),
"antialias",
_("_Antialiasing"));
gtk_box_pack_start (GTK_BOX (editor), button, FALSE, FALSE, 0);
gtk_widget_show (button);
return object;
}
......
......@@ -316,15 +316,6 @@ gimp_stroke_editor_constructor (GType type,
G_CALLBACK (gimp_int_combo_box_set_active),
box, G_CONNECT_SWAPPED);
button = gimp_prop_check_button_new (G_OBJECT (options),
"antialias",
_("_Antialiasing"));
gtk_table_attach (GTK_TABLE (table), button, 0, 3, row, row + 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (button);
row++;
return object;
}
......
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