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:

committed by
Sven Neumann

parent
5c29425ad6
commit
d6f7184655
@ -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):
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user