[gimp] app, libgimpconfig: "printer-profile" becomes "simulation-profile".



commit 025309b0d7277a394f52aa80b65446b45d72f7e8
Author: Jehan <jehan girinstud io>
Date:   Fri Oct 16 19:50:19 2020 +0200

    app, libgimpconfig: "printer-profile" becomes "simulation-profile".
    
    As per a FIXME for 3.0 where various mention to "print" got replaced by
    a more generic notion of "simulation".

 app/actions/view-commands.c             | 2 +-
 app/dialogs/preferences-dialog.c        | 2 +-
 app/display/gimpdisplayshell-handlers.c | 2 +-
 libgimpconfig/gimpcolorconfig.c         | 3 +--
 4 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/app/actions/view-commands.c b/app/actions/view-commands.c
index e1f05b3195..7b606048dc 100644
--- a/app/actions/view-commands.c
+++ b/app/actions/view-commands.c
@@ -1240,7 +1240,7 @@ view_softproof_profile_callback (GtkWidget                *dialog,
     path = g_file_get_path (new_file);
 
   g_object_set (color_config,
-                "printer-profile", path,
+                "simulation-profile", path,
                 NULL);
   shell->color_config_set = TRUE;
 
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index 4e8f5d13d7..fc2c811b5b 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1380,7 +1380,7 @@ prefs_dialog_new (Gimp       *gimp,
     row = 0;
 
     prefs_profile_combo_box_add (color_config,
-                                 "printer-profile",
+                                 "simulation-profile",
                                  store,
                                  _("Select Soft-Proofing Color Profile"),
                                  _("_Soft-proofing profile:"),
diff --git a/app/display/gimpdisplayshell-handlers.c b/app/display/gimpdisplayshell-handlers.c
index e02b17c4bd..ddd196799d 100644
--- a/app/display/gimpdisplayshell-handlers.c
+++ b/app/display/gimpdisplayshell-handlers.c
@@ -1200,7 +1200,7 @@ gimp_display_shell_color_config_notify_handler (GObject          *config,
       if (! strcmp (param_spec->name, "mode")                                 ||
           ! strcmp (param_spec->name, "display-rendering-intent")             ||
           ! strcmp (param_spec->name, "display-use-black-point-compensation") ||
-          ! strcmp (param_spec->name, "printer-profile")                      ||
+          ! strcmp (param_spec->name, "simulation-profile")                   ||
           ! strcmp (param_spec->name, "simulation-rendering-intent")          ||
           ! strcmp (param_spec->name, "simulation-use-black-point-compensation") ||
           ! strcmp (param_spec->name, "simulation-gamut-check"))
diff --git a/libgimpconfig/gimpcolorconfig.c b/libgimpconfig/gimpcolorconfig.c
index 36d4dec991..7a7a8f4fad 100644
--- a/libgimpconfig/gimpcolorconfig.c
+++ b/libgimpconfig/gimpcolorconfig.c
@@ -249,8 +249,7 @@ gimp_color_config_class_init (GimpColorConfigClass *klass)
                             GIMP_PARAM_STATIC_STRINGS);
 
   GIMP_CONFIG_PROP_PATH (object_class, PROP_SIMULATION_PROFILE,
-                         /* FIXME: 3.0: change to simulation-profile */
-                         "printer-profile",
+                         "simulation-profile",
                          _("Simulation profile for soft-proofing"),
                          SIMULATION_PROFILE_BLURB,
                          GIMP_CONFIG_PATH_FILE, NULL,


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