Commit Graph

25664 Commits

Author SHA1 Message Date
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
Martin Nordholts e247791209 devel-docs: Update release-howto.txt 2009-08-15 13:02:01 +02:00
Martin Nordholts e9f3329ce0 Update NEWS 2009-08-15 12:06:07 +02:00
Martin Nordholts 966b81992b app: Add "FG to BG (Hardedge)" gradient
Add internal gradient "FG to BG (Hardedge)" based on gradient by
Saul Goode. See bug #589371.
2009-08-15 11:58:08 +02:00
Martin Nordholts 98aaae7cac app: Clean up internal gradient construction
Move code that is not shared between all gradients out of
gimp_gradients_add_gradient() and group the code with comments.
2009-08-15 11:48:36 +02:00
Roman Joost dc249d4dc3 XMP Model now emits a property-changed signal incl. a detail.
The client can now subscribe to a specific property-change signal. The
detail is provided as <xmp-schema-prefix>:<xmp-property-name>. The
xmpdump test program was used to verify that the implementation works.
2009-08-15 19:47:49 +10:00
Roman Joost f436ffd722 Changed XMPModel to GtkTreeStore based object with one custom signal.
The XMPModel now emits a property-changed signal, if the property value
has been changed by xmp_model_set_scalar_property.
2009-08-15 19:47:49 +10:00
Martin Nordholts e9905896fc devel-docs: Refer to website for patch submitting instructions 2009-08-15 09:49:10 +02:00