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
Martin Nordholts
200c002516
app: Add "exported" signal to GimpImage
2009-05-16 13:02:55 +02:00
Martin Nordholts
2fcf33db5d
app: Don't reset save-a-copy URI on URI change
2009-05-16 13:02:55 +02:00
Martin Nordholts
d8f3cd1b26
app: Support default types for save and export
2009-05-16 13:02:54 +02:00
Martin Nordholts
3122eb491f
app: Implement save and export dialog default paths and filenames
2009-05-16 13:02:54 +02:00
Martin Nordholts
11e5ecc5ca
app: Update 'Export to' to the most recent export URI
...
When an image have been successfully exported we shall set the 'Export
to' URI to the target URI.
2009-05-16 13:02:54 +02:00
Martin Nordholts
72bc3aeed3
app: Remember last export URI for each image
2009-05-16 13:02:54 +02:00
Martin Nordholts
9625c4610e
app: Store entire source URI for a duplicated image
2009-05-16 13:02:54 +02:00
Martin Nordholts
d3353f721b
app: Rename 'Save as Template' to 'Create Template'
...
Rename 'Save as Template' to 'Create Template' in the File menu.
2009-05-16 09:48:22 +02:00
Martin Nordholts
46a1afebcd
app: In some cases, fall back to export procs in absence of save proc
...
We want to fall back to export procs in some cases to maintain a level
of backwards compatibility.
2009-05-16 09:48:22 +02:00
Martin Nordholts
7a771a09d3
app: Implement 'File -> Export to'
...
Handle 'Export to' by finding a file proc based on the import URI and
then save back to that location using the proc.
2009-05-16 09:48:22 +02:00
Martin Nordholts
64f7d9b93b
app: Improve save and export error messages
2009-05-16 09:48:13 +02:00
Martin Nordholts
10226ae453
app: Show the Export Image dialog on File -> Export...
...
Create a export dialog constructor in the dialog factory and invoke it
on File -> Export
2009-05-16 09:48:12 +02:00
Martin Nordholts
0971d61fc4
app: Add an 'export' mode to the file save dialog
2009-05-16 09:48:12 +02:00
Martin Nordholts
3025dac653
app: Introduce and use GimpFileChooserAction
...
Introduce and use GimpFileChooserAction in the core so that we can
differentiate Save from Export later.
2009-05-16 09:48:12 +02:00
Martin Nordholts
acef48602c
app: Separate save procs from export procs
...
In gimp_plug_in_manager_register_save_handler(), separate save procs
from export procs.
2009-05-16 09:48:12 +02:00
Martin Nordholts
58eda13548
app: Add GimpPlugInManager::export_procs member
...
Add GimpPlugInManager::export_procs member that will later contain all
the export procedures.
2009-05-16 09:48:11 +02:00
Martin Nordholts
e9ed9ce6cb
app: Add file_procedure_in_group()
...
Add file_procedure_in_group() which is a helper function to determine
if a file procedure is in the Open, Save or Export group.
2009-05-16 09:47:36 +02:00
Martin Nordholts
e3f57fbd38
app: Support File -> Revert of imported images
...
If a file has not been saved yet but was imported from some other
image, revert to that image.
2009-05-16 01:12:40 +02:00
Martin Nordholts
88e1064ed3
app: Show imported image basename in titlebar
...
If an image is imported, make the image window title be
'Untitled (imported from <filename>)' instead of just 'Untitled'.
2009-05-16 01:12:40 +02:00
Martin Nordholts
a452fd9188
app: Update sensitivity and labels for export menu items
2009-05-16 01:12:40 +02:00
Martin Nordholts
e8531ce947
app: When importing a file, setup image state properly
...
When an opened file is not an .xcf file it is considered an imported
file. Adjust the state of the loaded image accordingly to reflect its
imported state. Store the import source and set that as 'Export to'
target.
2009-05-16 01:12:40 +02:00
Martin Nordholts
c1a226bc74
app: Rearrange menu items for Save + export
...
Begin implementing the spec
http://gui.gimp.org/index.php/Save_+_export_specification
by rearranging the menu items according to it and adding necessary
stuff like help ids.
2009-05-16 01:12:40 +02:00
Martin Nordholts
5db0b727d6
app: Don't set NULL URIs through GIMP_FILE_SAVE_LAST_URI_KEY
2009-05-16 00:44:29 +02:00
Michael Natterer
9dd5420d07
Depend on GLib >= 2.20.0 and GTK+ >= 2.16.1.
...
Disable deprecated API for GLib < 2.23.0 and GTK+ < 2.19.0.
2009-05-16 00:37:04 +02:00
Martin Nordholts
f10bf1d7fd
app: Fix save overwrite logic for files with added extensions
...
When the user specifies a filename in the save dialog, make sure the
overwrite confirmation is not shown if the filename will be
altered. It doesn't make sense to ask for permission to overwrite a
file that will never be overwritten.
2009-05-15 19:41:13 +02:00
Martin Nordholts
8033f4c0d5
app: Fix potential memory leak in save dialog code
...
Fix potential memory leak in save dialog code with a new helper function
file_save_dialog_get_uri(). We must free zero-length strings.
2009-05-15 19:41:13 +02:00