Author: Carlos Lopez <[email protected]>
Date: Mon Jan 9 19:46:46 2012 +0100
Set the before and after interpolation options un-active for the first time the
widget is created.
---
.../src/gui/widgets/widget_waypointmodel.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
b/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
index b53ad98..44ea347 100644
--- a/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
+++ b/synfig-studio/src/gui/widgets/widget_waypointmodel.cpp
@@ -85,6 +85,7 @@ Widget_WaypointModel::Widget_WaypointModel():
before_options->set_icon(2,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_ease"),Gtk::ICON_SIZE_MENU));
before_options->set_icon(3,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_linear"),Gtk::ICON_SIZE_MENU));
before_options->set_icon(4,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_clamped"),Gtk::ICON_SIZE_MENU));
+ before_options->unset_active();
after_options=manage(new Widget_Enum());
after_options->show();
@@ -102,6 +103,7 @@ Widget_WaypointModel::Widget_WaypointModel():
after_options->set_icon(2,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_ease"),Gtk::ICON_SIZE_MENU));
after_options->set_icon(3,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_linear"),Gtk::ICON_SIZE_MENU));
after_options->set_icon(4,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_clamped"),Gtk::ICON_SIZE_MENU));
+ after_options->unset_active();
spin_tension=manage(new class Gtk::SpinButton(adj_tension,0.1,3));
spin_tension->show();
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl