Commit Graph

26234 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
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
Alexandre Prokoudine e284472cbd Updated Russian translation 2009-10-13 21:26:33 +04: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
Massimo Valentini 05304f6d83 Bug 470698 - MapObject cannot modify highlight 2009-10-12 20:26:42 +02:00
Martin Nordholts 21c037fdd6 app: Generalize gimp_dock_add/remove_book()
Move the GtkPaned management code into gimp_widgets_add_paned_widget()
and gimp_widgets_remove_paned_widget() in gimpwidgets-utils.[ch] so we
can share this code for GimpDockColumns later.
2009-10-11 16:58:59 +02:00
Martin Nordholts 423c9d8212 app: Always keep dock separators alive
Always keep dock separators alive and show/hide them instead. This is
to avoid having to constantly create new separators.
2009-10-11 15:20:55 +02:00
Martin Nordholts 3236b57a47 app: Generalize GimpDockSeparator
Add a callback to GimpDockSeparator to get rid of the GimpDock
dependency so that we can reuse it also for GimpDockColumns later.
2009-10-11 13:59:27 +02:00
Sven Neumann 4e124c983b Only call gimp_channel_combine_span() if the value actually changed 2009-10-11 13:49:14 +02:00
Martin Nordholts bdfb87ad19 app: Add GimpDockSeparatorPrivate 2009-10-11 11:31:18 +02:00
Sven Neumann 0012c86cf1 update documentation 2009-10-10 23:17:17 +02:00
Sven Neumann aa9538a81a Optimize gimp_channel_combine_ellipse_rect()
The actual algorithm is still the same sick algorithm that was used
before. But instead of iterating the mask row-by-row and filling
it in small spans, we now use one pixel_regions_process() loop to
process the whole mask. Makes a significant difference for large
elliptical selections.

Remove gimp_channel_add_segment() and gimp_channel_sub_segment()
as they are not needed any longer and were responsible for the
bad performance.
2009-10-10 23:09:54 +02:00
Sven Neumann bcfce95a5e minor cleanups 2009-10-10 23:09:46 +02:00
Sven Neumann 4c0f1a2d54 app: minor optimization and cleanups
gimp_channel_add_segment() and gimp_channel_sub_segment() can just
write directly if the value is 255, which it is quite commonly.
2009-10-10 23:09:46 +02:00
Martin Nordholts 90abaf1a73 app: Document GimpContext 2009-10-10 22:06:55 +02:00
Martin Nordholts 677b977776 app: Make class documentation be picked up by gtk-doc 2009-10-10 22:01:06 +02:00
Khaled Hosny da6134ece4 Updated Arabic translation 2009-10-10 16:54:39 +02:00
Khaled Hosny 3666648c52 gimpimagedock.c has been killed 2009-10-10 15:59:58 +02:00
Michael Natterer 06673f27e2 Use various GTK+ accessors instead of object->member 2009-10-10 15:10:57 +02:00
Michael Natterer 85274ea1f3 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer e267783c22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer 641c2f4e22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer 02b1566249 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer b41bca97fb Use gtk_container_child_get() instead of table->children 2009-10-10 15:10:56 +02:00
Michael Natterer 055d10f366 Use gtk_adjustment_get_value() instead of adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer 0458da1832 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer 9f77899bf1 Use gtk_adjustmenr_get_value() instead of adjustment->value 2009-10-10 15:10:55 +02:00
Michael Natterer 1e47f5c67c Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:55 +02:00
Martin Nordholts 2914af893b app: Allow 1-tool wide toolbox in single-window mode 2009-10-09 23:22:51 +02:00
Michael Natterer 04836301aa Use accessors instead of widget->window and container->border_width 2009-10-09 23:02:25 +02:00
Michael Natterer a52a4a0fa3 Use GtkAdjustment's accessors 2009-10-09 23:02:24 +02:00
Michael Natterer 9186909ed3 Use gtk_adjustment_get_value() instead of adjustment->value 2009-10-09 23:02:24 +02:00
Michael Natterer 53ceee88cd Use GtkAdjustment's accessors 2009-10-09 23:02:24 +02:00
Michael Natterer e610e5420b Use various GTK+ accessors 2009-10-09 23:02:24 +02:00
Michael Natterer e27f1929d7 Use gtk_widget_get_window() instead of widget->window 2009-10-09 23:02:23 +02:00