Commit 3152a7db authored by jaycox's avatar jaycox
Browse files

pop up the brush-edit dialog whenever the user creates a new brush.


 * app/brush_select.c: pop up the brush-edit dialog whenever the
        user creates a new brush.
parent 01e69ec1
1999-03-07 Jay Cox <jaycox@earthlink.net>
* app/brush_select.c: pop up the brush-edit dialog whenever the
user creates a new brush.
Sat Mar 6 03:04:31 MET 1999 Sven Neumann <sven@gimp.org>
* app/gdisplay.c: correctly initialize the zoom indicator
......
......@@ -1030,6 +1030,10 @@ new_brush_callback (GtkWidget *w, GdkEvent *e, gpointer data)
brush = gimp_brush_generated_new(10, .5, 0.0, 1.0);
gimp_brush_list_add(brush_list, GIMP_BRUSH(brush));
select_brush(GIMP_BRUSH(brush));
if (brush_edit_generated_dialog)
brush_edit_generated_set_brush(brush_edit_generated_dialog,
get_active_brush());
edit_brush_callback(w, e, data);
return TRUE;
}
......
......@@ -1030,6 +1030,10 @@ new_brush_callback (GtkWidget *w, GdkEvent *e, gpointer data)
brush = gimp_brush_generated_new(10, .5, 0.0, 1.0);
gimp_brush_list_add(brush_list, GIMP_BRUSH(brush));
select_brush(GIMP_BRUSH(brush));
if (brush_edit_generated_dialog)
brush_edit_generated_set_brush(brush_edit_generated_dialog,
get_active_brush());
edit_brush_callback(w, e, data);
return TRUE;
}
......
Supports Markdown
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