gimp r25035 - in trunk: . app/actions



Author: neo
Date: Tue Mar  4 21:37:52 2008
New Revision: 25035
URL: http://svn.gnome.org/viewvc/gimp?rev=25035&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/actions/edit-commands.c

Modified: trunk/app/actions/edit-commands.c
==============================================================================
--- trunk/app/actions/edit-commands.c	(original)
+++ trunk/app/actions/edit-commands.c	Tue Mar  4 21:37:52 2008
@@ -193,6 +193,12 @@
 
   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 @@
 
   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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]