Michael Natterer
e95b5d9f72
When cropping the active layer, error out if there is none or it is locked
2009-08-20 22:43:01 +02:00
Michael Natterer
0953146be1
Check if there is an active layer if active_layer_only is TRUE
2009-08-20 22:41:49 +02:00
Michael Natterer
de409ea52a
Fix sensitivity of the "Merge down" action
...
The command doesn't simply need the next layer in the stack, it
needs the next *visible* layer.
2009-08-20 22:22:17 +02:00
Michael Natterer
3309c35f18
Fix typo: defualt -> default (spotted by Alexia)
2009-08-20 22:11:33 +02:00
Michael Natterer
f42f0e16a9
Add the "drawable-lock-content" action to the layer properties section
2009-08-20 21:20:20 +02:00
Michael Natterer
35a7052b8d
Add actions and callbacks to toggle "lock-content" on drawables and vectors
2009-08-20 21:19:43 +02:00
Michael Natterer
28061c23f1
Don't modify locked items from PDB wrappers
...
* app/pdb/gimppdb-utils.[ch]: add "gboolean writable" parameter to
gimp_pdb_item_is_attached() because this function is called on
almost all items where a check for locked is needed.
* tools/pdbgen/pdb/*.pdb: pass writable = TRUE in all checks for items
that are modified. Add explicit calls to gimp_pdb_item_is_writable()
in some rare cases.
* app/pdb/*-cmds.c: regenerated.
2009-08-20 20:47:01 +02:00
Michael Natterer
b5c3e5a6b6
Also copy "lock_content" when duplicating an item
2009-08-20 19:34:30 +02:00
Michael Natterer
774850c46f
Add gimp_pdb_item_is_writable() which sets an error if the item is locked
2009-08-20 18:50:55 +02:00
Michael Natterer
7262e45df9
Made modifying actions insensitive when the active item is locked
...
Use the term "writable" in the code as a shortcut for "there is an
active item and it is not locked".
2009-08-20 17:11:31 +02:00
Michael Natterer
ec6600a0b3
Refuse to edit locked drawables
...
Check whether the drawable to edit is locked in GimpTool::initialize()
and bail out with an appropriate error if it is. This currently
prevents cloning from locked drawables, will fix that later.
2009-08-20 17:05:23 +02:00
Michael Natterer
ee5b8c6552
Make the appearance of the "lock content" toggle configurable
...
* app/widgets/gimpitemtreeview.[ch]: add class members for the lock
content button's icon, tooltip and help_id and use them when
creating the button. Create the button in constructor() instead of
init() so we have access to our real class structure without the
need for a custom get_type() function.
* app/widgets/gimpdrawabletreeview.c: configure the button as "Lock pixels".
* app/widgets/gimpvectorstreeview.c: configure it as "Lock path strokes".
2009-08-20 12:50:40 +02:00
Michael Natterer
ff31975305
Keep the lock buttons at the end of the options vbox
2009-08-20 12:33:01 +02:00
Michael Natterer
86ad1ff70e
Add a "lock content" toggle that needs some more refinement hacking
2009-08-19 21:30:48 +02:00
Michael Natterer
a16bfe749f
Fix a comment
2009-08-19 21:30:48 +02:00
Michael Natterer
fb1a672546
Bug 61019 - add a 'lock' flag per layer to protect it
...
Took patch from Martin Nordholts and ported it to add a "lock-content"
property, signal and API in the same way as it's done for "visible"
and "linked".
2009-08-19 21:30:48 +02:00
Michael Natterer
f7ba1d1f2e
Add missing blank line after the vectors group of functions
2009-08-19 21:30:47 +02:00
Michael Natterer
7f94f3213b
Pack boolean members into a bitfield to save two integers per item
2009-08-19 21:30:47 +02:00
Michael Natterer
5260a535e5
Use the new option box API of GimpItemTreeView, remove own code for it
2009-08-19 21:30:47 +02:00
Michael Natterer
36530dd8be
Add generic code for boxes of options to GimpItemTreeView
...
- new API to add widgets to a box of options, for stuff like the paint
mode menu and opacity scale. Set it sensitive automatically and
update its spacings in GtkWidget::style_set().
- new API to get a hbox for "lock" toggles, for stuff like lock
pixels and lock alpha.
2009-08-19 21:30:47 +02:00
Kevin Cozens
728b1c6847
Eliminated some warnings when compiling TinyScheme.
2009-08-19 12:28:30 -04:00
Sven Neumann
d655f03607
correct a comment
2009-08-19 16:59:15 +02:00
Sven Neumann
9464d303a9
print: don't store image specific settings globally
...
It doesn't make sense to store image-specific settings such as resolution
and offsets in the global print-settings file. Only store them in the
image parasite, but remove them before saving the print-settings file.
2009-08-18 22:18:59 +02:00
Kevin Cozens
bacce394b5
De-tabified file.
2009-08-18 10:48:10 -04:00
Kevin Cozens
5809ddcd32
Eliminated a compiler warning.
2009-08-18 10:47:43 -04:00
Kevin Cozens
e602fc88af
Defined *compile-hook*. Changes based on official version of TinyScheme
...
(CVS commit dated 2009/06/19 03:09).
2009-08-18 10:47:12 -04:00
Kevin Cozens
59ea11d78a
Applied changes from CVS version 1.30 of official version of TinyScheme.
...
Some cleanups to in/outport and Eval_Cycle by Peter Michaux.
2009-08-18 10:46:01 -04:00
Kevin Cozens
05f2bd1aac
Added style-control file variables for emacs to all C files.
...
Changes based on official version of TinyScheme (CVS commit dated
2009/06/15 00:01).
2009-08-18 10:45:03 -04:00
Kevin Cozens
70de6ab70f
Applied changes from CVS version 1.27 of official version of TinyScheme.
...
Defined "snprintf" for WIN32 as "_snprintf".
2009-08-18 10:42:29 -04:00
Kevin Cozens
7ee46c4aa1
Added scheme_register_foreign_func_list and declarations for it.
...
Changes based on official version of TinyScheme (CVS commit dated
2008/07/11 19:09).
2009-08-18 10:38:33 -04:00
Kevin Cozens
4c862bf678
Applied changes from CVS version 1.24 of official version of TinyScheme.
...
Merged redundant list_length, is_list, OP_LISTP code.
2009-08-18 10:37:15 -04:00
Kevin Cozens
6a3a7befcf
Applied changes from CVS version 1.23 of official version of TinyScheme.
...
Fixed potential problem of arglist to foreign calls being wrongly GC'ed.
2009-08-18 10:09:12 -04:00
Kevin Cozens
48c87c29fd
Made nested calling thru C safer by save/restore old state.
...
Changes based on official version of TinyScheme (CVS commit dated
2008/05/25 03:27).
2009-08-18 10:09:12 -04:00
Kevin Cozens
76155d79df
Minor changes to minimize differences to official version of TinyScheme.
...
Fixed potential buffer overflow in readstr_upto().
2009-08-18 10:09:12 -04:00
Tomasz Dominikowski
1b8fe7b5f3
Updated Polish translation
2009-08-18 16:05:54 +02:00
Sven Neumann
322be18790
remove trailing whitespace
2009-08-18 08:53:12 +02:00
Martin Nordholts
ada56e5c2c
plug-ins: Improve JPEG2000 error messages
...
Improve JPEG2000 error messages by using g_set_error() so we don't
throw many different errors in the users face, and make each error
unique and descriptive instead of using the same message regardless of
the type of error.
2009-08-17 23:34:18 +02:00
Martin Nordholts
f0bf313641
data: Obsolete flag gradients
...
The flag gradients does not meet the requirements for genericness of
default resources, so obsolete them.
2009-08-16 18:15:46 +02:00
Martin Nordholts
7f6d7740eb
devel-docs: Add Index of new symbols-item to release-howto.txt
2009-08-16 18:15:46 +02:00
Sven Neumann
e032ad3b8e
metadata: formatting
2009-08-16 12:06:54 +02:00
Roman Joost
ec8b2eb911
Merge branch 'roman-metadata_xmp_model_custom_signals'
...
This merges two commits to add a custom signal (property-changed) to the
XMPModel. See Bug #589474 for more information.
2009-08-16 09:34:20 +10:00
Martin Nordholts
29be769689
Bump version to 2.7.1
2009-08-15 22:02:31 +02:00
Martin Nordholts
2c7e560988
Make GIMP 2.7.0 development release
...
Tweak NEWS and make GIMP 2.7.0 development release.
2009-08-15 21:32:38 +02:00
Martin Nordholts
b8fec538f6
devel-docs: Add "Index of new symbols in GIMP 2.8"
2009-08-15 21:19:58 +02:00
Martin Nordholts
a0caa427ef
data: Lower brush "Round Fuzzy" spacing to 20, that looks better
2009-08-15 21:09:56 +02:00
Martin Nordholts
74ceaab1b6
devel-docs: Warn about using -j for 'make distcheck'
2009-08-15 20:28:02 +02:00
Martin Nordholts
fd481041bb
devel-docs: Update 2.8 symbols (cont.)
2009-08-15 19:38:04 +02:00
Martin Nordholts
eb73424044
devel-docs: Update 2.8 symbols
2009-08-15 17:06:43 +02:00
Martin Nordholts
bdd20b7bf5
Update gimprc with default brush
2009-08-15 14:31:18 +02:00
Martin Nordholts
6b71aaed99
po: Update POTFILES.in
2009-08-15 14:31:04 +02:00