mirror of https://github.com/GNOME/gimp.git
app: Add the GimpToolEditor to preferences
Add the new GimpToolEditor to the Toolbox tab in preferences, which is a more natural place to have this. See bug #500930.
This commit is contained in:
parent
ce5cfe0f1c
commit
4572cb9e74
|
@ -49,6 +49,7 @@
|
|||
#include "widgets/gimpprofilechooserdialog.h"
|
||||
#include "widgets/gimppropwidgets.h"
|
||||
#include "widgets/gimptemplateeditor.h"
|
||||
#include "widgets/gimptooleditor.h"
|
||||
#include "widgets/gimpwidgets-constructors.h"
|
||||
#include "widgets/gimpwidgets-utils.h"
|
||||
|
||||
|
@ -1991,6 +1992,20 @@ prefs_dialog_new (Gimp *gimp,
|
|||
g_object_unref (size_group);
|
||||
size_group = NULL;
|
||||
|
||||
/* Tool Order */
|
||||
{
|
||||
GtkWidget *tool_view;
|
||||
|
||||
vbox2 = prefs_frame_new (_("Tools configuration"),
|
||||
GTK_CONTAINER (vbox), TRUE);
|
||||
tool_view = gimp_tool_editor_new (gimp->tool_info_list, gimp->user_context,
|
||||
gimp_tools_get_default_order (gimp),
|
||||
GIMP_VIEW_SIZE_SMALL, 1);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (vbox2), tool_view, TRUE, TRUE, 0);
|
||||
gtk_widget_show (tool_view);
|
||||
}
|
||||
|
||||
|
||||
/***********************/
|
||||
/* Default New Image */
|
||||
|
|
Loading…
Reference in New Issue