[gimp/gimp-2-10] app: make "show canvas boundary" insensitive when "show all" is disabled



commit a9ed7767cf84130ab96a3edd6cf226203cc80d75
Author: Ell <ell_se yahoo com>
Date:   Thu Sep 5 13:18:20 2019 +0300

    app: make "show canvas boundary" insensitive when "show all" is disabled
    
    ... since the canvas boundary is only shown in "show all" mode.
    
    (cherry picked from commit 43e91d632ef32e6679c324043f591d95a978c250)

 app/actions/view-actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/actions/view-actions.c b/app/actions/view-actions.c
index 6e86605f8a..786a0e423c 100644
--- a/app/actions/view-actions.c
+++ b/app/actions/view-actions.c
@@ -1016,7 +1016,7 @@ view_actions_update (GimpActionGroup *group,
   SET_ACTIVE    ("view-show-selection",       display && options->show_selection);
   SET_SENSITIVE ("view-show-layer-boundary",  image);
   SET_ACTIVE    ("view-show-layer-boundary",  display && options->show_layer_boundary);
-  SET_SENSITIVE ("view-show-canvas-boundary", image);
+  SET_SENSITIVE ("view-show-canvas-boundary", image && shell->show_all);
   SET_ACTIVE    ("view-show-canvas-boundary", display && options->show_canvas_boundary);
   SET_SENSITIVE ("view-show-guides",          image);
   SET_ACTIVE    ("view-show-guides",          display && options->show_guides);


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