Fix 1677632: newly drawn lines are joined on to existing lines and ducks wherever...
[synfig.git] / synfig-studio / trunk / src / gtkmm / widget_defaults.cpp
index f735732..b0d5310 100644 (file)
@@ -5,16 +5,17 @@
 **     $Id: widget_defaults.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
 **
 **     \legal
-**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 **
-**     This software and associated documentation
-**     are CONFIDENTIAL and PROPRIETARY property of
-**     the above-mentioned copyright holder.
+**     This package is free software; you can redistribute it and/or
+**     modify it under the terms of the GNU General Public License as
+**     published by the Free Software Foundation; either version 2 of
+**     the License, or (at your option) any later version.
 **
-**     You may not copy, print, publish, or in any
-**     other way distribute this software without
-**     a prior written agreement with
-**     the copyright holder.
+**     This package is distributed in the hope that it will be useful,
+**     but WITHOUT ANY WARRANTY; without even the implied warranty of
+**     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+**     General Public License for more details.
 **     \endlegal
 */
 /* ========================================================================= */
@@ -257,7 +258,9 @@ Widget_Defaults::Widget_Defaults()
 
        widget_bline_width=manage(new Widget_Distance());
        widget_bline_width->show();
+       bline_width_refresh();
        widget_bline_width->set_digits(2);
+       widget_bline_width->set_range(0,10000000);
        widget_bline_width->set_size_request(24,-1);
        widget_bline_width->signal_value_changed().connect(sigc::mem_fun(*this,&studio::Widget_Defaults::on_bline_width_changed));
        attach(*widget_bline_width,1, 2, 1, 2, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0);
@@ -277,7 +280,7 @@ Widget_Defaults::Widget_Defaults()
        widget_interpolation->set_param_desc(
                ParamDesc("interpolation")
                        .set_hint("enum")
-                       .add_enum_value(INTERPOLATION_TCB,"auto",_("TBC"))
+                       .add_enum_value(INTERPOLATION_TCB,"auto",_("TCB"))
                        .add_enum_value(INTERPOLATION_CONSTANT,"constant",_("Constant"))
                        .add_enum_value(INTERPOLATION_HALT,"ease",_("Ease in/out"))
                        .add_enum_value(INTERPOLATION_LINEAR,"linear",_("Linear"))
@@ -313,7 +316,6 @@ Widget_Defaults::Widget_Defaults()
        fg_color_refresh();
        bg_color_refresh();
        gradient_refresh();
-       bline_width_refresh();
        blend_method_refresh();
        opacity_refresh();
        interpolation_refresh();