added statusbar messages informing the user that pixels have been

2008-03-04  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-commands.c (edit_copy_visible_cmd_callback)
	(edit_cut_cmd_callback): added statusbar messages informing the
	user that pixels have been transferred to the clipboard.


svn path=/trunk/; revision=25035
This commit is contained in:
Sven Neumann
2008-03-04 21:37:52 +00:00
committed by Sven Neumann
parent 5c29425ad6
commit d6f7184655
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-03-04 Sven Neumann <sven@gimp.org>
* app/actions/edit-commands.c (edit_copy_visible_cmd_callback)
(edit_cut_cmd_callback): added statusbar messages informing the
user that pixels have been transferred to the clipboard.
2008-03-04 Sven Neumann <sven@gimp.org>
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_cut):

View File

@ -193,6 +193,12 @@ edit_cut_cmd_callback (GtkAction *action,
if (gimp_edit_cut (image, drawable, action_data_get_context (data), &error))
{
GimpDisplay *display = action_data_get_display (data);
if (display)
gimp_message (image->gimp, G_OBJECT (display), GIMP_MESSAGE_INFO,
_("Cut pixels to the clipboard"));
gimp_image_flush (image);
}
else
@ -240,6 +246,12 @@ edit_copy_visible_cmd_callback (GtkAction *action,
if (gimp_edit_copy_visible (image, action_data_get_context (data), &error))
{
GimpDisplay *display = action_data_get_display (data);
if (display)
gimp_message (image->gimp, G_OBJECT (display), GIMP_MESSAGE_INFO,
_("Copied pixels to the clipboard"));
gimp_image_flush (image);
}
else