2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (end_print): added a timeout as a
workaround for bug #466928.
svn path=/trunk/; revision=23277
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c
* plug-ins/print/print.c: tweaked layout and changed labels to
the
terms used in the EOG print dialog.
svn path=/trunk/; revision=23160
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: replaced the two Center
buttons
with a combo-box.
svn path=/trunk/; revision=23159
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: only show an error dialog if being
called interactively.
svn path=/trunk/; revision=23007
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (run): always call gimp_ui_init(), we need
funtionality from GTK+, even if called non-interactively.
svn path=/trunk/; revision=22996
2007-07-25 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
* app/pdb/progress_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* plug-ins/print/print.[ch]
* plug-ins/print/print-settings.[ch]: end the progress and save
the settings from the "end-print" handler. The plug-in then
appears finished but keeps running in the background until it has
finished the print operation.
svn path=/trunk/; revision=22994
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: delete the export image from the
"end-print" handler.
svn path=/trunk/; revision=22993
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: if we created an export image, delete
it as soon as possible so it isn't left behind if the user kills
the plug-in later because of printer problems.
svn path=/trunk/; revision=22980
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.[ch]: removed image_ID from the
PrintData struct and made sure that the parasites are read from
and attached to the original image, not the export image.
svn path=/trunk/; revision=22978
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (print_image): only delete the image if
gimp_export_image() actually created a new one.
svn path=/trunk/; revision=22975
2007-07-19 Sven Neumann <sven@gimp.org>
Applied patch from Stefan attached to bug #387604:
* plug-ins/print/Makefile.am
* plug-ins/print/print-preview.[ch]: new files implementing a
print preview similar to GimpOffsetArea.
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: adds GUI to adjust the
offsets.
svn path=/trunk/; revision=22959
2006-12-30 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: use a GtkMessageDialog to display
errors.
* plug-ins/print/print-settings.c: use g_warning() for problems
that shouldn't ever happen.
svn path=/trunk/; revision=21608
2006-12-29 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/gimprc.pdb: export gimp_get_default_unit() to
the PDB.
* app/pdb/gimprc_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpgimprc_pdb.[ch]: regenerated.
* libgimp/gimp.def: updated.
* plug-ins/print/print-page-layout.c
* plug-ins/print/print.c: initialize units the same way the core
Print Size dialog does it.
2006-12-27 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c: paint the background in
white.
Show progress, use a tile cache.
* plug-ins/print/print.c: removed broken custom preview
implementation.
2006-12-27 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c
* plug-ins/print/print-page-layout.c
* plug-ins/print/print.[ch]: don't set the resolution and unit
on
the image, only initialize the dialog with these values.
* libgimp/gimpexport.c: if format arg is "silent", export
without popping a dialog -- saves duplicating code.
* plug-ins/print/print-draw-page.c
* plug-ins/print/print-draw-page.h
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-page-layout.h
* plug-ins/print/print-settings.c
* plug-ins/print/print-settings.h
* plug-ins/print/print.h: new files
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: modified
Progress toward GtkPrintOperation plug-in. Should already
be usable, but very ugly.
* configure.in: adjust requirements for building gtk-print
plug-in -- requires gtk+ 2.9.3 and --enable-print.
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: new plug-in using GtkPrintOperation.
Mainly infrastructure at this point -- output is wildly
incorrect.
2006-06-20 Sven Neumann <sven@gimp.org>
* INSTALL
* configure.in
* plug-ins/Makefile.am
* plug-ins/print: removed the gimp-print plug-in. gutenprint
comes
with a GIMP plug-in, so there is no point in supporting this any
longer.
2005-04-10 Sven Neumann <sven@gimp.org>
Merged from gimp-2-2 branch:
* plug-ins/print/print.c: reverted the previous change, it was wrong
(see bug #169909).
2004-10-12 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: all plug-ins except script-fu: removed the
translation marks from the menu paths passed to
gimp_plugin_menu_register(). All default menu branches used by
included plug-ins are created and translated by the core now.
2004-05-19 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an
underscore-prefixed function which needs to be wrapped.
* libgimp/gimpplugin_pdb.[ch]: regenerated.
* libgimp/Makefile.am
* libgimp/gimp.h
* libgimp/gimpplugin.[ch]: new files containing
gimp_plugin_icon_register() which has no "icon_data_length"
parameter and determines it from the passed icon data.
* libgimp/gimp.def: added gimp_plugin_icon_register.
* plug-ins/common/plugindetails.c
* plug-ins/common/screenshot.c
* plug-ins/common/uniteditor.c
* plug-ins/print/print.c: don't pass the icon_data_length.
2004-05-18 Michael Natterer <mitch@gimp.org>
Allow plug-ins to register menu icons. Fixes bug #120500.
* app/core/core-enums.[ch]: added enum GimpIconType which can
be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
functions which write/parse raw binary data. Needed for storing
inline pixbufs in pluginrc.
* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
new function which writes out an unquoted and unescaped string.
* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
new members "icon_type", "icon_data_length" and "icon_data".
Reordered members so file_proc specific stuff is at the end.
(plug_in_proc_def_get_stock_id)
(plug_in_proc_def_get_pixbuf): new functions to access the
procedure's icon.
* app/plug-in/plug-in-rc.c: save/restore the registered icons.
* app/actions/file-dialog-actions.c
* app/actions/plug-in-actions.c: set the action's stock ID from
the procedure's stock ID.
* app/widgets/gimppluginaction.c
(gimp_plug_in_action_connect_proxy): if the procedure provides a
pixbuf, set it as icon for the menu item.
* app/menus/file-dialog-menu.[ch]
* app/menus/file-open-menu.c
* app/menus/file-save-menu.c
* app/xcf/xcf.c: changed accordingly.
* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
function which can be called during query().
* tools/pdbgen/enums.pl
* app/pdb/internal_procs.c
* app/pdb/plug_in_cmds.c
* libgimp/gimpenums.h
* libgimp/gimpplugin_pdb.c
* libgimp/gimpplugin_pdb.h
* plug-ins/pygimp/gimpenums.py
* plug-ins/script-fu/script-fu-constants.c: regenerated.
* plug-ins/common/plugindetails.c
* plug-ins/common/uniteditor.c
* plug-ins/print/print.c: register stock_id icons.
* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
testing purposes (used emblem-camera.png from gnome-icon-theme).
* app/actions/dialogs-actions.c
* app/actions/file-actions.c: unrelated: added some more icons
to menu items.