mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
app: add an "Open as Image" button to the brushes dialog
It was probably forgotten to add in the first place (the patterns dialog also has one).
This commit is contained in:
parent
036f6e42c4
commit
fc609d12dd
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
|
||||
#include "gimpbrushfactoryview.h"
|
||||
#include "gimpcontainerview.h"
|
||||
#include "gimpeditor.h"
|
||||
#include "gimpmenufactory.h"
|
||||
#include "gimpspinscale.h"
|
||||
#include "gimpviewrenderer.h"
|
||||
|
@ -150,6 +151,10 @@ gimp_brush_factory_view_new (GimpViewType view_type,
|
|||
|
||||
editor = GIMP_CONTAINER_EDITOR (factory_view);
|
||||
|
||||
gimp_editor_add_action_button (GIMP_EDITOR (editor->view),
|
||||
"brushes", "brushes-open-as-image",
|
||||
NULL);
|
||||
|
||||
gtk_box_pack_end (GTK_BOX (editor->view), factory_view->spacing_scale,
|
||||
FALSE, FALSE, 0);
|
||||
gtk_widget_show (factory_view->spacing_scale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue