[gimp] app: Rename save-a-copy key



commit a51521fe1d0fb33ae0c181d0822637208ca2c3c8
Author: Martin Nordholts <martinn src gnome org>
Date:   Thu Apr 30 19:32:14 2009 +0200

    app: Rename save-a-copy key
    
    Rename "gimp-image-save-a-copy" key to "gimp-file-save-a-copy-uri"
    since the key is more logical to have in the gimp file namespace and
    the "-ur"i suffix is more consistent with other similar keys.
---
 app/file/file-save.c         |    4 ++--
 app/widgets/gimpfiledialog.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/file/file-save.c b/app/file/file-save.c
index 788d9d8..d99ae2b 100644
--- a/app/file/file-save.c
+++ b/app/file/file-save.c
@@ -155,7 +155,7 @@ file_save (GimpImage           *image,
       if (save_a_copy)
         {
           /*  remember the "save-a-copy" filename for the next invocation  */
-          g_object_set_data_full (G_OBJECT (image), "gimp-image-save-a-copy",
+          g_object_set_data_full (G_OBJECT (image), "gimp-file-save-a-copy-uri",
                                   g_strdup (uri),
                                   (GDestroyNotify) g_free);
         }
@@ -164,7 +164,7 @@ file_save (GimpImage           *image,
           /*  reset the "save-a-copy" filename when the image URI changes  */
           if (strcmp (uri, gimp_image_get_uri (image)))
             g_object_set_data (G_OBJECT (image),
-                               "gimp-image-save-a-copy", NULL);
+                               "gimp-file-save-a-copy-uri", NULL);
 
           gimp_image_set_uri (image, uri);
           gimp_image_set_save_proc (image, file_proc);
diff --git a/app/widgets/gimpfiledialog.c b/app/widgets/gimpfiledialog.c
index ec4ce66..7939bb9 100644
--- a/app/widgets/gimpfiledialog.c
+++ b/app/widgets/gimpfiledialog.c
@@ -469,7 +469,7 @@ gimp_file_dialog_set_save_image (GimpFileDialog *dialog,
   dialog->close_after_saving = close_after_saving;
 
   if (save_a_copy)
-    uri = g_object_get_data (G_OBJECT (image), "gimp-image-save-a-copy");
+    uri = g_object_get_data (G_OBJECT (image), "gimp-file-save-a-copy-uri");
 
   if (! uri)
     uri = gimp_image_get_uri (image);



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