Commit Graph

35846 Commits

Author SHA1 Message Date
Michael Natterer 50309bea12 app: invalidate GimpView's renderer in style_set() 2015-12-14 23:22:14 +01:00
Michael Natterer 1b786f6479 app: typo in debug output in gimp_display_shell_profile_update() 2015-12-14 23:19:58 +01:00
Michael Natterer fc743bd426 libgimpcolor: add support for GRAY profiles in gimp_color_profile_get_format()
surprisinly seems to work just fine. Thanks to Roman Lebedev for
hinting that this is possible, and for constructing the #defines.
2015-12-14 23:16:38 +01:00
Michael Natterer 0ad8c786b5 app: use the image's projectable format for profile conversion
which is RGB for RGB and INDEXED images, and GRAY for GRAY images.
2015-12-14 23:02:31 +01:00
Michael Natterer 822bfabe21 Revert "libgimpcolor: use D50 for the gray profiles"
This reverts commit 169f436e75.

Turns out we should use the same whitepoint for RGB and GRAY.
2015-12-14 18:43:26 +01:00
Michael Natterer 40280c0862 app: add the preferred gray profile to the prefs dialog 2015-12-14 02:13:51 +01:00
Michael Natterer 5cbe6f2003 libgimpconfig: add a preferred gray profile to GimpColorConfig 2015-12-14 01:54:00 +01:00
Michael Natterer 169f436e75 libgimpcolor: use D50 for the gray profiles 2015-12-14 01:32:35 +01:00
Michael Natterer 11e8cacf7e Bug 756389 - Color-managing grayscale images
Support creating linear/sRGB-gamma variants of gray profiles and
rename gimp_color_profile_new_linear_rgb_from_color_profile() to
gimp_color_profile_new_linear_gamma_from_color_profile() because it's
not RGB-specific any longer.
2015-12-13 23:36:31 +01:00
Michael Natterer bb482badf0 app: s/gimp_stock_init/gimp_icons_init/ in the user install dialog 2015-12-13 20:03:52 +01:00
Michael Natterer b54a8d1939 Bug 756389 - Color-managing grayscale images
Add gimp_color_profile_new_srgb_gray() and
gimp_color_profile_new_linear_gray().

I know "srgb_gray" sounds odd but it's better than
"gray_with_srgb_trc"...

Please review, I have no clue if that code is right.
2015-12-13 19:43:02 +01:00
Piotr Drąg c7bd7ba991 Updated Polish translation 2015-12-13 18:46:10 +01:00
Jehan 46b9c6927b icons: add vectorial icons by Benoit Touchette for prefs-icon-theme. 2015-12-13 15:45:48 +01:00
Michael Natterer 4780471c5f libgimpcolor: add gimp_color_profile_is_gray()
and improve gimp_color_profile_is_linear() to return TRUE for linear
gray matrix profiles.
2015-12-13 14:33:51 +01:00
Michael Natterer 8bdcc2f565 themes: fix icon paths in the "Small" theme 2015-12-13 13:39:08 +01:00
Michael Natterer f7d33ac18f app: don't hardcode the prefs icon sizes n_categories times
Remove the parameters from gimp_prefs_box_add_page() and instead
hardcode them once in GimpPrefsBox. This way they can also easily be
made configurable in the future.
2015-12-13 13:33:55 +01:00
Michael Natterer 8619852a6c app, icons: rename the prefs' "environment" icons to "system-resources"
also rename the help ID.
2015-12-13 13:23:31 +01:00
Michael Natterer 7200ece117 app, icons: make the icon theme path configurable in prefs 2015-12-13 13:04:46 +01:00
Pedro Albuquerque beefcd74ad Updated Portuguese translation 2015-12-13 07:37:02 +00:00
Alexandre Prokoudine af00bb5ad5 Update Russian translation 2015-12-13 09:36:45 +03:00
Marco Ciampa dcdd37fb0b Small fix in Italian translation 2015-12-13 01:22:46 +01:00
Piotr Drąg e71a9304ce Updated Polish translation 2015-12-13 01:03:53 +01:00
Marco Ciampa d5d2ae255b Small fix in Italian translation 2015-12-12 23:20:08 +01:00
Michael Natterer 2e43824062 app: reorder the prefs categories tree, and rename some pages 2015-12-12 22:54:00 +01:00
Ask Hjorth Larsen 81cb55221c Updated Danish translation by scootergrisen 2015-12-12 21:29:59 +01:00
Michael Natterer 71894bd787 libgimpwidgets: rename gimpstock.[ch] to gimpicons.[ch]
because stock is on its way out, so we better start renaming and
deprecating stuff sooner than later.
2015-12-12 20:44:46 +01:00
Michael Natterer 69f87bcc84 libgimpwidgets: be smarter when changing icon themes, and have fallbacks
Add gimp_stock_set_icon_theme() which can be called at any time, also
before gimp_stock_init(), in which case we avoid setting the configured
icon theme twice on startup. Call it from libgimp/gimpui.c and
from app/gui/icon-themes.c so the app and plug-ins use the same
icon theme.
2015-12-12 19:32:11 +01:00
Piotr Drąg 0af43e92b4 Updated Polish translation 2015-12-12 17:50:41 +01:00
Jehan 6906180238 icons: files missing from install list. 2015-12-12 02:48:57 +01:00
Michael Natterer 7926188df5 app: update GimpItemTreeView's eye and link cells on icon theme change 2015-12-11 22:55:01 +01:00
Michael Natterer 1125f4df0f app: make sure icons in GimpContainerTreeView follow icon theme changes 2015-12-11 22:46:37 +01:00
Michael Natterer b79faa78b3 authors.xml: add Benoit Touchette 2015-12-11 22:20:16 +01:00
Benoit Touchette 55270366d7 Bug 759345 - Fix for prefs dialog to add icon theme support
Change GimpPrefsBox to use icon names instead of pixbufs, and change
preferences-dialog.c accordingly.
2015-12-11 22:15:22 +01:00
Michael Natterer d1e5d719de app: fix the test that an icon theme folder actually contains a theme
and don't leak the GFile if it doesn't.
2015-12-11 21:30:44 +01:00
Jehan b8a819c1e3 icons: symbolic icons for 'icon theme selection'...
... by Benoit Touchette.
2015-12-11 17:34:56 +01:00
Jehan 0d8938e4bf icons: the color icons are now under the Default/ folder. 2015-12-11 17:30:59 +01:00
Jehan a646f64472 app: remove some trailing spaces. 2015-12-10 01:40:55 +01:00
Alexandre Prokoudine e9dd77e072 Fix conflicting menu accelerators as per C R's request 2015-12-10 03:21:58 +03:00
Michael Natterer c700d2993d Revert "app: prepend the selected icon theme path to the search path..."
Don't infinitely prepend search paths when changing themes.

This reverts commit 6fe8f75f5d.
2015-12-10 00:29:32 +01:00
Jehan 6fe8f75f5d app: prepend the selected icon theme path to the search path...
... instead of replacing the first path.
This allows to fallback to our complete default theme icons when the
selected icon theme has missing icons.
2015-12-09 23:51:40 +01:00
Michael Natterer 0ff7d3ba14 libgimp, PDB: add gimp_get_icon_theme_dir() 2015-12-09 23:22:05 +01:00
Jehan 8d2ededbf2 themes: fix icon paths in Default theme's gtkrc.
A few icons are still hardcoded in the Default theme. I am not sure why
they are not taken from the icon theme, but anyway let's fix the errors
for now.
2015-12-09 23:12:04 +01:00
Jehan 5beb69d009 icons: new symbolic icon theme for GIMP.
Images originally created by Jakub Steiner and Barbara Muraus as the
"Art Libre" icon set.
The contributor jEsuSdA later worked on it.
It will now be available in the new icon theme selection through
preferences.
Many icons/size are still missing but this first commit makes a start
for complementary work.
2015-12-09 23:00:14 +01:00
Michael Natterer 9c3944d63b Bug 759212 - Warp tool must be disabled on group layers
Disable the warp tool on invisible, locked and group layers, and show
the "forbidden" cursor.
2015-12-09 20:30:32 +01:00
Michael Natterer 0b3f1835d3 icons: add a 48x48 icon for the prefs icon theme page 2015-12-09 19:50:31 +01:00
Benoit Touchette 6762bf5b9b Bug 759105 - Patch to add icon theme selection
Add support for custom icon themes much like custom theme
support. There is still work to be done but this is the
basic functionality.
2015-12-09 12:50:15 +01:00
Jehan 01bdb712f9 app: do not request xcf compat mode when compat_toggle not sensitive.
In some cases, on could end up with photographs with metadata as XCF
version 6, which is useless since this is not compatible with GIMP 2.8
either.
2015-12-08 20:10:45 +01:00
Sveinn í Felli 0e460fee65 Updated Icelandic translation 2015-12-07 15:17:16 +00:00
Sveinn í Felli 08d5e8e609 Updated Icelandic translation 2015-12-07 14:37:24 +00:00
Daniel Mustieles a1922f6c73 Updated Spanish translation 2015-12-07 14:25:56 +00:00