Michael Natterer
3f8d55fe79
app: don't set "follow-state" on GimpCellRendererButton
...
The button's function doesn't change so it shouldn't look differently.
2016-10-04 01:21:52 +02:00
Michael Natterer
de87b0ac68
app: disconnect the "add" and "remove" handlers on dialog destruction
...
Broke this in the last commit.
2016-10-02 20:36:14 +02:00
Simon Budig
e1b31bd37e
vectortool: one more explaining message.
2016-10-02 20:04:46 +02:00
Michael Natterer
f8d816cb96
app: some cleanup in quit-dialog.c
...
Rename "dialog" variables to "private" like in the other recently
cleaned up dialogs. Use less complicated code when connecting to the
container of dirty images.
2016-10-02 18:10:50 +02:00
Jehan
3943d9fe63
app: give focus back to quit dialog after changing active shell.
...
Otherwise keyboard interaction (like hitting Escape or ctrl-d) ends up
broken and you may not realize immediately the dialog lost focus since
it is still the top window.
2016-10-02 04:10:26 +02:00
Jehan
9e9955480b
app: add an extracted comment for translators on the quit dialog's text.
...
"There is one image" should not necessarily be translated to '1' in
other languages. It depends if their singular applies only to 1, like
in English. For instance in French, it can also apply to 0, so I fixed
the French translation.
2016-10-02 00:26:37 +02:00
Jehan
f4abe9a8c0
app: s/seperator/separator/ in an extracted comment for the translators.
2016-10-02 00:07:24 +02:00
Michael Natterer
713e4071b2
Bug 770911 - Move tool should display relative coordinates in statusbar...
...
...when moving guides
Show relative coordinates when moving guides and sample points, the
cursor display in the statusbar already shows absolute coordinates.
2016-10-01 22:45:51 +02:00
Michael Natterer
0089a017f0
Bug 706309 - Add a “Save As” button to the “Quit GIMP” dialog
...
Add GimpCellRendererButton and use it to add a "Save" icon to each row
of dirty images. Click invokes the "edit-save" action, shift-click
invokes "edit-save-as". Also add a tooltip for the icon button.
Involves minor changes to GimpContainerTreeView to allow
GimpCellRendererButton to be added, and to allow external
"query-tooltip" handlers to run.
2016-10-01 21:00:39 +02:00
Michael Natterer
aa0afe0d01
app: invoke the right action when the quick mask button is clicked
...
instead of implementing the toggling in display/. One more bit
moved to actiona/.
2016-10-01 01:06:02 +02:00
Michael Natterer
41754669e6
pdb: fix PDB compat wrappers which i just broke
...
and simplify them using gimp_color_config_get_rgb_color_profile().
2016-10-01 00:43:17 +02:00
Michael Natterer
0524b60228
app: consistently treat GimpColorConfig profile paths as config paths
...
and use gimp_file_new_for_config_path() and _get_config_path() when
dealing with them. We used a weird mix of config paths and plain
(filesystem encoded) paths, waiting to to break on umlauts or
whatever. The code in gimpcolorconfig.c was particularly bad.
2016-10-01 00:29:44 +02:00
Michael Natterer
3e84c551de
app: remember the size of the prefs dialog
2016-10-01 00:20:00 +02:00
Michael Natterer
eeb9364445
app: fix capitalization in prefs frame title
2016-10-01 00:19:37 +02:00
Michael Natterer
e8309826b7
app, libgimpwidgets: use the new config path <-> GFile functions
...
Gets rid of temporary variables to hold both expanded and unexpanded
paths.
2016-09-30 22:07:00 +02:00
Michael Natterer
beb3279bf2
Bug 320447 - fast switching between "color managed display" and "softproof"
...
Add a SELECT_SOFTPROOF_PROFILE mode to the color profile dialog and
use it to select a profile from a newly added "Soft-Proofing Profile..."
menu item in view -> color management.
2016-09-30 20:56:04 +02:00
Michael Natterer
2019756747
app: add the chosen GFile to GimpColorProfileCallback
2016-09-29 23:06:46 +02:00
Michael Natterer
6464b47b9d
app: reorder callbacks in view-commands.c, same order as in the header
2016-09-29 22:48:02 +02:00
Michael Natterer
edc903ca32
app: add a callback to the color profile dialog
...
and move the image modifying calls to image-commands.c
2016-09-29 22:43:37 +02:00
Michael Natterer
062df6bd09
Bug 772025 - Incomplete toolrc file causes GIMP to hang
...
gimp_tools_restore(): print the error message when parsing toolrc fails.
2016-09-28 14:53:42 +02:00
Øyvind Kolås
e1db36360b
gegl-apply-operation: s/dither-strategy/dither-method/
2016-09-28 12:05:41 +02:00
Michael Natterer
b27f3ff460
app: don't leak the passed file in file_open_dialog_show()
...
That ref should have been removed in commit ff6ea69
.
2016-09-28 01:14:05 +02:00
Michael Natterer
88ff45eb05
app: keep the statusbar progress from drawing over the right docks
...
In a blocking operation we don't give the main loop time to lay out
the statusbar correctly after showing the progress bar. Force a size
on the progress bar using gtk_widget_size_allocate(). This sucks.
2016-09-28 00:44:14 +02:00
Michael Natterer
a6b6259b22
Bug 599573 - Remember dialog defaults between Gimp sessions
...
Remember the 'Indexed Color Conversion' dialog settings in
GimpDialogConfig.
2016-09-28 00:31:59 +02:00
Michael Natterer
009417e450
app: reorder and rename indexed conversion parameters to make more sense
2016-09-27 23:51:33 +02:00
Michael Natterer
d5f34e7ce5
app: rename indexed conversion dither option variables and parameters
2016-09-27 22:49:05 +02:00
Michael Natterer
f43760aea6
app: add a callback to the convert indexed dialog
...
and call gimp_image_convert_indexed() in image-commands.c where it
belongs. Also remember the default values there, they will to to
GimpDialogConfig next.
2016-09-27 15:43:25 +02:00
Michael Natterer
0932386d1b
app: add a callback to the stroke dialog
...
and move the actual stroking code to select-commands.c,
vectors-commands.c and gimpvectorstool.c. Remember the active drawable
so the stroke always happens on the drawable the dialog was invoked
with.
2016-09-27 11:15:52 +02:00
Michael Natterer
81603eaa58
Bug 767178 - Segment fault on deleting an automatic folder tag
...
The GimpTaggedContainer->tag_ref_counts keeps pointers to GimpTags but
didn't ref them. Ref the tags while they are in the hash table.
2016-09-27 10:14:45 +02:00
Simon Budig
75853eec01
fix typo
2016-09-27 02:27:09 +02:00
Simon Budig
c333a04f18
gimpwarptool: use the linear sampler for the warp tool to ensure crisp lines after an erase.
2016-09-27 00:37:42 +02:00
Michael Natterer
905bb370bd
app: add a callback to the fill dialog
...
and move the actual filling code to select-commands.c and
vectors-commands.c. Remember the active drawable so the fill always
happens on the drawable the dialog was invoked with.
2016-09-27 00:01:11 +02:00
Michael Natterer
bbbfe5cafc
app: add a callback to the offset dialog
...
and move the actual offset call to drawable-commands.c.
2016-09-26 23:08:29 +02:00
Michael Natterer
2a04cc91a2
app: add a callback to the convert precision dialog
...
and move the image manipulation code out of convert-precision-dialog.c
into image-commands.c where it belongs.
2016-09-26 22:44:34 +02:00
Michael Natterer
98232c25a5
Bug 735895 - Precision Conversion "Dithering" dialog
...
Remember the convert precision dialog's dithering options in
GimpDialogConfig. Also addresses bug 599573.
2016-09-26 17:38:26 +02:00
Michael Natterer
ec64dbb3b7
app: also reset the profile import policy when resetting color management
2016-09-26 00:56:40 +02:00
Michael Natterer
28c0e752b2
app: use prefs_file_chooser_button_add() for the temp and swap paths
2016-09-26 00:23:08 +02:00
Michael Natterer
f07b9e17cc
Bug 599573 - Remember dialog defaults between Gimp sessions
...
Remember the "Export Paths" and "Import Paths" dialog settings in
GimpDialogConfig, including their last used folders.
2016-09-26 00:16:47 +02:00
Michael Natterer
ea98f9967e
app: change gimp_pickable_auto_shrink()'s parameters
...
from x1, y1, x2, y2 to x, y, width, height.
2016-09-25 22:40:28 +02:00
Michael Natterer
9a9899e542
app: general review and cleanup in actions/*-commands.c
2016-09-25 22:18:37 +02:00
Michael Natterer
99319182b7
app: attach the "Reset all filters" dialog to Gimp
...
so it's not shown multiple times.
2016-09-25 20:32:50 +02:00
Michael Natterer
1886f556e1
app: use dialogs_attach_dialog() for the canvas padding color dialog
2016-09-25 01:24:42 +02:00
Michael Natterer
12428ea7d7
app: add dialogs_destroy_dialog(), destroys an attached dialog by its key
2016-09-25 01:23:55 +02:00
Michael Natterer
c5957f146b
app: remove the "filters_dialog" member from GimpDisplayShell
...
and attach the dialog using dialogs_attach_dialog().
2016-09-25 01:06:13 +02:00
Michael Natterer
8ab530ffc0
Bug 599573 - Remember dialog defaults between Gimp sessions
...
Forgot to add the "merge visible layers" and "convert to color
profile" settings to prefs' "Dialog Defaults" page.
2016-09-25 00:33:58 +02:00
Michael Natterer
da23240478
app: use gimp_enum_radio_frame_new_with_range() in the merge layers dialog
...
instead of "manually" building the widgets using
gimp_int_radio_group_new().
2016-09-25 00:31:41 +02:00
Michael Natterer
3c7fcf4c58
Bug 599573 - Remember dialog defaults between Gimp sessions
...
Remember the "Convert to Color Profile" dialog's "intent" and "black
point compensation" in GimpDialogConfig.
2016-09-24 22:54:42 +02:00
Michael Natterer
e703f8482e
app: make the ChannelOptionsDialog private
...
and provide a custom callback instead. Also attach the "New Layer",
"Edit Layer Attributes" and "Configure Quick Mask" dialogs to their
image/channel.
2016-09-24 22:10:32 +02:00
Michael Natterer
c2f264f5ca
app: make the LayerOptionsDialog private
...
and provide a custom callback instead. Also attach the "New Layer"
and "Edit Layer Attributes" to their image/layer.
2016-09-24 21:10:54 +02:00
Michael Natterer
2522c7ed02
app: make the VectorsOptionsDialog private
...
and provide a custom callback instead. Also attach the "New Path"
and "Edit Path Attributes" to their image/path.
2016-09-24 20:32:44 +02:00