From c17ff8c0593a678801a38e3dc400ace6bc57a4bb Mon Sep 17 00:00:00 2001 From: darco Date: Thu, 31 Aug 2006 22:44:52 +0000 Subject: [PATCH] Disabled some tools which are confusing, incomplete, and/or deprecated. * polygon: you should use the bline tool * width: you should just modify the width ducks directly * draw: was never completed, very buggy, and frustrating to use * sketch: if the draw tool is being disabled, then we might as well disable the sketch tool too These tools may be re-enabled later if necessary. git-svn-id: http://svn.voria.com/code@226 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/app.cpp | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index a22bae0..53f3581 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -1211,21 +1211,29 @@ App::App(int *argc, char ***argv): state_manager->add_state(&state_rotate); state_manager->add_state(&state_bline); - state_manager->add_state(&state_polygon); + + state_manager->add_state(&state_circle); state_manager->add_state(&state_rectangle); - state_manager->add_state(&state_draw); - state_manager->add_state(&state_sketch); - + state_manager->add_state(&state_gradient); state_manager->add_state(&state_eyedrop); state_manager->add_state(&state_fill); - state_manager->add_state(&state_width); - state_manager->add_state(&state_gradient); - state_manager->add_state(&state_zoom); + if(false) { + // Disabled this tool because it should be + // considered deprecated. Use the bline tool instead. + state_manager->add_state(&state_polygon); + + // These tools are disabled for now, + // because they tend to confuse users. + state_manager->add_state(&state_draw); + state_manager->add_state(&state_sketch); + state_manager->add_state(&state_width); + } + studio_init_cb.task("Init ModPalette..."); module_list_.push_back(new ModPalette()); module_list_.back()->start(); -- 2.7.4