Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
GIMP
Commits
2a67bfcb
Commit
2a67bfcb
authored
Sep 30, 2010
by
Sven Neumann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: document the new display title option
parent
26f6f299
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
app/config/gimpconfig-dump.c
app/config/gimpconfig-dump.c
+1
-0
app/display/gimpdisplayshell-title.c
app/display/gimpdisplayshell-title.c
+2
-3
docs/gimprc.5.in
docs/gimprc.5.in
+4
-0
etc/gimprc
etc/gimprc
+2
-0
No files found.
app/config/gimpconfig-dump.c
View file @
2a67bfcb
...
...
@@ -313,6 +313,7 @@ static const gchar display_format_description[] =
"%W image width in real-world units
\n
"
"%h image height in pixels
\n
"
"%H image height in real-world units
\n
"
"%M the image size expressed in megapixels
\n
"
"%u unit symbol
\n
"
"%U unit abbreviation
\n\n
"
;
...
...
app/display/gimpdisplayshell-title.c
View file @
2a67bfcb
...
...
@@ -324,9 +324,8 @@ gimp_display_shell_format_title (GimpDisplayShell *shell,
case
'M'
:
/* image size in megapixels */
i
+=
print
(
title
,
title_len
,
i
,
"%.1f"
,
(
double
)
gimp_image_get_width
(
image
)
*
gimp_image_get_height
(
image
)
/
1000000
.
0
);
(
gdouble
)
gimp_image_get_width
(
image
)
*
(
gdouble
)
gimp_image_get_height
(
image
)
/
1000000
.
0
);
break
;
case
'l'
:
/* number of layers */
...
...
docs/gimprc.5.in
View file @
2a67bfcb
...
...
@@ -513,6 +513,8 @@ certain % character sequences are recognised and expanded as follows:
.br
%H image height in real-world units
.br
%M the image size expressed in megapixels
.br
%u unit symbol
.br
%U unit abbreviation
...
...
@@ -572,6 +574,8 @@ certain % character sequences are recognised and expanded as follows:
.br
%H image height in real-world units
.br
%M the image size expressed in megapixels
.br
%u unit symbol
.br
%U unit abbreviation
...
...
etc/gimprc
View file @
2a67bfcb
...
...
@@ -403,6 +403,7 @@
# %W image width in real-world units
# %h image height in pixels
# %H image height in real-world units
# %M the image size expressed in megapixels
# %u unit symbol
# %U unit abbreviation
#
...
...
@@ -435,6 +436,7 @@
# %W image width in real-world units
# %h image height in pixels
# %H image height in real-world units
# %M the image size expressed in megapixels
# %u unit symbol
# %U unit abbreviation
#
...
...
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