Code

move rounding spinbutton
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 6 Sep 2006 03:05:24 +0000 (03:05 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 6 Sep 2006 03:05:24 +0000 (03:05 +0000)
src/widgets/toolbox.cpp

index ec393c9fe668b40fec58a70c6844113c16b46f81..d4282bd663ac3afb529f79e09374938b9b348f13 100644 (file)
@@ -2087,6 +2087,17 @@ sp_calligraphy_toolbox_new(SPDesktop *desktop)
         gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_SPACING);
     }
 
+    /* Cap Rounding */
+    {
+        // TRANSLATORS: "cap" means "end" (both start and finish) here
+        GtkWidget *hb = sp_tb_spinbutton(_("Round:"), _("How much the ends of a stroke are rounded"),
+                                         "tools.calligraphic", "cap_rounding", 0.0,
+                                         NULL, tbl, FALSE, NULL,
+                                         0.0, 1.0, 0.01, 0.1,
+                                         sp_ddc_cap_rounding_value_changed, 0.01, 2);
+        gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_SPACING);
+    }
+
     //  interval
     gtk_box_pack_start(GTK_BOX(tbl), gtk_hbox_new(FALSE, 0), FALSE, FALSE, AUX_BETWEEN_BUTTON_GROUPS);
 
@@ -2121,17 +2132,6 @@ sp_calligraphy_toolbox_new(SPDesktop *desktop)
         gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_SPACING);
     }
 
-    /* Cap Rounding */
-    {
-        // TRANSLATORS: "cap" means "end" (both start and finish) here
-        GtkWidget *hb = sp_tb_spinbutton(_("Round:"), _("How much the ends of a stroke are rounded"),
-                                         "tools.calligraphic", "cap_rounding", 0.0,
-                                         NULL, tbl, FALSE, NULL,
-                                         0.0, 1.0, 0.01, 0.1,
-                                         sp_ddc_cap_rounding_value_changed, 0.01, 2);
-        gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_SPACING);
-    }
-
     //  interval
     gtk_box_pack_start(GTK_BOX(tbl), gtk_hbox_new(FALSE, 0), FALSE, FALSE, AUX_BETWEEN_BUTTON_GROUPS);