gimp r26565 - in trunk: . app/actions app/config



Author: neo
Date: Thu Aug 14 20:12:54 2008
New Revision: 26565
URL: http://svn.gnome.org/viewvc/gimp?rev=26565&view=rev

Log:
2008-08-14  Sven Neumann  <sven gimp org>

	* app/actions/file-commands.c (file_save_cmd_callback): when we
	trust the dirty flag and don't save because there are no 
changes,
	display a message in the status-bar telling the user so.

	* app/config/gimpguiconfig.c: changed the default value for 
	"trust-dirty-flag" to TRUE.



Modified:
   trunk/ChangeLog
   trunk/app/actions/file-commands.c
   trunk/app/config/gimpguiconfig.c

Modified: trunk/app/actions/file-commands.c
==============================================================================
--- trunk/app/actions/file-commands.c	(original)
+++ trunk/app/actions/file-commands.c	Thu Aug 14 20:12:54 2008
@@ -287,6 +287,8 @@
         }
       else
         {
+          gimp_message (image->gimp, G_OBJECT (display),
+                        GIMP_MESSAGE_INFO, _("No changes need to be saved"));
           saved = TRUE;
           break;
         }

Modified: trunk/app/config/gimpguiconfig.c
==============================================================================
--- trunk/app/config/gimpguiconfig.c	(original)
+++ trunk/app/config/gimpguiconfig.c	Thu Aug 14 20:12:54 2008
@@ -124,7 +124,7 @@
   GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_TRUST_DIRTY_FLAG,
                                     "trust-dirty-flag",
                                     TRUST_DIRTY_FLAG_BLURB,
-                                    FALSE,
+                                    TRUE,
                                     GIMP_PARAM_STATIC_STRINGS);
   GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_SAVE_DEVICE_STATUS,
                                     "save-device-status",



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