[gimp] app: revert to "gimp-paintbrush-tool" as default tool.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: revert to "gimp-paintbrush-tool" as default tool.
- Date: Sat, 12 Dec 2020 12:07:56 +0000 (UTC)
commit d4e501919e4c9970a7e5b817a0c1f22fd524246e
Author: Jehan <jehan girinstud io>
Date: Sat Dec 12 12:58:25 2020 +0100
app: revert to "gimp-paintbrush-tool" as default tool.
A UI unit test (paintbrush_is_standard_tool()) was expecting the
paintbrush tool to be the default tool. This actually does not fit with
my tests as the crop tool was always the default tool if I were to
delete my config folder and start anew. Yet it was working for the unit
testing at the very least since `make check` used to work until now, and
was broken by my change.
Anyway with my new code (commit 31e38fe869) and this additional one, now
it should work both for unit tests and real usage. So this commit fixes
both the CI and the originally expected default tool.
For the record, Aryeom also agrees that paintbrush is a good default
tool for first usage/discovery of GIMP.
app/widgets/gimpdeviceinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index 446fd44f57..b4455abc8a 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -853,7 +853,7 @@ gimp_device_info_set_default_tool (GimpDeviceInfo *info)
tools = GIMP_TOOL_PRESET (info)->gimp->tool_info_list;
tool_info =
GIMP_TOOL_INFO (gimp_container_get_child_by_name (tools,
- "gimp-rect-select-tool"));
+ "gimp-paintbrush-tool"));
if (info->priv->device)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]