Commit Graph

25223 Commits

Author SHA1 Message Date
Manish Singh b64fe8779a Use gtk_orientable_set_orientation() instead of deprecated
gtk_toolbar_set_orientation()
2009-05-24 10:41:18 -07:00
Manish Singh 819281ebc8 gimp_enum_get_value() takes const char *'s 2009-05-24 10:39:57 -07:00
Manish Singh 7d76f25e26 Use gtk_activatable_set_related_action() instead of deprecated
gtk_action_connect_proxy()
2009-05-24 10:38:09 -07:00
Sven Neumann ef8dabcc7f tools: improve status-bar hints for the Curves tool 2009-05-24 18:20:01 +02:00
Michael Natterer 57066577f8 Don't try to set stuff on a NULL image
file_open(): don't set import/export stuff on the image is if
didn't actually got loaded.
2009-05-24 17:54:25 +02:00
Michael Natterer 5fe53062eb Fix typo in the class' stock-id 2009-05-24 17:42:44 +02:00
Sven Neumann 6c02aaa802 libgimpwidgets: set Clear icon sensitivity
Only set the Clear icon in the GimpBrowser Search entry sensitive if
there's text in the entry.
2009-05-24 17:24:28 +02:00
Sven Neumann 149cc5da09 libgimpwidgets: check icon position in the 'icon-press' signal handler 2009-05-24 17:06:17 +02:00
Sven Neumann 1832ba6b37 libgimpwidgets: add a Clear icon to the GimpBrowser's Search entry 2009-05-24 17:02:55 +02:00
Martin Nordholts 2f9e2662c4 app: Don't activate container tree view items while modkey pressed
Only activate container tree view items when no modifier keys are
pressed so that for example the layer properties dialog is not shown
when quickly toggling a layer mask with Ctrl + Click.
2009-05-22 22:49:14 +02:00
Michael Natterer d80549496a Don't define required versions of libraries we don't depend on any longer 2009-05-22 13:07:56 +02:00
Michael Schumacher a1dc35baca [libgimp] Added missing export gimp_image_get_uri 2009-05-22 00:04:14 +02:00
Sven Neumann bd59c03a62 use wildcards so files from master and gimp-2-6 branch are ignored 2009-05-21 19:07:10 +02:00
Sven Neumann 0935bdde12 formatting 2009-05-21 19:06:07 +02:00
Sven Neumann cbfe411ea1 Bug 577301 – Dithering with transparency is broken for "positioned" method
Applied patch from Rob Antonishen fixing the reported transparency
dithering issue.
2009-05-21 19:03:36 +02:00
Sven Neumann 35ac02e66d Bug 557061 – Alpha to Logo
Applied patch from Eric Lamarque fixing an error in the Cool Metal Logo
script.
2009-05-21 18:49:51 +02:00
Sven Neumann ed748fd383 Bug 472644 – Rotate with clipping crops the whole layer
Applied patch from Andreas Neustifter fixing outstanding issues.
2009-05-21 14:42:48 +02:00
Sven Neumann 9afa690a74 app: fixed version checks for babl and GEGL
The version checks for babl and GEGL did not cope correctly with the
minor version upgrade. This change fixes this by introducing a generic
version check.
2009-05-21 13:37:17 +02:00
Michael Natterer e0453b44b1 Make some GimpCoords* params const
Add const to GimpCoords* params in GimpBrush::select_brush() and
want_null_motio().
2009-05-19 21:37:56 +02:00
Sven Neumann 23386d7279 spelling 2009-05-18 19:48:00 +02:00
Martin Nordholts b74bc2c97e app: Swap 'Export' and 'Export to' shortcuts
Make Ctrl+E map to 'Export to' and Ctrl+Shift+E map to 'Export'. This
is more in line with the our cousin applications.
2009-05-18 19:12:58 +02:00
Sven Neumann a6d8c7c5c4 Revert "Make some GimpCoords* params const"
This reverts commit 063a6f03aa.
2009-05-18 00:01:34 +02:00
Michael Natterer 063a6f03aa Make some GimpCoords* params const
Add const to GimpCoords* params in GimpBrush::select_brush() and
want_null_motio().
2009-05-17 23:14:19 +02:00
Michael Natterer cee39b090f Add more GimpCoords* parameters to reduce usage of global paint_core states
Add GimpCoords* to GimpPaintCore::get_paint_area(),
gimp_brush_core_paste_canvas(), gimp_brush_core_replace_canvas(),
gimp_brush_core_get_brush_mask(), gimp_brush_core_color_area_with_pixmap()
and change callers accordingly.
2009-05-17 22:45:06 +02:00
Michael Natterer 4514546471 Use Ctrl+R for "Shrink Wrap" and Ctrl+Shift+R for "Fit in Window".
Also use 2-5 for the zoom-in actions and Shift+2-5 for the zoom-out
ones (the latter don't work, which is probably a regression in
GtkAccelMap, will investigate this...)
2009-05-17 19:15:17 +02:00
Martin Nordholts 34b5e99905 Rename configure.in to configure.ac
Rename configure.in to configure.ac and update references to the
file. Configure.ac is the recomended and promoted name in the autoconf
manual.
2009-05-17 14:49:04 +02:00
Martin Nordholts b4654d5c8d Update .gitignore 2009-05-17 14:11:35 +02:00
Martin Nordholts 2253ae52e9 Revert "plug-ins: Change 'Screenshot' menu label to 'From Screenshot'"
This reverts commit 34dbc7b228. The
label change was not properly discussed yet.
2009-05-17 14:01:36 +02:00
Martin Nordholts 34dbc7b228 plug-ins: Change 'Screenshot' menu label to 'From Screenshot'
Change 'Screenshot' menu label to 'From Screenshot' in the File ->
Create menu.
2009-05-17 13:47:43 +02:00
Fredrik Alströmer bcee243fa3 Bug 76616 – Size entry widgets could use some simple math
Add a simple parser to the GimpSizeEntry widget so that one can write
things such as "40in" and "50%" in a size entry widget and get that
converted to the current unit.

The parser also handles basic expresions such as "20cm + 20px" and
"2 * 3.14in".
2009-05-17 13:47:37 +02:00
Sven Neumann 6742ebc949 app: don't call gimp_ui_manager_update() directly
gimp_ui_manager_update() should not be called directly. Instead call
gimp_image_flush() after doing changes that need to be reflected in
the menus.
2009-05-17 11:02:31 +02:00
Sven Neumann f24ff4aca2 formatting 2009-05-17 11:01:28 +02:00
Sven Neumann 9738db7ca8 minor change to improve readability, formatting 2009-05-17 11:00:46 +02:00
Sven Neumann 02551507dc minor change to improve readability 2009-05-17 10:39:56 +02:00
Martin Nordholts c82f1e5ed9 pdb: Update fileops.pdb
Update fileops.pdb to reflect the commited fileops-cmds.c
2009-05-17 08:35:00 +02:00
Martin Nordholts 08beda17a2 app: Update out-of-date comment on default export type 2009-05-17 08:30:13 +02:00
Martin Nordholts d62a057e16 app: Update 'Export to' after doing an export
Make sure 'File -> Export to' is updated after doing an export.
2009-05-17 08:25:11 +02:00
Sven Neumann e392af5cb6 app: improved a translatable string, formatting 2009-05-16 17:32:57 +02:00
Sven Neumann 131a42c574 added missing file with translatable messages 2009-05-16 17:28:43 +02:00
Sven Neumann 80428dccf5 update run-time version checks for glib and gtk+ 2009-05-16 16:14:58 +02:00
Sven Neumann 86f1618261 update the glib and gtk+ requirements
we require a recent git checkout from GEGL, so check for 0.0.23
2009-05-16 16:10:05 +02:00
Stephen Griffiths 2ff4bbd111 make action_message() visible externally and use it.
* app/actions/actions.h: added prototype for action_message()
* app/actions/actions.c: removed static keyword from action_message()
removed private prototype for action_message()
made action_message() use icons for objects derived from GimpViewable

* app/actions/context-commands.c:
context_brush_radius_cmd_callback()
context_brush_angle_cmd_callback()
context_paint_mode_cmd_callback()
context_brush_shape_cmd_callback()
call acton_message(), these callbacks had use cases where they could not
use generic code

* app/tools/gimpcoloroptions.c: added "average-radius" blurb
and mark for translarion
2009-05-16 15:34:41 +02:00
Stephen Griffiths 40fde28a62 Add status bar feedback for keyboard changes to brush paramaters.
* app/actions/context-commands.c:
include core/gimptoolinfo.h
include pain/gimppaintoptions.h

context_opacity_cmd_callback()
context_brush_spacing_cmd_callback()
context_brush_spikes_cmd_callback()
context_brush_hardness_cmd_callback()
context_brush_aspect_cmd_callback()
use 'action_select_property()' for statusbar feedback

* app/core/gimpbrush.c: added translable string for brush spacing
* app/paint/gimppaintoptions.c: add blurb to prop double brush-aspect-ratio
2009-05-16 15:34:41 +02:00
Sven Neumann d603b391c8 app: improved internationalisation, added translator comment 2009-05-16 14:58:02 +02:00
Martin Nordholts 9cf6214c74 app: Sort 'Dump Keyboard Shortcuts' output 2009-05-16 14:42:17 +02:00
Martin Nordholts a3a756091d app: Use Ctrl+E and Ctrl+Shift+E for export
Use Ctrl+E and Ctrl+Shift+E for File->Export and File->Export to
instead of View->Shrink Wrap an View->Fit Image in Window.
2009-05-16 13:15:39 +02:00
Martin Nordholts cd8829b91b Merge branch 'save-plus-export-base'
Merge the base work for the Save + export spec implementation:
http://gui.gimp.org/index.php/Save_%2B_export_specification

Things still do do:

 * Handle .gz and .bz2 properly
 * Save last save and last export URIs accross sessions
 * Fix drag-and-drop-to-save/export file name
 * Imported images should have their name in the layer name
 * Implement the 'export options' part of the spec, at least for the
   most common formats such as JPEG and PNG.
2009-05-16 13:13:54 +02:00
Martin Nordholts c03c93ba44 app: Don't bother asking for overwrite if the extension is invalid 2009-05-16 13:02:55 +02:00
Martin Nordholts 3ce09f9684 app: Show message about exported image in the statusrow 2009-05-16 13:02:55 +02:00
Martin Nordholts c23370c3af app: Emit the GimpImage::exported signal when image is exported 2009-05-16 13:02:55 +02:00