Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GIMP
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2,018
Issues
2,018
List
Boards
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GIMP
Commits
26b9e7a3
Commit
26b9e7a3
authored
Jun 29, 2017
by
Michael Natterer
😴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: set better status title strings in crop, text, rectangle select
parent
2aff5b0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
app/tools/gimpcroptool.c
app/tools/gimpcroptool.c
+4
-0
app/tools/gimprectangleselecttool.c
app/tools/gimprectangleselecttool.c
+5
-2
app/tools/gimptexttool.c
app/tools/gimptexttool.c
+1
-0
No files found.
app/tools/gimpcroptool.c
View file @
26b9e7a3
...
...
@@ -354,6 +354,10 @@ gimp_crop_tool_start (GimpCropTool *crop_tool,
crop_tool
->
widget
=
widget
=
gimp_tool_rectangle_new
(
shell
);
g_object_set
(
widget
,
"status-title"
,
_
(
"Crop to: "
),
NULL
);
gimp_draw_tool_set_widget
(
GIMP_DRAW_TOOL
(
tool
),
widget
);
for
(
i
=
0
;
i
<
G_N_ELEMENTS
(
properties
);
i
++
)
...
...
app/tools/gimprectangleselecttool.c
View file @
26b9e7a3
...
...
@@ -663,6 +663,7 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
GimpDisplayShell
*
shell
=
gimp_display_get_shell
(
display
);
GimpRectangleSelectOptions
*
options
;
GimpToolWidget
*
widget
;
gboolean
draw_ellipse
;
gint
i
;
options
=
GIMP_RECTANGLE_SELECT_TOOL_GET_OPTIONS
(
rect_tool
);
...
...
@@ -671,9 +672,11 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
private
->
widget
=
widget
=
gimp_tool_rectangle_new
(
shell
);
draw_ellipse
=
GIMP_RECTANGLE_SELECT_TOOL_GET_CLASS
(
rect_tool
)
->
draw_ellipse
;
g_object_set
(
widget
,
"draw-ellipse"
,
GIMP_RECTANGLE_SELECT_TOOL_GET_CLASS
(
rect_tool
)
->
draw_ellipse
,
"draw-ellipse"
,
draw_ellipse
,
"status-title"
,
draw_ellipse
?
_
(
"Ellipse: "
)
:
_
(
"Rectangle :"
)
,
NULL
);
gimp_draw_tool_set_widget
(
GIMP_DRAW_TOOL
(
tool
),
widget
);
...
...
app/tools/gimptexttool.c
View file @
26b9e7a3
...
...
@@ -948,6 +948,7 @@ gimp_text_tool_start (GimpTextTool *text_tool,
g_object_set
(
widget
,
"force-narrow-mode"
,
TRUE
,
"status-title"
,
_
(
"Text box: "
),
NULL
);
gimp_draw_tool_set_widget
(
GIMP_DRAW_TOOL
(
tool
),
widget
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment