Disable the "Palette Browser" dock dialog since it does nothing and has no code....
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 16 Mar 2007 12:31:41 +0000 (12:31 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 16 Mar 2007 12:31:41 +0000 (12:31 +0000)
git-svn-id: http://svn.voria.com/code@346 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp

index 8114a37..f3b362f 100644 (file)
@@ -59,8 +59,8 @@ studio::ModPalette::start_vfunc()
        dock_pal_edit=new Dock_PalEdit();
        App::get_dock_manager()->register_dockable(*dock_pal_edit);
 
-       dock_pal_browse=new Dock_PalBrowse();
-       App::get_dock_manager()->register_dockable(*dock_pal_browse);
+       //dock_pal_browse=new Dock_PalBrowse();
+       //App::get_dock_manager()->register_dockable(*dock_pal_browse);
 
        return true;
 }
@@ -68,11 +68,11 @@ studio::ModPalette::start_vfunc()
 bool
 studio::ModPalette::stop_vfunc()
 {
-       App::get_dock_manager()->unregister_dockable(*dock_pal_browse);
+       //App::get_dock_manager()->unregister_dockable(*dock_pal_browse);
        App::get_dock_manager()->unregister_dockable(*dock_pal_edit);
 
        delete dock_pal_edit;
-       delete dock_pal_browse;
+       //delete dock_pal_browse;
 
        return true;
 }