[gimp] app: Rectangle tool: Allow 'size' separators in 'aspect' and vice versa



commit 876e99fdd097ab50d3744cb7f85956ac57928322
Author: Martin Nordholts <martinn src gnome org>
Date:   Mon Aug 16 22:00:06 2010 +0200

    app: Rectangle tool: Allow 'size' separators in 'aspect' and vice versa
    
    In the Rectangle tool options, allow 'Fixed: Size' separators in
    'Fixed: Aspect ratio' and vice versa, no point in being strict.

 app/tools/gimprectangleoptions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimprectangleoptions.c b/app/tools/gimprectangleoptions.c
index 3e4d733..3fc14ad 100644
--- a/app/tools/gimprectangleoptions.c
+++ b/app/tools/gimprectangleoptions.c
@@ -865,7 +865,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
                                              "default-aspect-denominator",
                                              "overridden-fixed-aspect",
                                              FALSE, TRUE,
-                                             ":/",
+                                             ":/" "xX*",
                                              TRUE,
                                              0.001, GIMP_MAX_IMAGE_SIZE);
     gtk_box_pack_start (GTK_BOX (private->fixed_aspect_hbox), entry,
@@ -930,7 +930,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
                                              "default-fixed-size-height",
                                              "overridden-fixed-size",
                                              TRUE, FALSE,
-                                             "xX/*",
+                                             "xX*" ":/",
                                              FALSE,
                                              1, GIMP_MAX_IMAGE_SIZE);
     gtk_box_pack_start (GTK_BOX (private->fixed_size_hbox), entry,



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