Commit Graph

36074 Commits

Author SHA1 Message Date
Michael Natterer bcf89ac27d libgimp: and a typo in gimp.def, hopefully finished now :) 2016-01-17 14:35:55 +01:00
Michael Natterer 80faa72617 libgimp: remove duplicate entries from gimp.def 2016-01-17 14:22:35 +01:00
Benoit Touchette 2144a7ceb9 themnes: Updated light theme menuitem prelight 2016-01-17 07:08:49 -05:00
Benoit Touchette 127fdff9c7 themes: Updated both dark and light themes menuitem prelight.
Updated both themes menuitem prelight to use same filename in gtkrc.
Added new ui/menuitem-prelight.png
2016-01-17 06:58:43 -05:00
Michael Natterer bd5355221d libgimp: add the new functions to gimp.def 2016-01-17 00:46:54 +01:00
Ell 7b89fe6536 pdb: Use the diagonal-neighbors setting from GimpPDBContext...
...in gimp-image-select-contiguous-color()

This and the last 5 commits fix bug 760481.
2016-01-17 00:46:54 +01:00
Ell 7b3e5ba1e9 pdb: Add "diagonal-neighbors" as GimpPDBContext property
and add PDB API to get/set it.
2016-01-17 00:46:54 +01:00
Ell e0b1aa1c26 app: Add diagonal_neighbors parameter to gimp_channel_select_fuzzy()
and propagate it to gimp_pickable_contiguous_region_by_seed(), in
preperation for adding a diagonal-neighbors setting to PDB.
2016-01-17 00:46:54 +01:00
Ell 350c7ca338 app: Add "Diagonal neighbors" option to the bucket fill tool
When checked, diagonally neighboring pixels are considered connected
when calculating the affected area.

This commit also adds a corresponding diagonal_neighbors parameter to
gimp_drawable_bucket_fill(), and modifies the callers, other than the
bucket fill tool, to pass FALSE for this parameter, to retain the
current behavior.
2016-01-17 00:46:54 +01:00
Ell 070007d891 app: Add "Diagonal neighbors" option to the fuzzy select tool
When checked, diagonally neighboring pixels are considered connected
when calculating the affected area.
2016-01-17 00:46:54 +01:00
Ell 93bf78b83e app: Add diagonal_neighbors parameter to...
...gimp_pickable_contiguous_region_by_seed(), in preperation
for adding a similar option to the relevant tools.

When this parameter is TRUE, all eight neighbors of each pixel
are considered when calculating the resulting region, instead
of just the four orthogonal ones.

This commit also modifies all callers to pass FALSE for this
parameter, to retain the current behavior.
2016-01-17 00:46:54 +01:00
Jehan ca9ca906a7 themes: complete dark and light themes.
Missing style rules which have to be in both themes.
https://bugzilla.gnome.org/show_bug.cgi?id=759648#c26
2016-01-16 23:01:49 +01:00
Michael Natterer 38691ee03d app: register the newly changed ops' properties normally
not using GIMP_CONFIG_INSTALL_PROP_FOO() because they don't allow to
set the param spec's nick and blurb separately.
2016-01-16 22:50:15 +01:00
Michael Natterer 149d3f441f app: turn the desaturate tool into a normal GEGL filter 2016-01-16 22:38:12 +01:00
Michael Natterer 6f6922006c menus: remove posterize from Tools -> Colors 2016-01-16 22:10:38 +01:00
Michael Natterer 6541c6b80b app: add icons to the generated gimp-gegl-config-proxy classes 2016-01-16 22:01:07 +01:00
Michael Natterer 7b009c6900 app: turn the posterize tool into an ordinary GEGL filter
which means replacing the whole thing by a few lines.
2016-01-16 21:41:00 +01:00
Michael Natterer 2334cb41a7 Bug 760579 - Plug-in dialogs fail to use UI themes
Something must have changed in GTK+, probably a long time ago, because
this code definitely used to work in the past.

Anyway, change gimp_ui_init() in libgimpui to use gtk_rc_parse()
instead of gtk_rc_add_default_file() which fixes the plug-in's initial
theme, and install a GFileMonitor on themerc which calls
gtk_rc_reparse_all() when themerc changes.
2016-01-16 19:36:13 +01:00
Jehan 98ecd4a010 themes: matches widget styles on Dark and Light themes.
<classname> means the style applies on any child class.
In particular the rule "<GtkButton>" will apply on any object derived
from a GtkButton.
2016-01-16 15:58:23 +01:00
Michael Natterer 359c00a722 Bug 760658 - on rotated convas, marching ants are re-drawn incorrectly
selection_zoom_segs(): if the canvas is rotated, don't optimize
segment drawing by clamping it to the canvas widget boundaries.
2016-01-16 01:56:57 +01:00
Alexandre Prokoudine ba39a5a523 Update plug-ins compatibility list 2016-01-16 00:44:02 +03:00
Alexandre Prokoudine bf3ac54c46 Fix references to settings to match recent typo fixes in GEGL 2016-01-16 00:19:53 +03:00
Marco Ciampa 5555fb5191 Updated Italian translation 2016-01-15 09:37:17 +01:00
Michael Natterer dd1809bc21 app: simplify gimp_display_shell_scale_get_zoom_focus()
The logic should be exactly as before, just less convoluted.
2016-01-14 23:57:40 +01:00
kolbjoern e3f88fc4ef Updated Norwegian (nn) translation 2016-01-14 20:20:16 +01:00
Benoit Touchette 2e7ebde19d themes: add missing fixes for 'The Dark Side of Gimp' theme
Adds missing plugins fix, reverts part of previous commit to
remove duplicate styles.

https://bugzilla.gnome.org/show_bug.cgi?id=759649
2016-01-14 10:23:33 -05:00
klausstaedtler 6ba9acd81a Deleted gimp-preefs-icon-theme, was a false named double of gimp-prefs-icon-theme
Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-01-13 23:16:37 +01:00
klausstaedtler c599582c51 Updated symbolic icon theme
attention due to default color changes in scalable.svg icon former
icon-theme symbolic-inversed is now symbolic

Changes in scalable.svg


set background color of svg to transparent otherwise exported png's have a tint.

ADDED MISSING

+ gimp-center (added, new)
+ gimp-color-triangle (added, new)
+ gimp-controller-linux-input (added, new)
+ gimp-convert-grayscale (added, new)
+ gimp-convert-indexed (added, new)
+ gimp-convert-rgb (added, new)
+ gimp-display-filter-colorblind (added, new)
+ gimp-display-filter-contrast (added was in art-libre, reworked to match with other display filter)
+ gimp-display-filter-gamma (added, new)
+ gimp-display-filter-proof (added, new)
+ gimp-display-filter-lcms (added, new)
+ gimp-gradient-shapeburst-angular (added, new)
+ gimp-gradient-shapeburst-dimpled (added, new)
+ gimp-gradient-shapeburst-spherical (added, new)
+ gimp-gradient-spiral-anticlockwise (added, new)
+ gimp-gradient-spiral-clockwise (added, new)
+ gimp-list (added, new)
+ gimp-gradient-square (added, new)
+ gimp-histogram-logarithmic (was missing from the missing list. added, new)
+ gimp-histogram (added, new)
+ gimp-images (added new)
+ gimp-layer-to-imagesize (was gimp-layer + arrow)
+ gimp-navigation (added, new)
+ gimp-path-stroke (added, new)
+ gimp-path (added, new)
+ gimp-resize (added, new)
+ gimp-scale (added, new)
+ gimp-selection-add (added, new)
+ gimp-selection-replace (added, new)
+ gimp-selection-to-channel (added, new)
+ gimp-selection-to-path (added, new)
+ gimp-toilet-paper (added, new, no inverse, colors b&w, gets wrong when inverted !)
+ gimp-tool-preset (added, =gimp-prefs-folders-tool-presets, double use)
+ gimp-warning'(added, from gnome 3.12 symbolic theme)
+ gimp-prefs-toolbox (added, from gnome 3.12 symbolic theme)
+ gimp-wilber-eek (added, new from gimp-wilber)

SEPERATED

- gimp-frame (always used as a fixed size for now)
- gimp-texture (used in 2 docks: navigation and selection editor, as background when there is no image)


CHANGES

# gimp-prefs-system-resources (moved, renamed, was in unused)
# g847 (renamed to gimp-grid)
# gimp-channels (reworked, no TV-metaphor)
# gimp-channel (reworked, no TV-metaphor)
# gimp-channel-red (reworked, no TV-metaphor)
# gimp-channel-green (reworked, no TV-metaphor)
# gimp-channel-blue (reworked, no TV-metaphor)
# gimp-channel-alpha (reworked, no TV-metaphor)
# gimp-channel-gray (reworked, no TV-metaphor)
# gimp-channel-indexed (reworked, no TV-metaphor)
# gimp-histogram-linear (renamed, was gimp-histogram)
# gimp-tools (renamed, was gimp-prefs-toolbox)
# gimp-layer (reworked, so it fits to layer)
# gimp-wilber-outlined (outligning changed to 'bebebeff 30%')
# gimp-floating-selection (reworked, so it fits to selection)
# gimp-prefs-folders-tool-plug-ins (reworked, so it fits to other prefs-folders)
# gimp-controller (reworked, no gears)
# gimp-tool-blend (reworked, doubled gimp-gradient-linear)
# gimp-default-color (reworked, no inverse, colors b&w, gets wrong when inverted !)
# gimp-color-picker-gray (grey quarter set to bebebeff 50%, so it stays grey when inverted)
# gimp-color-picker-white (lightgrey quarter set to white, gets wrong when inverted !)
# gimp-color-picker-black (darkgrey quarter set to black, gets wrong when inverted !)

NEW UNUSED

+ gimp-nonvisible
+ gimp-prefs-image-window-appearance (gimp-prefs-image-windows has double usage)
+ gimp-prefs-image-window-snapping (gimp-prefs-tool-options has double usage)

Signed-off-by: klausstaedtler <staedtler-przyborski@web.de>
2016-01-13 21:22:06 +01:00
draekko 079e113dd9 themes: update/fixes for 'The-Light-Side-of-Gimp' theme
Updated & fixed KDE plugins/filters not being skinned properly.
Fixed Ubuntu overlay scrollbars. Minor color tweak to UI menu
bar.

https://bugzilla.gnome.org/show_bug.cgi?id=759648
2016-01-13 10:02:16 -05:00
draekko 4dbc68be7f themes: update/fixes for 'The-Dark-Side-of-Gimp' theme
Updated & fixed KDE plugins/filters not being skinned properly.
Fixed Ubuntu overlay scrollbars.

https://bugzilla.gnome.org/show_bug.cgi?id=759649
2016-01-13 09:57:19 -05:00
Michael Schumacher 4050f5c628 Theme 'Default' has been renamed to 'Color' 2016-01-12 21:23:48 +01:00
Jehan 6263ac5de6 themes: clean out some duplicate style.
The style "combobox-entry-button-style" was defined twice (with the
exact same implementation).
2016-01-12 14:37:59 +01:00
Jehan b0731f9aed app: remove unused variables (clean out build warnings).
There are still unused variables in gimp_mybrush_get_checksum() and
gimp_mybrush_get_memsize() but these seem to be because of pending
implementations. So I leave the warnings.
2016-01-12 10:34:43 +01:00
Michael Natterer 72d8bcd663 icons: create the directory in the rule to make 12/gimp-default-colors.png 2016-01-12 02:09:05 +01:00
Michael Natterer 97ea600623 app: s/Default/Color/ in the testing icon theme Makefile rules 2016-01-11 20:35:32 +01:00
Michael Natterer 3428a5c579 icons: use cp not LN_S to "create" the inverted 12/gimp-default-colors.png
Linking it apparently messed up something (identical timestamps?) so
sudo make install would fail.
2016-01-11 20:34:16 +01:00
Jehan 7f67b53264 themes: fix paths to "Color" icon theme in "Default" and "Small" themes.
There are still a few hardcoded paths in the Default/Small themes.
Update them to the new name of the "Default" icon theme, which became
"Color".
2016-01-11 17:56:39 +01:00
draekko b3dc5db2a2 themes: adding The-Light-Side-of-Gimp theme
Adding light theme as per request:
https://bugzilla.gnome.org/show_bug.cgi?id=759648#c19
2016-01-11 09:53:41 -05:00
Benoit Touchette 1013cadc3d themes: add missing png reference to makefile 2016-01-11 09:07:54 -05:00
Benoit Touchette fdb582b95c icons: fix compile errors
Fixed "gimpicons.c:30:45: fatal error: icons/Default/gimp-icon-pixbufs.c:
No such file or directory" after commits :
ee512b610d
fa9e5b8f98
Fixed "ln: failed to create symbolic link ‘12/gimp-default-colors.png’:
File exists" by forcing new symlinking on creating get-default-colors.png
for Symbolic-inverted to prevent error during make.
2016-01-11 08:48:14 -05:00
Jehan c2b4d6c69e icons: original Symbolic gimp-default-colors was wrong.
It was using inverted colors. For now I copied the Color icon, since the
Symbolic one in the SVG source is using greyish colors, whereas this
icon actually has a very specific White/Black meaning.
SVG source will have to be changed.
2016-01-11 03:55:55 +01:00
Jehan ee512b610d icons: "Default" icon theme renamed to "Color".
Conveys well the duality of Color vs. Symbolic icons, terms usually
used by designers in recent design texts.
2016-01-11 03:20:13 +01:00
Jehan fa9e5b8f98 app: do not hardcode default theme and icon theme all over the code.
Create GIMP_CONFIG_DEFAULT_(ICON_)?THEME in gimpguiconfig.h to set
defaults in a single place, except for libgimpwidgets/ which cannot
include from app/.
2016-01-11 03:15:36 +01:00
Jehan 3275ea4a29 icons: do not invert "gimp-default-colors" icon for Symbolic-Inverted. 2016-01-11 02:43:20 +01:00
Michael Natterer 0c2797c22e Bug 760362 - gimp-swap-colors not changed 'on the fly' when icon-theme changes
GimpFgBgEditor: free the cached icons in GtkWidget::style_set().
2016-01-11 02:09:55 +01:00
Michael Natterer 2560ad60fa app: fix image position when entering/leaving fullscreen mode
Call the suspend()/resume() from the previous commit around
gimp_display_shell_appearance_update() so the cancas is not
repositioned for each individual widget configuration.
2016-01-11 01:55:14 +01:00
Michael Natterer cbf2311134 app: make new images jump around much less
Implement a mechanism to suspend/resume GimpImageWindow's "keep canvas
pos" logic which is used to keep the image in place across widget
changed such as show/hide rulers.

gimp_display_shell_fill(): call suspend()/resume() around
gimp_display_shell_appearance_update(), and center the image after
calculating the initial scale factor, so the image jumping at least
starts at the approximately right position.
2016-01-11 01:50:29 +01:00
Michael Natterer 26ea7a3530 app: remove (hopefully) redundant calls to gimp_display_shell_scale_update()
because this should happen generically in the zoom model's "zoomed"
callback, and is done explicitly in a few special cases. The removed
calls should all be redundant.
2016-01-10 23:05:41 +01:00
Michael Natterer 86cbc2f7a7 Bug 760402 - Zoom in (with "Resize window on zoom") displays wrong...
...several different zooms tiled together

In gimp_display_shell_scale() don't shortcut things in the case where
we resize the window, but call gimp_display_shell_scale_resize() like
all other scaling functions do in the end.
2016-01-10 20:32:17 +01:00
Benoit Touchette 75f81d15b1 themes: updates & bug fixes for KDE, Gnome
Fixed display issues for The-Dark-Side-of-Gimp under KDE (QtCurves &
Oxygen-GTK) themes, and Gnome users (Ubuntu). Removed focus padding &
lines to bring look closer to the Default theme. Updated button look
to harmonize with possible future grey and light themes.
2016-01-10 14:22:34 -05:00