[gimp] Give a hint what pressing shift over a vector handle does.



commit 7bfa3272abaa2316c3567859f3f6e299c7e153e3
Author: Simon Budig <simon gimp org>
Date:   Tue Feb 9 23:21:42 2010 +0100

    Give a hint what pressing shift over a vector handle does.

 app/tools/gimpvectortool.c |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpvectortool.c b/app/tools/gimpvectortool.c
index 228b17b..8a47074 100644
--- a/app/tools/gimpvectortool.c
+++ b/app/tools/gimpvectortool.c
@@ -1233,10 +1233,20 @@ gimp_vector_tool_status_update (GimpTool        *tool,
           break;
 
         case VECTORS_MOVE_HANDLE:
-          status = gimp_suggest_modifiers (_("Click-Drag to move the handle "
-                                             "around"),
-                                           GDK_SHIFT_MASK & ~state,
-                                           NULL, NULL, NULL);
+          if (vector_tool->restriction != GIMP_ANCHOR_FEATURE_SYMMETRIC)
+            {
+              status = gimp_suggest_modifiers (_("Click-Drag to move the "
+                                                 "handle around"),
+                                               GDK_SHIFT_MASK & ~state,
+                                               NULL, NULL, NULL);
+            }
+          else
+            {
+              status = gimp_suggest_modifiers (_("Click-Drag to move the "
+                                                 "handles around symmetrically"),
+                                               GDK_SHIFT_MASK & ~state,
+                                               NULL, NULL, NULL);
+            }
           free_status = TRUE;
           break;
 



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