From c5158762a7e0270f6ad0e921b8f300553184be5e Mon Sep 17 00:00:00 2001 From: pabs Date: Fri, 16 Mar 2007 12:31:41 +0000 Subject: [PATCH] Disable the "Palette Browser" dock dialog since it does nothing and has no code. Leaving the files there in case darco remembers it's destiny. git-svn-id: http://svn.voria.com/code@346 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp b/synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp index 8114a37..f3b362f 100644 --- a/synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp +++ b/synfig-studio/trunk/src/gtkmm/mod_palette/mod_palette.cpp @@ -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; } -- 2.7.4