Commit d6f71846 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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
parent 5c29425a
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):
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment