2007-10-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (create_image): check that the
window shape is non-empty before applying it to the alpha
channel.
svn path=/trunk/; revision=23741
2007-04-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: unset 'show-border' on the
GtkNotebook that holds the hints.
svn path=/trunk/; revision=22305
2007-02-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reworked shape support. Instead of
fiddling with pixbuf pixels, do most of the work in the core.
svn path=/trunk/; revision=21960
2007-02-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: for shaped windows, add an alpha
channel and erase pixels outside the shape.
svn path=/trunk/; revision=21922
2007-01-31 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): if we can't
grab the pointer, use the window under the pointer instead of
bailing out with an error message.
svn path=/trunk/; revision=21821
2006-09-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reverted Bill's change. Applying
the delay before the selection makes as much sense as doing it
afterwards. Do it consistently at least.
2006-08-17 Sven Neumann <sven@gimp.org>
* libgimp/gimppixbuf.[ch]: added a convenience function to create
a layer from a GdkPixbuf.
* plug-ins/common/poppler.c
* plug-ins/common/screenshot.c
* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().
* libgimp/gimpui.def: updated.
2006-06-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): allow the
usage of Escape together with CapsLock, NumLock and ScrollLock.
2006-06-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): use 0 instead
of AnyModifer in the call to XGrabKey. This prevented the
cancellation of the screenshot with Escape in some environments.
2006-06-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/screenshot.c: apply the delay before selecting,
not before grabbing, so the user has time to rearrange things.
Fixes bug #345214.
2005-11-30 Manish Singh <yosh@gimp.org>
* plug-ins/common/screenshot.c: can't use gtk_main_quit as a
timeout function, since it doesn't return a value. Wrap it in a
function that returns FALSE instead. Fixes bug #322343.
2005-09-30 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: removed '...' from progress messages. They are
redundant because we are already in a progress. Ported some more
g_strdup_printf()/gimp_progress_init() to
gimp_progress_init_printf(). Core will follow...
2005-09-26 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
restriction that plug-ins registered in <Image> must have
RUN-MODE, IMAGE, DRAWABLE parameters because everything but
RUN-MODE is actually treated as optional be the rest of the code.
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
and DRAWABLE parameters.
* plug-ins/common/screenshot.c
* plug-ins/twain/twain.c
* plug-ins/winsnap/winsnap.c: register menu entries in
<Image>/File/Acquire
2005-07-10 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated
* app/widgets/gimpcontrollerlist.c : dont include
"gimpmessagedialog.c" to avoid redefinitions.
Instead include gimpmessagebox.h and gimpmessagedialog.h
* plug-ins/common/raw.c : include <io.h>
* plug-ins/common/screenshot.c : make it compile. It
still has no code to actually work on win32.
* plug-ins/common/screenshot.c: trap errors when running
XGrabKey, to prevent bail-out on BadAccess error as
reported by Jean-Luc Coulon on developers list; solution
suggested by Simon Budig.
2005-05-31 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
to grab the Escape key instead of doing a full keyboard grab.
2005-05-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): also grab the
keyboard and allow to cancel the operation using the Escape key.
2005-04-17 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
#300935.
* libgimpwidgets/gimpwidgets.c: improved the API docs for
gimp_spin_button_new().
* app/tools/gimpcolorbalancetool.c
* app/tools/gimplevelstool.c
* plug-ins/common/screenshot.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/rcm/rcm_dialog.c
* plug-ins/script-fu/script-fu-interface.c
* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
* plug-ins/common/screenshot.c: Change default back to Window
rather than Root. When shooting window, delay after instead
of before selecting, so shooting menus etc becomes possible.