Commit Graph

26664 Commits

Author SHA1 Message Date
Michael Natterer fcd346a227 Build with GSEAL_ENABLE with a few exceptions
Use the new accessors in GTK+ 2.18 and #undef GSEAL_ENABLE where
accessors are missing or where I'm not quite sure how to fix the
stuff yet.
2009-10-17 18:51:48 +02:00
Michael Natterer ee48b7b06e Use accessors instead of table->children and adjustment->value 2009-10-17 18:49:12 +02:00
Michael Natterer 45c05f5f5f Require GLib >= 2.22.0 2009-10-17 17:59:53 +02:00
Michael Natterer c58eee0229 gui_sanity_check(): bump GTK+ dependency here too 2009-10-17 17:49:28 +02:00
Martin Nordholts eb6bef33e4 Use gtk_widget_set_visible()
In places where the pattern

  if (show)
    gtk_widget_show (widget);
  else
    gtk_widget_hide (widget);

is used, change to

  gtk_widget_set_visible (widget, show);

Also do some other minor cleanups.
2009-10-17 15:07:34 +02:00
Martin Nordholts 15f86a80ac Bump required GTK+ version to 2.18.1
Bump required GTK+ version to 2.18.1 so we get
e.g. gtk_widget_set_visible() and offscreen widget hierarchies. So far
we don't rely on bug fixes in any later releases.
2009-10-17 15:07:34 +02:00
Michael Schumacher 567cd4371a Remove file gimp.rc
gimp.rc is generated from gimp.rc.in.
2009-10-16 23:46:58 +02:00
Sven Neumann f7ff0903ff Fix a width/height confusion in the healing tool algorithm
As pointed out by Massimo Valentini in bug #519503, the code used
height where width should have been used. Correct.
2009-10-16 22:06:34 +02:00
Sveinn í Felli 18fa57b7f2 Updated Icelandic translation 2009-10-16 01:44:06 +00:00
Sveinn í Felli 99fd09118d Updated Icelandic translation 2009-10-16 01:19:00 +00:00
Anna Jonna Ármannsdóttir 844dd74af2 Updated Icelandic translation 2009-10-16 00:58:07 +00:00
Anna Jonna Ármannsdóttir 51a5b689de Updated Icelandic translation 2009-10-16 00:53:06 +00:00
Sveinn í Felli 9c4b60e560 Updated Icelandic translation 2009-10-16 00:45:35 +00:00
Alexia Death 4e018eaa18 Merge commit 'origin/master' into soc-2009-dynamics 2009-10-15 22:58:25 +03:00
Alexia Death a92943dd87 rm erroneous makefile 2009-10-15 22:57:44 +03:00
Alexia Death 04566959fd Added some more dynamics presets and set the default dynamics value 2009-10-15 22:57:44 +03:00
Michael Natterer 885d4e968a Make sure user-install always creates all needed directories
Always run user_install_create_files(), even if
user_install_migrate_files() was run before, but make sure not to
overwrite stuff that has been copied by user_install_mirgate_files().
2009-10-15 21:23:01 +02:00
Alexia Death be3ec7e5b5 Fixing the dynamics install some more 2009-10-15 21:49:20 +03:00
Alexia Death 211e693e8a Fixing the dynamics install 2009-10-15 21:12:01 +03:00
Alexia Death 2b1debe4a9 Adding a default dynamics object to install 2009-10-15 21:06:42 +03:00
Alexia Death d030939852 Fix airbrush behavior ignoring the buggy hardness for now. 2009-10-15 19:08:34 +03:00
Alexia Death a7234d68ce Revert "Only didive if the number of inputs is > 1 (/ 1 makes little sense)"
This reverts commit 793be22da9.

This commit makes single factor dynamics not work.
The result of a no-factor mixing needs to be 1.0,
result of all other cases needs to be value of total divided by factors.
Adding extra logic for the case whe factors=1 makes less sense than
allowing for occational division by 1 to happen.
2009-10-15 18:39:42 +03:00
Michael Natterer 473b5122ae Move the cursor to the logical end of the selection when cancelling it
gimp_text_tool_move_cursor(): when there is something selected, and
cursor movement does not extend that selection, move the cursor to the
end of the selection that is in moving direction. This it *not*
how GtkTextView behaves, but it should, see bug #50942.
2009-10-15 12:04:09 +02:00
Michael Schumacher e0ab94d8aa Fixed typo "depenendencies" 2009-10-14 21:42:14 +02:00
Michael Schumacher ac7eee3659 Bug 554748 - Version information for gimp.exe
Add a VERSIONINFO resource to gimp.rc.in, use windres to create object files
for gimp and gimp-console with file-specific information.
Finally, add gimp.rc to .gitignore.

This resource file can potentially be used for all other exectuables and
shared objects, but some adjustments can become necessary.
2009-10-14 21:30:59 +02:00
Michael Natterer 793be22da9 Only didive if the number of inputs is > 1 (/ 1 makes little sense) 2009-10-14 18:52:04 +02:00
Michael Natterer 15b912c66d Change "factors" variables to integer because it's a counter; formatting 2009-10-14 10:33:11 +02:00
Michael Natterer b5022d310b Remove overiding GimpPaintOptions of properties that don't exist any longer
The code was commented out already, get rid of it completely.
2009-10-13 23:48:19 +02:00
Michael Natterer bbf3c17601 Use the right stock_id for "dialogs-dynamics" 2009-10-13 23:33:27 +02:00
Michael Natterer 3b1f78d286 Reorder dynamics stuff 2009-10-13 21:19:40 +02:00
Michael Natterer f264cb4908 Remove useless diff to master 2009-10-13 21:17:39 +02:00
Michael Natterer c4fdd7f8b9 Get rid of useless diff to master 2009-10-13 21:15:01 +02:00
Michael Natterer 8394a3db68 Handle dynamic opacity in GimpSourceCore for all its subclasses 2009-10-13 21:02:10 +02:00
Michael Natterer de3bfcd25c Bail out early if dynamic opacity is 0.0 2009-10-13 20:48:44 +02:00
Michael Natterer cdbbd556bb Code formatting 2009-10-13 20:43:56 +02:00
Michael Natterer d0c720b236 Fix formatting; use the dynamics from the brush core, not from the context 2009-10-13 20:40:21 +02:00
Michael Natterer d4313db29b Bail out early if dynamic opacity is 0.0 2009-10-13 20:34:01 +02:00
Michael Natterer 005ddab84e Bail out early if dynamic opacity is 0.0 2009-10-13 20:30:54 +02:00
Michael Natterer ea48a90e5c Bail out early if dynamic opacity is 0.0 2009-10-13 20:27:55 +02:00
Michael Natterer e094dc5627 Whitespace fix 2009-10-13 20:21:58 +02:00
Michael Natterer aae7c2ef38 Bail out early if dynamic opacity results in 0.0
Same change needed anywhere, more to come.
2009-10-13 20:18:55 +02:00
Michael Natterer 135090c57f Actually use the paint option's "use-fade" property again
...and remove gimp_dynamics_input_fade_enabled(). Looks cleaner
now so must be right ;)
2009-10-13 19:33:38 +02:00
Alexandre Prokoudine e284472cbd Updated Russian translation 2009-10-13 21:26:33 +04:00
Alexia Death 7bae9c0827 Merge commit 'origin/master' into soc-2009-dynamics 2009-10-13 20:23:34 +03:00
Michael Natterer 36523134f5 Resurrect the paint option's "use-fade" property and UI
Whether to use fade at all is a user input, so should be controllable
independently from its dynamic mapping. The reborn property is not
used again yet.
2009-10-13 19:19:12 +02:00
Michael Natterer de1db5c0ed More GimpBrushCore dynamics cleanup/fixes
- unref the dynamics in finalize()
- actually use the core's set_dynamics() API
- bail out with an error message in gimp_paint_core_start() if
  there are no dynamics available (just like when there is no brush)
- remove checks for dynamics != NULL all over the place
  (just as we can rely on a brush to exist)
2009-10-13 19:01:14 +02:00
Michael Natterer e12bc4f93a gimp_brush_core_start(): move "fade_point" to local scope 2009-10-13 18:55:16 +02:00
Michael Natterer 8331094b8f gimp_brush_core_real_set_dynamics(): don't forget to ref the dynamics 2009-10-13 18:50:58 +02:00
Michael Schumacher 53984a8486 Bug 554748 - Version information for gimp.exe : generate gimp.rc
In preparation for adding VERSIONINFO resource data to the gimp executable,
the RC file has to be generated from a corresponding gimp.rc.in file.
2009-10-13 00:18:52 +02:00
Kolbjørn Stuestøl 8b657e4b9b Updated Norwegian Nynorsk translation 2009-10-12 21:56:33 +02:00