Author: Carlos Lopez <genet...@gmail.com>
Date:   Sun Jan 22 20:07:18 2012 +0100

Don't make unset the interpolation for the waypoint model the at construction 
time. Make it the first option by default.

---

 .../src/gui/widgets/widget_waypointmodel.cpp       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp 
b/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
index a2bf704..3f75f02 100644
--- a/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
+++ b/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
@@ -85,7 +85,7 @@ Widget_WaypointModel::Widget_WaypointModel():
        before_options->set_icon(2, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_const"),Gtk::ICON_SIZE_MENU));
        before_options->set_icon(3, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_ease"),Gtk::ICON_SIZE_MENU));
        before_options->set_icon(4, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_linear"),Gtk::ICON_SIZE_MENU));
-       before_options->unset_active();
+       before_options->set_active(0);
 
        after_options=manage(new Widget_Enum());
        after_options->show();
@@ -103,7 +103,7 @@ Widget_WaypointModel::Widget_WaypointModel():
        after_options->set_icon(2, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_const"),Gtk::ICON_SIZE_MENU));
        after_options->set_icon(3, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_ease"),Gtk::ICON_SIZE_MENU));
        after_options->set_icon(4, 
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_linear"),Gtk::ICON_SIZE_MENU));
-       after_options->unset_active();
+       after_options->set_active(0);
 
        spin_tension=manage(new class Gtk::SpinButton(adj_tension,0.1,3));
        spin_tension->show();


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to