Commit Graph

27483 Commits

Author SHA1 Message Date
João S. O. Bueno 2525e30429 Adds a layer-group aware layers property to Layer objects 2010-04-27 23:34:44 -03:00
João S. O. Bueno cc60d331f7 Adds layer_group_get_layers call: minimal layer group support to the PDB 2010-04-27 23:34:43 -03:00
Ulf-D. Ehlert 9eac51989a po: Fix German translation 2010-04-27 14:33:51 +02:00
Michael Natterer 506469f9f9 app: minor formatting cleanup 2010-04-26 18:52:49 +02:00
Alexia Death 5e1c9d228c app: Fix tool preset editor init 2010-04-24 18:51:42 +03:00
Alexia Death 06c1b290d0 app: Add tool preset editor to controll what elements get applied
I had to remove the asserrt in tool preset constructor, because with it
it wasnt possible to initalize an empty model object for the editor.
At init time the gimp object passed to the constructor is not yet available.
2010-04-24 17:55:54 +03:00
Alexia Death 93ab387fb4 app: add use flags to tool preset 2010-04-24 15:54:35 +03:00
Marco Ciampa 72096f5d18 Updated italian translation. 2010-04-23 12:59:44 +02:00
Michael Natterer 8d3a5099f8 app: turn a g_warning() into a g_return_if_fail() 2010-04-22 17:17:02 +02:00
Michael Natterer 5b28d04674 app: queue the draw timeout only if paused_count reaches zero 2010-04-22 17:15:08 +02:00
Michael Natterer 2f5d2bc85f Bug 616342 - gimp crashes on startup if you have a contextrc file from 2.6
Remove the draw timeout in GObject::dispose() to be safe.
2010-04-22 16:45:44 +02:00
Michael Natterer 56e4585f70 app: finally apply tool presets when one is seleced
currently respects the fact that FG/BG are always global and the
global brush,pattern,... settings from gimprc. This should probably
not change, but rather be overridable on a per-preset basis as
suggested.
2010-04-21 20:56:49 +02:00
Michael Natterer 8f813ec52b app: print a warning if a wrong tool is set on a GimpToolOptions object
Use a real g_warning() because this is a programming error. Please
report all warnings.
2010-04-21 20:53:16 +02:00
Michael Natterer 94181ce538 app: don't overwrite all tool options' "tool" and "paint-info"
with bogus values from contextrc, we want them to always match the
tool option's type.
2010-04-21 20:43:27 +02:00
Alan Monfort 67377bb930 updated breton translation 2010-04-21 04:48:17 +02:00
Alexandre Prokoudine 15e462c8a2 Improved menu translation once again (ru) 2010-04-21 06:26:02 +04:00
Alexandre Prokoudine 0258961c46 Improved menu translation again (ru) 2010-04-21 05:15:28 +04:00
Alexandre Prokoudine 8035d4b942 Improved menu translation (ru) 2010-04-21 01:41:38 +04:00
Michael Natterer d47aa2ba52 app: change to the preset's tool when a tool preset is selected
but don't set any tool options yet because that is a lot more tricky.
2010-04-20 20:11:37 +02:00
Michael Natterer bb00c53bf5 app: make sure tool options are created with the right tool set 2010-04-20 20:04:24 +02:00
Michael Natterer c835fad2c9 app: make sure GimpToolOptions always have the right GimpToolInfo set
Override GimpContext's "tool" property and add an evil function that
makes sure we don't set a tool that doesn't match the options. Needed
because tool options are read from disk and thus unreliable per se,
additional we were stupid and wrote wrong tool options to disk.
2010-04-20 20:00:34 +02:00
Michael Natterer 372eabdd48 app: avoid using sealed GtkStatusbar members
Instead keep a pointer to the statusbar's label around in our own
object struct. Also remove conditional compilation based in GTK+
version.
2010-04-20 09:56:59 +02:00
Alexandre Prokoudine f464fefe8b Updated Russian translations 2010-04-20 00:11:54 +04:00
Alexandre Prokoudine 78f3a9e78a Added palette-export.scm to the list of translatable scripts 2010-04-20 00:11:54 +04:00
Alexandre Prokoudine bdd112c185 Better grammar, messages are translatable now 2010-04-20 00:11:54 +04:00
Michael Natterer a2c70822d4 Use accessors from GTK+ 2.20 instead of using sealed members directly 2010-04-19 19:21:07 +02:00
Michael Natterer a0358f7c64 Depend on GLib >= 2.24.0 and GTK+ 2.20.0 2010-04-19 19:03:08 +02:00
Martin Srebotnjak 6d75f53be8 Updated Slovenian translation 2010-04-19 14:42:39 +02:00
Alexia Death f53f73da19 app: Fix a typo in outline transform 2010-04-18 21:20:29 +03:00
Martin Nordholts 39349e0658 app: Remove _for_style in gimp_dockable_new_tab_widget_for_style()
It became reduntant when 'get' was changed to 'new'.
2010-04-18 18:01:14 +02:00
Martin Nordholts d35f4d5db4 app: Clarify GimpDockable tab widget interface
The function gimp_dockable_get_tab_widget() and
gimp_dockable_get_drag_widget are not getters, they create new
widgets. Furthermore, gimp_dockable_get_tab_widget() doesn't use the
instance tab style but takes a tab style paramter. Rename the
functions to gimp_dockable_new_tab_widget_for_style() and
gimp_dockable_new_drag_widget() to reflect this.
2010-04-18 17:42:26 +02:00
Michael Natterer 5c3cf19095 Revert "app: Make drawable updates happen at fixed framerate"
This reverts commit 32aca3c8b6.
Clearly needs more review, thinking and discussion.
2010-04-18 15:03:16 +02:00
Alexia Death 32aca3c8b6 app: Make drawable updates happen at fixed framerate 2010-04-18 15:53:22 +03:00
Michael Natterer 547c92d0f6 Bug 541586 - Tool options not saved/loaded correctly?
Don't overwrite the entire context part of all tool options with
values from contextrc, or we will end up with one tool option set to a
non-default values affecting all other tool options that were at their
default value in the next gimp session.
2010-04-18 12:47:18 +02:00
Michael Natterer aea305be82 app: fix tool preset editor action labels 2010-04-17 14:52:22 +02:00
Nils Philippsen 8885cd3b4f remove obsolete tooltips object creation
amends:
commit a78bffbfb9
Author: Jerry Baker <jbaker@gimpthoughts.com>
Date:   Mon Apr 12 14:40:47 2010 -0400

    Use gtk.Tooltip() instead of gtk.Tooltips()
2010-04-15 16:38:21 +02:00
Marco Ciampa 945330af71 Updated italian translation 2010-04-14 18:39:38 +02:00
Andika Triwidada c014c7fe22 Added Indonesian translation to po-tips and po-python, contributed by Imam Musthaqim
Added id to po-tips/LINGUAS and po-python/LINGUAS
2010-04-14 12:40:36 +03:00
Jerry Baker a78bffbfb9 Use gtk.Tooltip() instead of gtk.Tooltips() 2010-04-13 20:27:29 +02:00
Michael Natterer 4c4c861aa1 app: make sure GimpToolPreset got the "gimp" construct property passed
and pass a Gimp when creating the preset editor's local model.
2010-04-11 16:18:21 +02:00
Michael Natterer 0f47beff78 app: turn "context" into a CONSTRUCT_ONLY property and assert it being set 2010-04-11 16:17:27 +02:00
Michael Natterer 1c786ae5d4 app: don't forget to free the models of the dynamics and preset editors 2010-04-11 15:54:09 +02:00
Michael Natterer b676a1add0 app: make tool preset loading work
- add "Gimp" property to GimpToolPreset
- implement GimpConfigInterface::deserialize_property() and deserialize
  the "tool-options" locally so we can pass the required "gimp" construct
  property.
2010-04-11 15:43:29 +02:00
Michael Natterer ccf8d1930d app: add missing bits so GimpToolPresetEditor doesn't warn and crash 2010-04-11 13:40:28 +02:00
Michael Natterer caad58d203 app: add a GimpContext parameter to GimpDataLoadFunc 2010-04-11 13:12:41 +02:00
Michael Natterer 4fcf34699f app: flip context and name parameters in GimpDataNewFunc 2010-04-10 19:55:42 +02:00
Alexia Death 78a4cae2d5 app: Rewire the the feature formely known as harndess back to gui as force 2010-04-09 00:44:52 +03:00
Alexia Death 9ed712ddc4 app: Fix ceil/floor amplifying errors in transform size calculation 2010-04-08 00:31:40 +03:00
Sven Neumann 9de1d97fb3 Bug 615071 - invalid menu path crashes GIMP
Check that gimp-plugin-menu-register is only used with procedures
that have registered with a label.
2010-04-07 21:27:51 +02:00
Sven Neumann 304db468d2 Bug 615071 - invalid menu path crashes GIMP
Warn and skip the procedure instead of crashing. This is just to fix
the crash, a proper fix is about to follow.
2010-04-07 21:05:38 +02:00