Disabled some tools which are confusing, incomplete, and/or deprecated.
authordarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Aug 2006 22:44:52 +0000 (22:44 +0000)
committerdarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Aug 2006 22:44:52 +0000 (22:44 +0000)
 * 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

index a22bae0..53f3581 100644 (file)
@@ -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();