Commit Graph

36457 Commits

Author SHA1 Message Date
Michael Natterer bd5d851364 Bug 752071 - less tool preset defaults checked
Don't check palette and gradient, but special case the blend tool for
gradient. The idea is that we check everything except colors.
2016-02-12 00:12:00 +01:00
Michael Natterer e5b6806fe2 app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros
and remove lots of labels from calls to gimp_prop_foo_new(). Also
had to manually remove some unwanted labels that are now added
automatically, fixes bug #761880.
2016-02-11 23:46:24 +01:00
klausstaedtler 0bd4b1dd51 icons: Changes in color-scalable
minor clean-ups in many icons

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-11 22:16:47 +01:00
klausstaedtler d233eddf23 icons:Changes in scalable.svg
some cleanup in sources

wrong uploaded Color/16/gimp-gravity* removed

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-11 19:59:42 +01:00
klausstaedtler 012160f70d icons: Changes in color-scalable
minor change in gimp-convert-rgb


new in color-scalable:
gimp-rotate-270
gimp-rotate-180
gimp-rotate-90
gimp-center
gimp-gravity-north-west
gimp-gravity-north-east
gimp-gravity-south-east
gimp-gravity-south-west
gimp-gravity-north
gimp-gravity-east
gimp-gravity-south
gimp-gravity-west

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-11 19:43:07 +01:00
Jehan 7364c37158 app: update documentation comment of gimp_guide_custom_new().
Say in the doc that custom guides do not follow snapping settings.
2016-02-11 17:40:45 +01:00
Jehan fa19271859 app: do not snap to custom guides.
I am still not sure whether custom guides should follow snapping rules.
Yet I could easily imagine you could want some normal guides with
snapping and in the same time symmetry without snapping to axis of
symmetry. So for the time being, let's disable snapping to custom guides
all the time and see if logic could be improved later.
2016-02-11 17:35:21 +01:00
Jehan 790f72d4fe app: update "horizontal/vertical guide position" labels.
"Guide" is our internal representation. In geometry, we'll talk about
an "axis" of symmetry.
2016-02-11 17:15:53 +01:00
Jehan 0107335938 app: allow the mirror axis position within image's dimensions only.
This is not ideal since the scale widget is crazy huge, thus
impractical, but the solution used on properties of other symmetries
(updating min/max of the class property) is wrong since it applies to
the whole class.
For the time being, it avoid setting obviously bad values until we
figure out the ideal automatic UI construction.
2016-02-11 17:12:45 +01:00
Jehan 60dc82d08c app: mirror axis should also be settable by scale widget...
... not only by guide moving. Both ways are complementary.
2016-02-11 17:12:45 +01:00
Jehan 609dcc5448 app: mandala center coordinates should also be settable by number...
... not only by guide moving. Both ways are complementary.
2016-02-11 17:12:44 +01:00
Jehan 04d8a2eed6 app: fix removing a GimpSymmetry from an image. 2016-02-11 16:45:50 +01:00
Jehan 30e4826473 app, libgimpwidgets: update gimp_prop_foo_new() documentation comments.
Explains what happens when NULL labels are used.
2016-02-11 16:35:45 +01:00
Jehan e6f4dad28c app: do not add both a GtkLabel and GtkImage child to a GtkCheckButton.
Since commit 9c4dd96, a NULL label to gimp_prop_check_button_new()
generates a label from the property nick. Trying to add a GtkImage in
the button outputs a warning because a GtkBin can have only one child.
Fixes the warning:
Gtk-WARNING **: Attempting to add a widget with type GtkImage to a
GtkCheckButton, but as a GtkBin subclass a GtkCheckButton can only contain one
widget at a time; it already contains a widget of type GtkLabel
2016-02-11 15:54:36 +01:00
klausstaedtler bb4f42f151 icons: Changes in color-scalable & scalable
new in color-scalable:
gimp-convert-grayscale
gimp-convert-rgb
gimp-convert-indexed

changed in scalable (to be in sync with color):
gimp-convert-grayscale
gimp-convert-rgb
gimp-convert-indexed

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-10 22:30:41 +01:00
klausstaedtler 0a67797d60 icons: Changes in color-scalable
new as scalable:
gimp-color-triangle
gimp-floating-selection
gimp-list
gimp-cursor
gimp-tool-hue-saturation
gimp-scale
gimp-rescale

now only 30 icons missing as scalable

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-10 20:34:57 +01:00
Massimo Valentini f44c77b4a2 Bug 761330: Gimp Drop Shadow window always opens...
...behind main window on windows

Windows requires that the process with the
foreground window explicitely allows long
lasting background processes showing their
windows as foreground/focused
2016-02-10 17:14:00 +01:00
Michael Natterer 18316c41a5 app: use the new GIMP_CONFIG_PROP_FOO()
instead of manual g_object_class_install_property().
2016-02-10 01:38:08 +01:00
Michael Natterer 33bb4f0b9b app: set the sensitivity of gegl:channel-mixer 2016-02-09 23:36:43 +01:00
Michael Natterer 9c4dd960a0 app, libgimpwidgets: allow NULL labels in some gimp_prop_foo_new() functions
and fall back to the GParamSpec's nick.
2016-02-09 23:35:06 +01:00
Michael Natterer a3f127bf5f libgimpconfig: add a new set of macros to register serialitable properties
The old GIMP_CONFIG_INSTALL_PROP_FOO() have the problem of always
passing NULL as the GParamSpec's "nick". I have no clue what we were
thinking back then, but this has always been a major design flaw
because (among other problems) it makes it impossible to fully
auto-generate GUIs based on properties.

Added GIMP_CONFIG_PROP_FOO() macros which do have a "nick" parameter,
will deprecate the old macros as soon as everything is ported.
2016-02-09 23:25:44 +01:00
klausstaedtler 221b47978d icons: Changes in color-scalable
tweak gimp-transparency

new as scalable:
gimp-tool-posterize
gimp-images
gimp-paste-as-new
gimp-paste-into

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-09 22:06:49 +01:00
Ask Hjorth Larsen ceabae5e4e Updated Danish translation
(cherry picked from commit 25ca13270f)
2016-02-09 13:57:11 +00:00
Ask Hjorth Larsen c1ccac2586 Updated Danish translation
(cherry picked from commit 8d2cc6083a)
2016-02-09 13:44:11 +00:00
Ask Hjorth Larsen 034bf170ae Updated Danish translation
(cherry picked from commit dafe93c41b)
2016-02-09 13:34:35 +00:00
klausstaedtler 813b19b06f icons: Changes in color-scalable & scalable
tweak gimp-zoom-follow-window

Changes in color-scalable
change gimp-prefs-system-resources (to something more preferences and system alike)
gimp-tool-airbrush enlarge airbrush


new as scalable:
gimp-prefs-playground
gimp-tool-curves
gimp-curve-free
gimp-curve-smooth
gimp-invert
gimp-transparency
gimp-tool-desaturate

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-08 21:45:05 +01:00
Sveinn í Felli 97eb397c4e Updated Icelandic translation 2016-02-08 13:27:08 +00:00
Sveinn í Felli e99d18dd87 Updated Icelandic translation 2016-02-08 13:21:25 +00:00
Sveinn í Felli 9f96077093 Updated Icelandic translation 2016-02-08 12:55:43 +00:00
Jordi Mas 95c9634361 Update Catalan translation 2016-02-07 22:46:35 +01:00
Massimo Valentini b5546ac0ac Bug 678085 - Cage tool freezes GIMP
progress signal accepts 1 parameter not 0
it worked in linux, but not in win64
2016-02-07 18:50:11 +01:00
klausstaedtler c59f3c7709 icons: Changes in color-scalable
new as scalable:
gimp-tool-align
gimp-tool-color-balance
gimp-tool-levels
gimp-tool-treshold
gimp-histogram
gimp-histogram-linear
gimp-histogram-logarithmic
gimp-portrait
gimp-landscape

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-07 16:47:02 +01:00
Jehan c4a87e7a49 app: fix coordinates computation when tile-painting with x-shift. 2016-02-07 15:54:10 +01:00
Jehan 931752f353 app: minor space cleanup. 2016-02-07 15:33:12 +01:00
Jehan a49e6d015a app: update tiling stroke coordinates when intervals change. 2016-02-07 15:17:20 +01:00
Piotr Drąg 65c6886544 Updated Polish translation 2016-02-07 12:18:54 +01:00
Michael Natterer 406e1819d0 app: move symmetry painting out of the playground
Also fixes bug #761617 because we don't unconditionally dereference
image_editor->context in gimp_symmetry_editor_set_image() any longer.
2016-02-06 23:33:04 +01:00
Michael Natterer 8bb00c639a app: simplify symmetry GUI generation
Remove GimpSymmetry::get_settings() and instead tag the properties that
should have a GUI with the GIMP_SYMMETRY_PARAM_GUI flag. Also use plain
g_object_class_install_property() because that allows for separate nick
and blurb. Finally, use gimp_prop_gui_new() to generate the GUI,
2016-02-06 23:20:44 +01:00
klausstaedtler 9fbeb8e656 icons: Changes in color-scalable & scalable
sync gimp-reset

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-06 23:14:29 +01:00
klausstaedtler 85cfadf176 icons: Changes in color-scalable,
gimp-menu-left, inversed for better visibility
gimp-menu right, inversed for better visibility
gimp-close, inversed for better visibility

new as scalable:
gimp-wilber-eek
gimp-gradient-shapeburst-angular
gimp-gradient-shapeburst-dimpled
gimp-gradient-shapeburst-sherical
gimp-print-resolution
gimp-device-status

down to 55 icons as scalable missing

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-06 22:24:44 +01:00
Piotr Drąg ca50077493 Updated Polish translation 2016-02-06 19:02:50 +01:00
Jehan 710455b71c Revert "app: create pango font description of statusbar zoom field only once..."
This reverts commit 6878b49491.
I didn't take into consideration that different themes could apply
various fonts, font sizes or label-scale for the widget. So the font
description needs to be reinitialized at every theme change.
2016-02-06 15:53:43 +01:00
Jehan a3185f8794 Bug 760906 - Fixing warning on new themes.
Both new themes were outputting the following warning for gap_left.png:
"Invalid borders specified for theme pixmap"
"borders don't fit within the image"
The problem was that the sum of the left and right gap borders cannot be
more than the gap file width (2 px in our case).
2016-02-06 02:00:06 +01:00
Jehan 6878b49491 app: create pango font description of statusbar zoom field only once...
... instead of recreating it all the time the same.
Small improvement of commit 3f2889e.
2016-02-06 01:19:43 +01:00
Michael Natterer 3ac3dcde48 app: add a GParamFlags parameter to gimp_prop_gui_new()
If non-0 flags are passed, create widgets only if the GParamSpec flags
have all the passed flags.
2016-02-06 01:04:40 +01:00
Michael Natterer e630d6faa8 app: simplify GimpSymmetryEditor even more 2016-02-06 00:32:57 +01:00
klausstaedtler 419b64d7f9 icons: Changes in color-scalable,
gimp-channels, corrected order of rgb
gimp-tool-ink, tweak for visibilty
gimp-tool-blend, tweak for visibility

new as scalable:
gimp-tool-foreground-selection
gimp-tool-by-color-select
gimp-reset
gimp-tool-brightness-contrast
gimp-gradient-bilinear
gimp-gradient-linear
gimp-gradient-radial
gimp-gradient-conical-asymmetric
gimp-gradient-conical-symmetric
gimp-gradient-clockwise
gimp-gradient-anticlockwise
gimp-gradient-square
gimp-tool-fuzzy-select

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-05 21:56:32 +01:00
Michael Natterer 46da951b85 app: add an offset to GimpDisplayShell's mask
and set that offset in GimpRegionSelectTool when not in sample_merged
mode. Fixes live selection mask display for layers with a non-zero
offset.
2016-02-05 21:21:52 +01:00
Dimitris Spingos c3eb5cf4c5 Updated Greek translation 2016-02-05 16:52:42 +02:00
klausstaedtler 3deb71240d icons: Changes in color-scalable,
new as scalable:
gimp-selection
gimp-selection-add
gimp-selection-all
gimp-selection-border
gimp-selection-grow
gimp-selection-intersect
gimp-selection-none
gimp-selection-replace
gimp-selection-shrink
gimp-selection-stroke
gimp-selection-subtract
gimp-selection-to-channel
gimp-selection-to-path

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-02-04 21:13:50 +01:00